Witam, zrobiłem ostatnio aktualizację systemu operacyjnego HAOS core (miałem wersję bodajże z listopada 2024) i, między innymi, przestała działać integracja z UPS-em. Wrzucam jej loga:
-----------------------------------------------------------
Add-on: Network UPS Tools
Manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: 0.17.0
You are running the latest version of this add-on.
System: Home Assistant OS 16.3 (amd64 / generic-x86-64)
Home Assistant Core: 2025.11.1
Home Assistant Supervisor: 2025.11.2
-----------------------------------------------------------
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
[17:31:38] INFO: Configuring timezone (Europe/Warsaw)...
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
[17:31:39] INFO: Setting mode to netserver...
[17:31:39] INFO: Connected USB devices:
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0bda:a729 Realtek Semiconductor Corp. Bluetooth Radio
Bus 005 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[17:31:39] INFO: Generating /etc/nut/upsd.users...
[17:31:39] INFO: Configuring user: ha
[17:31:39] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[17:31:39] INFO: Configuring Device named haups...
[17:31:39] INFO: Starting the UPS drivers...
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 nutdrv_qx).
upsnotify: notify about state 4 with libsystemd: was requested, but not running as a service unit now, will not spam more about it
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Network UPS Tools - Generic Q* USB/Serial driver 0.36 (2.8.1)
USB communication driver (libusb 1.0) 0.46
Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller 2.8.1
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.
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 fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-timezone 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
oto konfiguracja dodatku (która działała wcześniej):
users:
- actions: []
instcmds:
- all
password: haupsuser2000
username: ha
devices:
- config: []
driver: blazer_ser
name: haups
port: /dev/ttyUSB1
mode: netserver
shutdown_host: false
list_usb_devices: true
kombinowałem trochę i teraz mam konfigurację taką (to z niej są powyższe logi):
users:
- username: ha
password: haupsuser2000
instcmds:
- all
actions: []
devices:
- name: haups
driver: nutdrv_qx
port: auto
config: []
mode: netserver
shutdown_host: false
list_usb_devices: true
Jakby nie widział UPS-a przez USB. Podejrzewam że nowy system operacyjny zrobił jakieś ograniczenia dla USB, bo stick Zigbee też przestał działać (też nie można było znaleźć adaptera), ale rozwiązanie znalazłem na tej stronie:
https://github.com/Koenkk/zigbee2mqtt/discussions/24364
Nie jestem niestety mocny w tych tematach, więc może ktoś podpowie gdzie szukać rozwiązania?
Pozdrawiam, Grzegorz
edit: wrzucam też loga dla pierwotnej konfiguracji:
-----------------------------------------------------------
Add-on: Network UPS Tools
Manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: 0.17.0
You are running the latest version of this add-on.
System: Home Assistant OS 16.3 (amd64 / generic-x86-64)
Home Assistant Core: 2025.11.1
Home Assistant Supervisor: 2025.11.2
-----------------------------------------------------------
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
[18:07:21] INFO: Configuring timezone (Europe/Warsaw)...
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
[18:07:22] INFO: Setting mode to netserver...
[18:07:22] INFO: Connected USB devices:
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0bda:a729 Realtek Semiconductor Corp. Bluetooth Radio
Bus 005 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[18:07:22] INFO: Generating /etc/nut/upsd.users...
[18:07:22] INFO: Configuring user: ha
[18:07:22] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[18:07:22] INFO: Configuring Device named haups...
[18:07:23] INFO: Starting the UPS drivers...
/dev/ttyUSB1 is locked by another process
upsnotify: notify about state 4 with libsystemd: was requested, but not running as a service unit now, will not spam more about it
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Network UPS Tools - Megatec/Q1 protocol serial driver 1.60 (2.8.1)
Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller 2.8.1
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.
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 fix-attrs successfully stopped
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level 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