I run a Cacti server at home. Among other things I measure a networked thermometer with two sensors attached. I want to decommission the Cacti server, but can only do this once I have the equivalent running in HomeAssistant.
Here’s my Yaml config entries:
# Configuration HWG-STE Ethernet Thermometer yaml entry
sensor:
- platform: snmp
name: "Inbound Temp"
host: 192.168.1.124
version: "2c"
community: <the snmp password that is configured on teh element>
baseoid: 1.3.6.1.4.1.21796.4.1.3.1.4.2
accept_errors: true
unit_of_measurement: "Degrees Celsius"
# Configuration HWG-STE Ethernet Thermometer yaml entry
sensor:
- platform: snmp
name: "Return Temp"
host: 192.168.1.124
version: "2c"
community: <the snmp password that is configured on teh element>
baseoid: 1.3.6.1.4.1.21796.4.1.3.1.4.1
accept_errors: true
unit_of_measurement: "Degrees Celsius"
Once I added these I did get a log entry on the version parameter, I had “2” instead of “2c”. So it seems both entries are acceptable.
But then, what comes next? How do I add it to the devices/integrations/entities?
And also if I may:
- when should I use quoted strings, and when are quotes not required?
- Unit of measurement, I couldn’t find what is legal there, so I came up with what I think is relevant. What should it be?
Thanks,
Hoot