After updating zwave js addon this evening to version 0.1.85 it stopped working with this error in the log
[19:25:34] INFO: Service restart after closing
[21:25:35] INFO: Successfully send discovery information to Home Assistant.
Error: failed loading config file /etc/zwave_config.json
Error: Invalid key format for securityKeys.S2_AccessControl option
at normalizeKey (/usr/src/node_modules/@zwave-js/server/dist/bin/server.js:18:11)
at /usr/src/node_modules/@zwave-js/server/dist/bin/server.js:66:53
at Object.<anonymous> (/usr/src/node_modules/@zwave-js/server/dist/bin/server.js:140:3)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
[19:25:36] INFO: Service restart after closing
Is it just me or ? Any idea how to fix ? restore of addon backup did not solve the issue.
I think it’s the Z-Wave JS UI update 1.15.4.
the previous errors in the logs are fixed, removed legacy network key and remove a space in the S2 security key.
If I stop Z-Wave JS UI and restart Z-Wave JS it works. Otherwise the log shows that the zwave device is in use.
2023-08-07T20:52:51.449Z 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:1136:9)
at Immediate.<anonymous> (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:963:5) {
code: 100,
context: undefined,
transactionSource: undefined
}
Rollback to previous version does not solve the problem.
I will stop Z-wave JS UI for now
@freshcoast thx, always had both addons running without issues. rtfm!
Uninstalled and restored backup of z-wave js ui 1.15.3, restart HA and z-wave device are back online.
1.15.4 does not work, no devices.