Hi,
I want to use the snmpd binding to read data from a snmp-enabled device.
When I do from the OH box (latest Raspbian) a snmpwalk it is just fine:
root@openhab:/etc/openhab2# snmpwalk -v2c -c 1234 -On zentrale.example.de ```
.1.3.6.1.4.1.8072.1.3.2.3.1.1.6.104.122.103.95.114.52
.1.3.6.1.4.1.8072.1.3.2.3.1.1.6.104.122.103.95.114.52 = STRING: "0"
I have enabled the snmp binding and configured an item according to this:
String Status_UG_Heizraum_Luftheizregister "Luftfheizregister der Heizungsanlage %" <light> {channel="snmp:target:7ad7428a:r4"}
But I do not get any values into this item. In openhab2.log I see:
2020-05-08 17:52:05.209 [WARN ] [inding.snmp.internal.SnmpServiceImpl] - SNMP service not initialized, can't send GET[requestID=0, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.4.1.8072.1.3.2.3.1.1.6.104.122.103.95.114.52 = Null]] \
to CommunityTarget[address=192.168.90.12/161,version=1,timeout=1500,retries=2,securityLevel=1,securityModel=1,securityName=1234,preferredTransports=null]
So anyone having a clue why this is not working?
(I found some references to the same issue but they all focused on incoming portâŠ)
THANKS
Please Note: This is not due to my local port as I do not want to get snmp traps. I am just thinking of sending an snmp request to my targetâs port 161 out. And this is working with snmpwalk.
/KNEBB