I only have one item connected to the zwave stick, my danalock.
But I see an increase in the crashes in the zwave.js, has anybody else noticed this?
I just snapped a part of the last log:
2021-09-11T15:03:05.892Z DRIVER Serial port errored: The serial port closed unexpectedly!
Error in driver ZWaveError: The serial port closed unexpectedly!
at SerialPort.<anonymous> (/usr/src/node_modules/@zwave-js/serial/src/ZWaveSerialPort.ts:39:10)
at SerialPort.emit (events.js:400:28)
at SerialPort.emit (domain.js:470:12)
at binding.close.then.closing (/usr/src/node_modules/@serialport/stream/lib/index.js:435:12) {
code: 5,
context: undefined,
transactionSource: undefined
}
Z-Wave error ZWaveError: The driver is not ready or has been destroyed
at Driver.ensureReady (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1553:10)
at Driver.sendMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2622:8)
at Driver.sendCommand (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2828:28)
at DoorLockCCAPI.set (/usr/src/node_modules/zwave-js/src/lib/commandclass/DoorLockCC.ts:292:21)
at Proxy.DoorLockCCAPI.<computed> (/usr/src/node_modules/zwave-js/src/lib/commandclass/DoorLockCC.ts:140:15)
at ZWaveNode.setValue (/usr/src/node_modules/zwave-js/src/lib/node/Node.ts:799:14)
at Function.handle (/usr/src/node_modules/@zwave-js/server/dist/lib/node/message_handler.js:19:44)
at Object.node (/usr/src/node_modules/@zwave-js/server/dist/lib/server.js:38:91)
at Client.receiveMessage (/usr/src/node_modules/@zwave-js/server/dist/lib/server.js:93:99)
at WebSocket.<anonymous> (/usr/src/node_modules/@zwave-js/server/dist/lib/server.js:46:45) {
code: 8,
context: undefined,
transactionSource: undefined
}
Z-Wave error ZWaveError: The driver is not ready or has been destroyed
at Driver.ensureReady (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1553:10)
at Driver.sendMessage (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2622:8)
at Driver.sendCommand (/usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2828:28)
at DoorLockCCAPI.set (/usr/src/node_modules/zwave-js/src/lib/commandclass/DoorLockCC.ts:292:21)
at Proxy.DoorLockCCAPI.<computed> (/usr/src/node_modules/zwave-js/src/lib/commandclass/DoorLockCC.ts:140:15)
at ZWaveNode.setValue (/usr/src/node_modules/zwave-js/src/lib/node/Node.ts:799:14)
at Function.handle (/usr/src/node_modules/@zwave-js/server/dist/lib/node/message_handler.js:19:44)
at Object.node (/usr/src/node_modules/@zwave-js/server/dist/lib/server.js:38:91)
at Client.receiveMessage (/usr/src/node_modules/@zwave-js/server/dist/lib/server.js:93:99)
at WebSocket.<anonymous> (/usr/src/node_modules/@zwave-js/server/dist/lib/server.js:46:45) {
code: 8,
context: undefined,
transactionSource: undefined
}
I can restart the module without issues, every time, and then the lock works again.