addon-nut
addon-nut copied to clipboard
Error fetching UPS state
The add on typically runs fine for several weeks, and then gets stuck with this error in HA:
Logger: homeassistant.components.nut
Source: helpers/update_coordinator.py:412
integration: Network UPS Tools (NUT) (documentation, issues)
First occurred: 00:05:21 (1 occurrences)
Last logged: 00:05:21
Error fetching NUT resource status data: Error fetching UPS state: Error running: LIST VAR mge: ERR DATA-STALE
In the add-on I see this in the log:
880344.260050 Poll UPS [mge@localhost] failed - Data stale
880349.260288 Poll UPS [mge@localhost] failed - Data stale
....
Just restarting the add-on resolves the issue. So the issue reported here is that the add-on doesn't recover (the incidental stale errors themselves are ok)
I increased the settings a little, but that only reduces the incident rate, but doesn't solve it:
upsd_maxage: 60
upsmon_deadtime: 40