I am trying to configure my UPS to work with HA.
First of all i downloaded and installed the nut addon, configured it and then started it. All was going properly. Then i tried to install the NUT integration, put inside it the username and the password i chosed into the addon, put the IP address of my raspberry pi4, but i always get this error:
OK I use a different method mine is âclientâ but I do not use the add-on just the integration. I have never found success in running both. Stick with the integration!
It depends on your ups which model is it?
Which homeassistant are you running?
So many variables we need to get specifics! Generally a locally connected device shouldnât need credentials. Unless you are running full blown Linux.
In my experience using APC thge only time credentials are needed is when using NUT accross a network. i.e client-netserver.
In my case I have a server that has the UPS directly connected which runs NUT in netserver mode. Which needs no credentials then my PI connects as a client over the network and needs credentials.
As a shot in the dark perhaps using the IP rather than âlocalhostâ and removing the credentials may bear fruit?
My UPS is an APC Back-upUPS650 and i am running latest release (2025.4.3) of HASSOS on a raspberry pi4b.
Reading the docs of the addon i am forced to use the addon as netserver and with credentials. After installing and starting the addon i must add the Network UPS Tool integration which ask me the IP address of the NUT server (in my case i think is the same IP address of the HA instance) and then my credentials. I leave the default port.
OK I have dug a little deeper. Based on what I have read so far. Understand I am trying to help! Your default username:password based on your model is apc:apc if you have changed it then enter those.
In the add-on set the driver to usbhid-ups and the port to auto
In the NUT integration specify the host as a0d7b954-nut (the hostname of the NUT add-on whatever it may be!)
Use the port as 3493 , and the username and password you configured in the NUT add-on.
You were not specific about your configuration so I have had to assume a great deal! I hope that it helps?