I had my UPS working great on HA with NUT but it stoped working and dont know which update broke it.
when i try to start it I get this:
[23:43:49] INFO: Starting the UPS drivers...
Network UPS Tools - Megatec/Q1 protocol USB driver 0.14 (2.8.0)
libusb1: Could not open any HID devices: insufficient permissions on everything
No supported devices found. Please check your device availability with 'lsusb'
and make sure you have an up-to-date version of NUT. If this does not help,
try running the driver with at least 'subdriver', 'vendorid' and 'productid'
options specified. Please refer to the man page for details about these options
(man 8 blazer_usb).
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
@Tamsy thanks for tips however I got that I don’t have a nut user on the system.
So I did some extra reasearch on the web and I found someone with the same problem in github.
And here’s the solution… be ready guys: You only have to complety shutdown the host. I mean turn off the computor that’s running HA. Turn it on again and it’s working.
Go to settings, system, power button on the top right, advance option, shutdown server.
I finally managed to get it to work, but not on the home assistant OS, I followed the steps in the video below and installed the supervised home assistant inside the Raspberry OS. https://www.youtube.com/watch?v=GfYmrrGgzEM
“libusb1: Could not open any HID devices: insufficient permissions on everything”.
This happened right after migrating my setup so I assume it must have something to do with the new platform.
Previously, I had HA OS running as a VM on an x86 laptop. NUT had been working perfectly for the past year or so since I installed it.
I recently bought a “HOME ASSISTANT GREEN” and migrated my setup to this new platform. At that point NUT stopped working. I tried connecting the UPS to APC’s utility on my windows laptop and all seems to be working fine (so I can confirm it’s not a UPS/cable related issue).
I switched to the other USB port and did a power cycle of the GREEN. Once I rebooted, that allowed the driver to succeed in accessing the UPS as a USB device. My issue is solved for now. It apparently had nothing to do with permissions.
That being said, I suspect there may be some issue with the hot pluggability of the USB interface on the GREEN platform. On my previous setup (a windows laptop using a HASSIO vm) I had no issue plugging and unplugging the UPS to the USB port and having NUT recognize it (as expected from a USB device).
I faced exactly the same issue: an APC UPS plugged into a Home Assistant Green USB port throwing “libusb1: Could not open any HID devices: insufficient permissions on everything”. A hard reboot fixed it.
Same problem here: libusb1: Could not open any HID devices: insufficient permissions on everything No matching HID UPS found Network UPS Tools - UPS driver controller 2.8.0 Driver failed to start (exit status=1)
Home Assistant OS 13.1
Supervisor 2024.09.1
I use the following configuration for APC smart UPS 1500i usb connected:
name: apcsmart
driver: usbhid-ups
port: auto
config:
vendorid = 051d*
productid = 0002*
serial = AS0614322014
Last year this configuration was working. I don’t know exactly when it stopped to work