This would probably be best as a component but for the time being I am using the nut-client to pull the status from my UPS connected to a Synology disk station.
I am now setting up an automation to alert me when the power goes out.
For me I have a few lights and switches that default to āonā after a power outage.
So I am creating an automation that way after a power outage I can turn those devices off.
So is there a way using the NUT sensor to calculate the current wattage used based on the max wattage of the apc unit and the load percentage. I can manually do the math but just wondering if there is a way to create a sensor that shows this info and tracks the history.
This matches the display on the front of my UPS for wattage and I think the actual UPS uses similar math. It seems to only report values that fit within this math.
One issue with this it adds a ton of extra decimal places to certain load values. Havenāt taken the time yet to figure out how to limit it.
Awesome! That worked thanks!.. Only thing now is it would be cool to have it show in homeassistant as a dial instead of just a numberā¦ something kind of like thisā¦
I did have R Pi 3B, and changed to R Pi 3B+. Everything was working fine before. After restore from backup to the new Pi 3B+ NUT sensor stopped working, before on old Pi 3B was working fineā¦
So, do anybody has any clue what Iām doing wrong? Is there any change in 0.86.4 so that NUT sensor would not work?
Configuration:
QNAP NAS settings, before when was working was the same:
For me the nut sensor is running fine in 0.86.4. No changes there. I compared your config with mine. I donāt use the host parameter since my nut server is running as an add-on in HA (so itās the default (=localhost) for me).
My 2 cents for you:
Is the IP address of your nut server still 192.168.3.71? Maybe it has changed because of your hardware change?
Is your nut server running fine? If you also use the āNetwork UPS Toolsā add-on for the nut server, it should be installed and running.
So that I allowed my client_1 (IP of my HA) that can not only read but also manage and send data to NAS, but this is just future work - in case as client mode this is not necessaryā¦
I have the UPS - Nut working on a couple of PCās on the network with the UPS on my QNAP and would like to monitor it from HA.
On the QNAP side, is the upsd.users file the only one you made changes in?
[admin]
password = 123456
allowfrom = 10.0.0.59 (Hass box IP)
actions = SET
instcmds = ALL
upsmon slave (slave or master??)
I have tried several settings, and run into the same errors that you where reporting earlier.
Any help would be appreciatedā¦ Thanks
Anything else you changed? I followed your Config.yaml settings as well.