2x APC UPS Energy Monitoring, Only 1 SNMP Sensor Shows, and nothing to add in the dashboard

Evening all

Trying to get the Wh from my 2x APC SmartUPS with NMC2 into my Energy Dashboard. So far I can connect to either via SNMP, but not both together. Is there another field I need to add as the details are identical aside from the IP?

  • platform: snmp
    name: APC UPS 1 Energy
    host: 192.168.xx.xx
    community: xxxxxx
    unit_of_measurement: Wh
    baseoid: .1.3.6.1.4.1.318.1.1.1.4.3.6.0
    value_template: “{{((value | float) / 100) | round (3) }}”
  • platform: snmp
    name: APC UPS 2 Energy
    host: 192.168.xx.xy
    community: xxxxxx
    unit_of_measurement: Wh
    baseoid: .1.3.6.1.4.1.318.1.1.1.4.3.6.0
    value_template: “{{((value | float) / 100) | round (3 }}”

Even when I get 1 of the entities to work however, they don’t show as devices I can add to my Energy dashboard. So I’ve probably missed something big…

Thanks very much, hope you all have a great week ahead!

Hi,
why dont you use the APC integration?

You can also configure power sensors alongside energy sensors in the Energy dashboard. Power inputs accept sensors with state_class: measurement and appropriate units (for example W or kW ).

This includes how to add the state_class

The integration requires additional software running on a server, while SNMP can go direct between HA and the NMC card.

As far as adding this to an energy dashboard, maybe use a template?

This is the post that helped me figure out adding an APC NMC via SNMP.

1 Like

Seems to have everything but the Wh that I’m trying to read from mine. I’d already got both into HA using the NUT method, but that doesnt give me my energy consumption either unfortunately.