addon-nut
addon-nut copied to clipboard
No matching HID UPS found despite showing in device list
When loading NUT server it lists the devices, but then failed to find those same devices.
Config:
- name: nexusups
driver: usbhid-ups
port: auto
config:
- vendorid = 0764
- name: gnsups
driver: usbhid-ups
port: auto
config:
- vendorid = 06da
LOG: s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: Network UPS Tools Manage battery backup (UPS) devices
Add-on version: 0.11.0 You are running the latest version of this add-on. System: Home Assistant OS 8.1 (aarch64 / raspberrypi4-64) Home Assistant Core: 2022.6.7 Home Assistant Supervisor: 2022.05.3
Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 cont-init: info: running /etc/cont-init.d/02-set-timezone.sh [10:35:41] INFO: Configuring timezone cont-init: info: /etc/cont-init.d/02-set-timezone.sh exited 0 cont-init: info: running /etc/cont-init.d/nut.sh [10:35:41] INFO: Setting mode to netserver... [10:35:42] INFO: Connected USB devices: Bus 002 Device 002: ID 1058:2655 Western Digital Technologies, Inc. Elements SE SSD Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 057: ID 06da:ffff Phoenixtec Power Co., Ltd Offline UPS Bus 001 Device 011: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [10:35:42] INFO: Generating /etc/nut/upsd.users... [10:35:42] INFO: Configuring user: admin [10:35:43] INFO: Password is NOT in the Have I Been Pwned database! Nice! [10:35:45] INFO: Configuring Device named nexusups... [10:35:45] INFO: Configuring Device named gnsups... [10:35:45] INFO: Starting the UPS drivers... No matching HID UPS found Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 No matching HID UPS found Network UPS Tools - UPS driver controller 2.7.4 Driver failed to start (exit status=1) cont-init: info: /etc/cont-init.d/nut.sh exited 1 cont-init: info: running /etc/cont-init.d/nutclient.sh cont-init: info: /etc/cont-init.d/nutclient.sh exited 0 cont-init: warning: some scripts exited nonzero s6-rc: warning: unable to start service legacy-cont-init: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped
I have the same problem. In my case I only have one device (different vendor id), but the log is the same:
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller 2.7.4
cont-init: info: /etc/cont-init.d/nut.sh exited 1
cont-init: info: running /etc/cont-init.d/nutclient.sh
cont-init: info: /etc/cont-init.d/nutclient.sh exited 0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
As a result, the nut container is continuously restarting.
This issue has appeared recently, because in the past, I already had this plugin working with the same hardware. I do not know if this problem is due to a home assistant upgrade or due to an addon upgrade.
Any workaround or solution?
As additional info, I have already checked the list of compatible devices. My UPS is the Eaton Ellipse ECO 650, which works with driver usbhid-ups
.
I have the same problem with s6
I have also problem with BlueWalker PW UPS VI 850 SHL. I have connected UPS to NUC with USB cable. Home Assistant 2022.8.4 Supervisor 2022.08.3 Operating System 8.4 Frontend 20220802.0 - latest
Network UPS Tools Current version: 0.11.0
`s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: Network UPS Tools Manage battery backup (UPS) devices
Add-on version: 0.11.0 You are running the latest version of this add-on. System: Home Assistant OS 8.4 (amd64 / qemux86-64) Home Assistant Core: 2022.8.4 Home Assistant Supervisor: 2022.08.3
Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh Log level is set to DEBUG cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 cont-init: info: running /etc/cont-init.d/02-set-timezone.sh [16:58:40] INFO: Configuring timezone cont-init: info: /etc/cont-init.d/02-set-timezone.sh exited 0 cont-init: info: running /etc/cont-init.d/nut.sh [16:58:40] INFO: Setting mode to netserver... [16:58:40] INFO: Connected USB devices: Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 028: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP) Bus 002 Device 027: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB Bus 002 Device 007: ID 0451:16a8 Texas Instruments, Inc. CC2531 ZigBee Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [16:58:41] INFO: Generating /etc/nut/upsd.users... [16:58:42] INFO: Configuring user: sonybansi [16:58:43] DEBUG: Password SHA1: 4C14AA1F924140551D38B2C1367DF6725E368388 [16:58:43] DEBUG: Requested API resource: https://api.pwnedpasswords.com/range/4C14A [16:58:43] DEBUG: API HTTP Response code: 200 [16:58:43] INFO: Password is NOT in the Have I Been Pwned database! Nice! [16:58:47] INFO: Configuring Device named myups... [16:58:47] INFO: Starting the UPS drivers... 0.000000 Starting UPS: myups Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 No matching HID UPS found 0.151569 Driver failed to start (exit status=1) Network UPS Tools - UPS driver controller 2.7.4 cont-init: info: /etc/cont-init.d/nut.sh exited 1 cont-init: info: running /etc/cont-init.d/nutclient.sh cont-init: info: /etc/cont-init.d/nutclient.sh exited 0 cont-init: warning: some scripts exited nonzero s6-rc: warning: unable to start service legacy-cont-init: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped`
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!
I've just updated home assistant to 2022.9.4 (also the OS to the last version), then the Nut addon has started correctly and the integration has connected successfully.
The only issue is that the entity 'eaton ellipse battery runtime' returns Unavailable
value. Before this issue arrived, I could see the time estimation of battery duration
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!