Hi Friends.
I’m trying to interface a relay board from Denkovi via snmpget/snmpset
I can do the job running shell commands like following but I’ve found no exemples about how to do the same in openHAB.
Here are one snmpget and one snmp set exemples.
As you can see there is a ‘-c 000000000000’ in the snmp get and a ’ i 1’ ant the end of the snmpset.
I don’t know how to represent this in a openHAB item.
thanks for your help.
Ciao.
Marco
Get P5.8 - This will read digital output P5.8 level
snmpget -v1 -c 000000000000 172.16.100.2 .1.3.6.1.4.1.19865.1.2.2.8.0
Set P5.8 - This will set pin 1 from digital output port P5 in ‘1’ (High level)
snmpset -v1 -c private 172.16.100.2 .1.3.6.1.4.1.19865.1.2.2.8.0 i 1
Vegard,
currenlty I’m not using the Denkovi board with OpenHab.
But I can say I’m using 4 Denkovi boards with a java application that
drives them the same way and I had no problems in 3 years working.