Hello,
I’m experiencing problems when I update z-wave js UI to 3.18.0 or higher.
3.17.0 just works.
When 3.18.0 was available I updated and all z-wave stopped working.
Reverted back to 3.17.0 and it all was fine again.
Couple of days ago 3.19.0 was available for z-wave js UI.
Tried to update again. And again all z-wave is unavailable.
Where to start looking what is going on?
The loggings would say it cannot open the port for the Z-wave stick.
But with 3.17.0 there is no prolem at all.
What changed in 3.18.0 and 3.19.0 to cause this issue?
Home assistant is up to date with version 2025.1.4
part of the supervisor logging:
2025-01-25 15:27:51.954 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Z-Wave JS UI is failed, restarting...
2025-01-25 15:27:51.966 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_a0d7b954_zwavejs2mqtt application
2025-01-25 15:27:52.663 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/zwave-js-ui/aarch64 with version 3.19.0
2025-01-25 15:27:59.550 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
2025-01-25 15:28:00.058 INFO (MainThread) [supervisor.auth] Successful login for 'mqtt'
2025-01-25 15:28:03.884 INFO (MainThread) [supervisor.hardware.monitor] Detecting remove hardware /dev/ttyACM0 - /dev/serial/by-id/usb-0658_0200-if00
2025-01-25 15:28:03.890 INFO (MainThread) [supervisor.hardware.monitor] Detecting remove hardware /dev/bus/usb/001/011 - None
2025-01-25 15:28:06.225 INFO (MainThread) [supervisor.hardware.monitor] Detecting add hardware /dev/bus/usb/001/012 - None
2025-01-25 15:28:06.230 INFO (MainThread) [supervisor.hardware.monitor] Detecting add hardware /dev/ttyACM0 - /dev/serial/by-id/usb-0658_0200-if00
2025-01-25 15:28:11.561 INFO (MainThread) [supervisor.hardware.monitor] Detecting remove hardware /dev/ttyACM0 - /dev/serial/by-id/usb-0658_0200-if00
2025-01-25 15:28:11.566 INFO (MainThread) [supervisor.hardware.monitor] Detecting remove hardware /dev/bus/usb/001/012 - None
2025-01-25 15:28:13.897 INFO (MainThread) [supervisor.hardware.monitor] Detecting add hardware /dev/bus/usb/001/013 - None
2025-01-25 15:28:13.904 INFO (MainThread) [supervisor.hardware.monitor] Detecting add hardware /dev/ttyACM0 - /dev/serial/by-id/usb-0658_0200-if00
2025-01-25 15:28:56.565 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Z-Wave JS UI is failed, restarting...
part of the z-wave JS logging:
2025-01-25 15:31:15.212 INFO Z-WAVE: [Node 085] Value added 85-38-2-currentValue => null
2025-01-25 15:31:15.213 INFO Z-WAVE: [Node 085] Value added 85-38-2-Up => undefined
2025-01-25 15:31:15.214 INFO Z-WAVE: [Node 085] Value added 85-38-2-Down => undefined
2025-01-25 15:31:15.215 INFO Z-WAVE: [Node 085] Value added 85-38-2-restorePrevious => undefined
/opt/server/lib/Gateway.js:1540
data.nodeName = node.name;
^
TypeError: Cannot set properties of null (setting 'nodeName')
at Gateway._onValueChanged (/opt/server/lib/Gateway.js:1540:27)
at ZwaveClient.emit (node:events:517:28)
at ZwaveClient.emitValueChanged (/opt/server/lib/ZwaveClient.js:1458:14)
at /opt/server/lib/ZwaveClient.js:3464:40
at Array.forEach (<anonymous>)
at ZwaveClient._onNodeReady (/opt/server/lib/ZwaveClient.js:3464:24)
at EventTarget.wrapper (/opt/node_modules/@zwave-js/shared/src/EventTarget.ts:89:5)
at EventTarget.[nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at EventTarget.dispatchEvent (node:internal/event_target:721:26)
at ZWaveNode2.emit (/opt/node_modules/@zwave-js/shared/src/EventTarget.ts:173:27)
[15:31:15] INFO: Service Z-Wave JS UI exited with code 1 (by signal 0)
[15:31:16] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
[15:31:16] INFO: Starting the Z-Wave JS UI...
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service nginx: stopping
s6-rc: info: service discovery successfully stopped
[15:31:16] INFO: Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service zwave-js-ui: stopping
s6-rc: info: service init-nginx successfully stopped
[15:31:16] INFO: Service Z-Wave JS UI exited with code 256 (by signal 15)
s6-rc: info: service zwave-js-ui successfully stopped
s6-rc: info: service init-zwave-js-ui: stopping
s6-rc: info: service init-zwave-js-ui successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
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
part of z-wave js log:
cont-init: info: running /etc/cont-init.d/config.sh
[15:00:41] INFO: Both 'network_key' and 's0_legacy_key' are set and match. All ok.
[15:00:48] INFO: Soft-reset set to automatic
[15:00:48] INFO: Virtual Machine not detected, enabling soft-reset
cont-init: info: /etc/cont-init.d/config.sh exited 0
cont-init: info: running /etc/cont-init.d/structure.sh
cont-init: info: /etc/cont-init.d/structure.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun zwave_js (no readiness notification)
s6-rc: info: service legacy-services successfully started
[15:00:53] INFO: Successfully send discovery information to Home Assistant.
2025-01-25T14:00:56.847Z DRIVER ███████╗ ██╗ ██╗ █████╗ ██╗ ██╗ ███████╗ ██╗ ███████╗
╚══███╔╝ ██║ ██║ ██╔══██╗ ██║ ██║ ██╔════╝ ██║ ██╔════╝
███╔╝ █████╗ ██║ █╗ ██║ ███████║ ██║ ██║ █████╗ ██║ ███████╗
███╔╝ ╚════╝ ██║███╗██║ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝ ██ ██║ ╚════██║
███████╗ ╚███╔███╔╝ ██║ ██║ ╚████╔╝ ███████╗ ╚█████╔╝ ███████║
╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ ╚════╝ ╚══════╝
2025-01-25T14:00:56.855Z DRIVER version 13.10.3
2025-01-25T14:00:56.856Z DRIVER
2025-01-25T14:01:05.932Z DRIVER Failed to open the serial port: Error Resource temporarily unavailable Cannot
lock port
Unable to start driver ZWaveError: Failed to open the serial port: Error Resource temporarily unavailable Cannot lock port (ZW0100)
at Driver.openSerialport (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1398:9)
at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1230:5) {
code: 100,
context: undefined,
transactionSource: undefined
}
[14:01:06] WARNING: Halt add-on
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped