Useful Tech Tips, Tutorials and guides

How to configure APC UPS to connect with NUT and Home Assistant

Home Assistant Network UPS tools (NUT) provide a very easy way to configure the UPS via SNMP

Install the Hassio NUT add-in via the Supervisor: https://github.com/hassio-addons/addon-nut 15

here is my config. Just set the port to the IP address of your UPS network address and set your own username and password for the HA integration. username and password can be anything and has no bearing on how it connects to your UPS’s

nut config
users:
  - username: UPSUser
    password: UPSPass!
    instcmds:
      - all
    actions: []
devices:
  - name: ups1
    driver: snmp-ups
    port: 192.168.1.x
    config: []
  - name: ups2
    driver: snmp-ups
    port: 192.168.1.x
    config: []
mode: netserver
shutdown_host: 'true'

Then install the NUT integration as per the instructions: https://www.home-assistant.io/integrations/nut/

APC UPS SNMP V1 Config for NUT (Network UPS Tools)

Enable SNMP v1

Configuration > Network > SNMPv1 > Access

Tick enable and click apply.

Set the first profile UPS access control for SNMP v1 is in a profile to Public and NMS IP to 0.0.0.0, set Access type to Read

apc SNMPV1 Settings
Click Apply

You simply need to log off to reboot the NMC, a reboot is required after enabling SNMP.