after a weekend of figuring out the topology of my new APC UPS and HA install, I had that working finally.
resulting in a HA add-on server for the NUT to be connected to by other clients. My 2 clients now are the Synology DSM, and the integration in HA itself.
given the fact the documentation mentions various sensors the integrations doesnt provide (eg dedicated entities for the 4 outlets my APC UPS has) and the availability of device commands (none of which are registered in my configuration) I wonder if there should be additional settings enabled.
I already added the āsetā command to the add-on config actions, which was empty by default:
users:
- username: <my username>
password: <my_pw>
instcmds:
- all
actions:
- set
devices:
- name: ups
driver: usbhid-ups
port: auto
config: []
mode: netserver
shutdown_host: true
i_like_to_be_pwned: false
Iāve also tried them as docker -exec commands after sshāing in at -22222, but even if that would be the proper way to enter the commands, I didnt succeed, so maybe more details need to be added in that string?
no actions appear in the device actions list either:
I have the exact same issue with my APC UPS, running Home Assistant 2025.5.3 and NUT server on a separate host.
I only get sensors but not commands, the user configured has full power on the NUT server.
Am I doing something wrong?
Iām not sure about the buttons/switches (mine do not have these either), but I think they are only there if certain commands or certain function are supported by the UPS itselfā¦
But anyway the general way to launch what NUT calls a āinstantā command from the NUT Integration is to use a āDevice Actionā, and the only way I know to do it is through an automation. Just to see how this might work, using the Automation Editor (in Visual Editor mode), set up an automation with a action set to Device, then pick a device that is a NUT UPS device, and then you will get a list of actions to choose from. Pick an action, and then in the editor click on the 3-dots for the action and choose āRun actionā.