The hard part is actually finding the OIDs and that you have done already.
There are just two things to check in your findings.
OIDs consist only of numbers separated by dots. If yours have text then you have a MIB file loaded. The pure IODs should still be visible somewhere in the MIB browser.
The MIB browsers can often figure out to take the first leaf below a branch OID and show that. That means you might have stored a branch OID and not the leaf OID just below. HA only accept th leaf OID, so either check it before hand or later if no value is shown then.
Ok thank you for the info. I have an MIB browser and exported and imported the MIB file as you suggested I might have so I will check this , good pointer.
After reading the snmp guide and using a MIB browser I added this to my configuration yaml, but I cannot find the sensor value anywhere. What am I doing wrong?
Don’t know if this will help, but taking my config and modifying it for your situation…
Assuming your SNMP device supports v2c, and that your SNMP device has been configured to use the community string “public”, then see if the following works for you:
I’m curious, if sensor.wd_ex2 is not in the developers tools under state, then what is the name of the entity that the SNMP Integration says it has?
Regarding the question of OID, the device is using an enterprise MIB, and the OID starts at the beginning of the OID tree as 1.3.6.1.4.1.x.x.x.x which corresponds to iso(1).org(3).dod(6).internet(1).private(4).enterprises(1). Syntactically, I don’t see a reason for it to begin with a dot. There is not anything in the docs to indicate it should or could begin with a dot.
Maybe a good idea re the logger , but I have no idea how to do that . Will look to see if I can work it out though.
Re the entity, maybe I am confusing everyone with my description. What I am referring to is when I go into setting / integrations snmp it says 1 Entity.
But when I click on it to display it ( as happens on other integrations) the is nothing there , just a black page with the headers and a note in the middle saying no data.
Unfortunately the error doesn’t tell you much. The SNMP Integration is trying to create a sensor by “inheriting” from the sensor integration and thus the SNMP integration is telling the sensor integration to create an SNMP sensor, but the sensor integration is not happy about something.
I suggest you post your configuration.yaml for your sensor: (which will include your SNMP config).