Comments (10)
I will assume this is your forum post?
By Host log do you mean on the hypervisor itself (i.e. Proxmox), as it looks like there is an issue passing the device through, have you tried with both the port and device bindings?
Not sure what we could do about this from an addon perspective.
from addon-nut.
Nope.
I've changed the UPS, from Eaton to APC hoping/thinking something was going to change.
By Host Log, I mean the one in the Supervisor->System page
Strange thing is that when I switched from Eaton to APC, it worked a couple of times, I was able to let it run, I added the NUT Integration and all the sensors where ok.
Then, restarting the VM I started seeing those two errors.
In the second error I've got, I don't get any error in the Host Log, but I still don't see the USB in the Hardware panel
This is what I see if I SSH in the VM (HassOS)
[ 3435.724142] usb 3-2: USB disconnect, device number 3
[ 3446.645735] usb 3-2: new low-speed USB device number 4 using uhci_hcd
[ 3446.836670] usb 3-2: New USB device found, idVendor=051d, idProduct=0002, bcdDevice= 1.06
[ 3446.837945] usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 3446.839085] usb 3-2: Product: Back-UPS XS 700U FW:924.Z5 .I USB FW:Z5
[ 3446.840250] usb 3-2: Manufacturer: American Power Conversion
[ 3446.841254] usb 3-2: SerialNumber: 3B2025X61060
[ 3447.025476] hid-generic 0003:051D:0002.0002: hiddev96,hidraw1: USB HID v1.10 Device [American Power Conversion Back-UPS XS 700U FW:924.Z5 .I USB FW:Z5 ] on usb-0000:00:1d.0-2/input0
So it seems, in this case, there is no issue and the USB seems to be correctly "loaded".
from addon-nut.
Then unfortunately it could be HassOS itself, you mention in your post you switched from Ubuntu, was this also running the addon under a Supervised install?
from addon-nut.
I've tried also a VM with a Supervised install on Ubuntu, but ? get the same.
Strange thing is that it was working with my Eaton UPS until some time ago, but I was not able to get when it happened, so until which Supervisor and HA version.
My doubt about an issue with NUT addon, was that in the HassOS OS the USB is correctly seen, but not within HA.
Thanks
from addon-nut.
But the OS is throwing errors?
I don't understand the reference to HA, the OS passes the USB device via Docker to the container, the configuration is set by the Supervisor.
From those particular errors logged from what I can see possibly could be a USB3.0/2.0 issue.
I really doubt we can do anything from the addon itself, it appears to be a hardware/driver issue.
from addon-nut.
Reading your answers, I agree with you, the issue seems to be from the OS to HA,
Don't know if it can be something related to Proxmox, since the other USB stick, Conbee for Zigbee, works perfectly
So, I will close this issue and I will try to understand where to look for...
Thanks
from addon-nut.
Is there any possibilities to have a more deep debug with an option or parameter?
I have done some search related to the error No matching HID UPS found
and I see that mostly that error is because of permissions...
Thanks
from addon-nut.
NUT documentation is at https://networkupstools.org/docs/user-manual.chunked/index.html
You can fork the addon and test any changes needed. I would doubt it is permissions, as you wouldn't see errors at the OS level, and it would occur for multiple other users. Personally I run a Proxmox hosted Debian VM, with a Cyberpower UPS connected with the USB driver, and don't see the issue.
from addon-nut.
When I get the error No matching HID UPS found
, I don't get any error in the Supervisor Log
[ 1.800891] usb 2-1: New USB device found, idVendor=051d, idProduct=0002, bcdDevice= 1.06
[ 1.800933] usb 2-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 1.800965] usb 2-1: Product: Back-UPS XS 700U FW:924.Z5 .I USB FW:Z5
[ 1.800996] usb 2-1: Manufacturer: American Power Conversion
[ 1.801024] usb 2-1: SerialNumber: 3B2025X61060
[ 1.853042] hid-generic 0003:051D:0002.0002: hiddev0,hidraw1: USB HID v1.10 Device [American Power Conversion Back-UPS XS 700U FW:924.Z5 .I USB FW:Z5 ] on usb-0000:01:1b.0-1/input0
What does it mean this last row, 0003:051D:0002.0002
?
BTW, I am doing this last test with the VM with Supervised install on Ubuntu 20.04 Server
from addon-nut.
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!
from addon-nut.
Related Issues (20)
- NUT fails to start reporting insufficient permissions on libusb HOT 41
- upsd high cpu usage on rpi4 (0.12.0) and causes HA to crash HOT 2
- SNMP not working - Add on not starting HOT 2
- Fails to start with HAOS 11.1 HOT 3
- The HOST is rebooted after the add-on is launched HOT 12
- NUT fails to start using SNMP. HOT 8
- Only one BX1500M is seen HOT 18
- Missing MIB HOT 4
- NUT not starting (No such file or directory)
- Fails with 2 UPSes HOT 11
- UPS monitoring fails randomly with "Poll UPS [myups@localhost] failed - Data stale" HOT 2
- Manufacturer details missing HOT 1
- Manufacturer details missing HOT 1
- Option 'pollonly' does not exist HOT 4
- NUT fails to start: Can't claim USB device: Other error / Driver failed to start HOT 21
- Server not listening on port 3943 HOT 1
- Two identical Cyberpower UPS's HOT 3
- Data stale error HOT 2
- Unstable experience with APC UPs HOT 5
- driver: snmp-ups - 2 devices - no data for second device HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-nut.