Closed Onizyka closed 8 months ago
There is nothing in your log that shows that the addon rebooted the host, perhaps you could check your HA logs?
no logs... disconnecting is like turning off the power.
Then it's likely a hardware issue, possibly with your UPS, I would suggest troubleshooting it outside of Home Assistant, there is nothing that can be done from the Addon.
The UPS is not connected.
The problem is with the connected UPS, which is not connected.
There are no problems running this add-on on another server. Can be used with Intel NUC processor: Intel(R) Atom(TM) CPU E3815 @ 1.46GHz ?
By specifying the port as auto, NUT will scan to try and find a UPS, in doing so it looks like it is causing you a hardware issue. I would suggest finding out what that hardware is (i.e. disconnect all USB devices)., or specify the port to use or vendor id etc.
I tried it like this
shutdown_host: true, shutdown_host: false, shutdown_host: 'false', shutdown_host: "false"
shutdown_host: true, shutdown_host: false, shutdown_host: 'false', shutdown_host: "false"
It isn't this causing your problem, as the addon would start successfully and then issue a message, it should be left at the default which is shutdown_host: false
Again something is causing a hardware issue when the port is at auto, which unfortunately I cannot help with troubleshooting.
@Onizyka if you're able to connect this UPS to another system (Linux) I'd be interested in seeing the results of the driver run in dump mode. for example: /path/to/usbhid-ups -d2 -s test that will produce an upsc output, publishing all the data available. it may be that your battery level is too low, or your settings triggering a shutdown, if NUT is guilty. But I'm under doubt, as @sinclairpaul
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Problem/Motivation
The HOST is rebooted after the add-on is launched
Actual behavior
Reboots the host completely.
Steps to reproduce
Core 2023.11.1 Supervisor 2023.11.0 Operating System 11.1 UPS: APC-UPS Back CS 600 config: users:
After that, reboot the host.
Host is Intel NUC.