-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Problem/Motivation
I'm having and USB Powercom BNT-xxxAP (product id: 0004) fully supported by usbhid-ups driver
i have tried everything to get it started. Find some answers that everything should work after shutdown, but no luck
UPS is detected by HAOS, but not able to be connected by plugin or driver due to permissions

my yml config:
users:
- username: upsmon
password: mysuperstrongpass
instcmds:
- all
actions: []
devices:
- name: myups
driver: usbhid-ups
port: auto
config: []
mode: netserver
shutdown_host: true
## Expected behavior
libusb1 should be able connect to my USB connected UPS
Actual behavior
Logs from addon:
Add-on: Network UPS Tools
Manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: 0.14.0
You are running the latest version of this add-on.
System: Home Assistant OS 14.0 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.12.2
Home Assistant Supervisor: 2024.11.4
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[16:17:47] INFO: Configuring timezone (Europe/Kiev)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/nut.sh
[16:17:48] INFO: Setting mode to netserver...
[16:17:49] INFO: Generating /etc/nut/upsd.users...
[16:17:49] INFO: Configuring user: upsmon
[16:17:50] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[16:17:51] INFO: Configuring Device named myups...
[16:17:51] INFO: Starting the UPS drivers...
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller 2.8.0
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.
Steps to reproduce
- Connect powercom ups
- Use recommended driver usbhid-ups
Proposed changes
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
ssbarnea, malkie-hass, 0ln, du-costa, mwolter805 and 1 more
Metadata
Metadata
Assignees
Labels
No labels