-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No matching HID UPS found #21
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful. |
You can try setting the vendor id as per the documentation examples, maybe it is conflicting with your other USB devices. You may also want to test with only the UPS connected. Please do note the addon is not yet released. |
Thank you for quick response. Updated my config but it didn't help. users:
|
I believe the vendorid in your example is likely
Can you post your config in backticks, to avoid the markdown formating. it should be something like |
Thank you for your time. Here is my config: |
We made some changes around USB ports within the addon, please feel free to retest, but will close this out for now. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Problem/Motivation
No matching HID UPS found
USB Driver failed to start
Expected behavior
My UPS worked properly with NUT server on another RP without Home assistant
I wpould like to have NUT running as addon on hassio.
Actual behavior
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] nut: applying...
[fix-attrs.d] nut: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Hass.io Add-on: Network UPS Tools
Manage battery backup (UPS) devices
Add-on version: 4213c06
You are running the latest version of this add-on.
System: HassOS 3.9 (armv7 / raspberrypi3)
Home Assistant version: 0.105.2
Supervisor version: 199
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing...
[19:28:25] INFO: Setting mode to netserver...
[19:28:26] INFO: Connected USB devices:
Bus 001 Device 040: ID 0d9f:0004 Powercom Co., Ltd
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 103: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[19:28:26] INFO: Generating /etc/nut/upsd.users...
[19:28:27] INFO: Configuring user: upsmon
[19:28:30] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[19:28:34] INFO: Configuring Device named myups...
[19:28:34] INFO: Starting the UPS drivers...
Network UPS Tools - UPS driver controller 3.8.0-3396-gcdc7c4b5b1
Network UPS Tools - Generic HID driver 0.41 (3.8.0-3396-gcdc7c4b5b1)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
[cont-init.d] nut.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Steps to reproduce
UPS - Powercom WOW500
Raspberry Pi 3
My config:
users:
password: ****
instcmds:
actions: []
devices:
driver: usbhid-ups
port: auto
config: []
mode: netserver
shutdown_hassio: 'false'
list_usb_devices: 'true'
Sensor:
name: UPS Powercom
host: 40817795-nut
port: 3493
alias: NUT_Server
username: upsmon
password: ha_upsmon
resources:
Proposed changes
I have no idea how to get it working
My UPS is listed as USB device in the log
The text was updated successfully, but these errors were encountered: