Hi HA Community.
I have been using HA for many years, and have been using a HA Yellow for about 6 months now, running a combination of Z-Wave, Zigbee and WiFi devices, using an Aeotec Gen 5+ Z-Stick.
Now to the issue. I decided it was time to upgrade to the Aeotec Z-Stick Gen-7 in the hope it would address a few latency issues, however i have not been able to get it to work. I was originally using Z-Wave JS with the Gen 5 and attempted to swap to the new device (knowing i would likely need to re-include everything) however this did not function, with logs showing βUnable to start driver ZWaveError: Failed to open the serial port: Error Resource temporarily unavailable Cannot lock port (ZW0100)β.
Things I have attempted:
- Swapped back the Gen5+ Z-Stick as a test, which restored Z-Wave functionality.
- Uninstalled the Z-Wave JS add-on, rebooted, and installing Z-Wave JS UI. Z-Wave JS UI presented the same error. Reverted.
- Attempted to swap between USB ports, with no change.
- Tested the USB device via Simplicity Studio 5 (as per Aeotec documentation) which confirmed the device is functioning as it should.
- Updated Z-Stick 7 to latest firmware and attempted use via HA, with no change.
- Attempted to map to the device in Z-Wave JS UI config, using the full path β/dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_β¦β as obtained via the βls /dev/serial/by-idβ command. No change.
A full log extract is included below, showing the attempted add-on start sequence, and subsequent errors.
Grateful for any guidance the community may have.
Z-Wave JS Log Output
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/config.sh
[20:05:48] INFO: Both βnetwork_keyβ and βs0_legacy_keyβ are set and match. All ok.
[20:05:50] 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
[20:05:53] INFO: Successfully send discovery information to Home Assistant.
2023-07-05T10:05:57.560Z DRIVER ββββββββ βββ βββ ββββββ βββ βββ ββββββββ βββ ββββββββ
ββββββββ βββ βββ ββββββββ βββ βββ ββββββββ βββ ββββββββ
βββββ βββ ββ βββ ββββββββ βββ βββ ββββββ ββββββ βββ ββββββββ
βββββ ββββββββββ ββββββββ ββββ ββββ ββββββ ββββββ ββ βββ ββββββββ
ββββββββ ββββββββββ βββ βββ βββββββ ββββββββ ββββββββ ββββββββ
ββββββββ ββββββββ βββ βββ βββββ ββββββββ ββββββ ββββββββ
2023-07-05T10:05:57.572Z DRIVER version 10.23.2
2023-07-05T10:05:57.574Z DRIVER
2023-07-05T10:06:06.721Z 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:1224:9)
at Immediate. (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1059:5) {
code: 100,
context: undefined,
transactionSource: undefined
}
[10:06:07] WARNING: Halt add-on