I cannot shutdown my UPS (directly connected via USB to my PI4 with HassOS):
I have setup “Network UPS Tools” add-on with the option “shutdown_host: true” (see below) but when the UPS changes its state to [LB OB], my RPI4 will nicely shutdown but the UPS itself is not shutdown (after the offdelay seconds, the parameter of the UPS): this means that if main power is recovered before UPS battery is completely exhausted, no power cycle will be applied to the RPI4 and it will never reboot…
Any ideas ?
YAML add-on conf:
devices:
- config: []
driver: usbhid-ups
name: myups
port: auto
mode: netserver
shutdown_host: true
users:
- actions:
- set
instcmds:
- all
password: *****
username: *****
log_level: info
list_usb_devices: true