Problem/Motivation
Hello,
thanks for your work!
I'm trying to setup my EATON UPS connected to my ESXi which is linked to my HAOS VM.
Systems does recognised but something wrong append with libusb1
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Driver failed to start (exit status=1)
Expected behavior
UPS should be recognised
Actual behavior
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: SmartNUT
Smartly manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: dev
You are running the latest version of this add-on.
System: Home Assistant OS 11.2 (amd64 / qemux86-64)
Home Assistant Core: 2024.1.0
Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
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
[12:21:38] INFO: Configuring timezone (Europe/Paris)...
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/smartnut.sh
[12:21:38] INFO: Autodetecting and configuring USB devices
Scanning USB bus.
[12:21:42] INFO: => OK
[12:21:42] INFO: Configuring MQTT...
[12:21:43] INFO: From Home Assistant service
[12:21:43] INFO: => OK
[12:21:43] INFO: ---------------------
[12:21:43] INFO: Checking configuration:
[12:21:43] INFO: /etc/nut/ups.conf
[nutdev1]
driver = "usbhid-ups"
port = "auto"
vendorid = "0463"
productid = "FFFF"
bus = "002"
[12:21:43] INFO: /etc/nut/libnutdrv_mqtt.conf
MQTT_HOST=core-mosquitto
MQTT_USER=addons
MQTT_PASSWORD=xe5ohshu4theeg7deiluw0weweshait9theishae5Ohmil9mei3AiYe3baitee9w
[12:21:43] INFO: => OK
[12:21:43] INFO: ---------------------
[12:21:43] INFO: Starting the SmartNUT Driver(s)...
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)
cont-init: info: /etc/cont-init.d/smartnut.sh exited 1
Network UPS Tools - UPS driver controller 2.8.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 base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
Steps to reproduce
- Deploy HAOS on VMWare ESXi.
- Map USB to the VM

3. Install SMARTUPS and MQTT
4. Run
Problem/Motivation
Hello,
thanks for your work!
I'm trying to setup my EATON UPS connected to my ESXi which is linked to my HAOS VM.
Systems does recognised but something wrong append with libusb1
Expected behavior
UPS should be recognised
Actual behavior
Steps to reproduce