zwave-js-ui: 9.33.0
zwave-js: 14.3.12
I have an automation that locks a door. The door is physically locking, but the state frequently is not updated.
I need help understanding what the logs are saying. The automation reports that it locked the door at 21:31:22Z. Then the automation delays 30 seconds and then checks if the state is not locked. That happens at 21:31:53Z.
Automation snippet
- metadata: {}
data: {}
target:
entity_id: lock.front_door_deadbolt
action: lock.lock
- metadata: {}
data:
message: Front door locking.
title: Left unlocked?
action: notify.our_phones
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- alias: >-
After locking and a delay, check that it is reported as being
locked.
if:
- alias: Check if door is still not locked and then notify
condition: not
conditions:
- condition: state
entity_id: lock.front_door_deadbolt
state: locked
then:
- metadata: {}
data:
message: The front door didn't lock
title: Ruh Roh!
action: notify.our_phones
Again, the physical door did lock. But the state still reports unlocked:
Here’s what I can find in the zwave logs. I don’t always know if a log line is related to a given node.
I would like to understand what the logs are indicating, and if they are providing me with any hints to solve the issue.
2025-04-01T21:31:22.029Z DRIVER .. [Node 004] [REQ] [SendDataBridge]
... source node id: 1
... transmit options: 0x25
... callback id: 114
......[SecurityCCNonceGet]
2025-04-01T21:31:22.034Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:22.037Z SERIAL .. 0x010401a90152 (6 bytes)
2025-04-01T21:31:22.038Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:22.040Z DRIVER .. [RES] [SendDataBridge]
was sent: true
2025-04-01T21:31:22.329Z SERIAL .. 0x012400a80000010030169f0340008eb64908f58cc6f344c65a2b9b927227871a0 (38 bytes)
0a7007f7f28
2025-04-01T21:31:23.408Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -78 dBm
......[SecurityCCNonceReport]
nonce: 0xeba29a629872544e
2025-04-01T21:31:23.416Z SERIAL .. 0x012500a90001000417988118a28172f3a2ca2b35f6cf85eb0020cb0eb6b17e992 (39 bytes)
50000000073b0
2025-04-01T21:31:23.418Z DRIVER .. [Node 004] [REQ] [SendDataBridge]
... source node id: 1
... transmit options: 0x25
... callback id: 115
......[SecurityCCCommandEncapsulation]
... nonce id: 235
......[DoorLockCCOperationSet]
target mode: Secured
2025-04-01T21:31:23.426Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:23.430Z SERIAL .. 0x010401a90152 (6 bytes)
2025-04-01T21:31:23.431Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:23.432Z DRIVER .. [RES] [SendDataBridge]
was sent: true
I assume that last one is the command to lock the door. Next, it looks like the door (Node 004) is reporting its RSSI.
2025-04-01T21:31:28.712Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -79 dBm
......[SecurityCCNonceGet]
2025-04-01T21:31:28.719Z DRIVER one or more queues busy
2025-04-01T21:31:28.721Z SERIAL .. 0x011800a9000100040a9880d7c06db71622cab2050000000074a9 (26 bytes)
2025-04-01T21:31:28.722Z DRIVER .. [Node 004] [REQ] [SendDataBridge]
... source node id: 1
... transmit options: 0x05
... callback id: 116
......[SecurityCCNonceReport]
nonce: 0xd7c06db71622cab2
2025-04-01T21:31:28.727Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:28.730Z SERIAL .. 0x010401a90152 (6 bytes)
2025-04-01T21:31:28.732Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:28.733Z DRIVER .. [RES] [SendDataBridge]
was sent: true
2025-04-01T21:31:30.057Z SERIAL .. 0x012400a81400010030169f0340008eb64908f58cc6f344c65a2b9b927227871a0 (38 bytes)
0b200000029
But then it gives what seems to be an error, and I assume because it’s invalid it doesn’t know what node sent it?
2025-04-01T21:31:30.062Z DRIVER Dropping message with invalid payload
Then it continues and there’s more errors.
2025-04-01T21:31:33.224Z DRIVER .. [Node 004] [REQ] [SendDataBridge]
... source node id: 1
... transmit options: 0x25
... callback id: 117
......[SecurityCCNonceGet]
2025-04-01T21:31:33.230Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:33.232Z SERIAL .. 0x010401a90152 (6 bytes)
2025-04-01T21:31:33.233Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:33.234Z DRIVER .. [RES] [SendDataBridge]
was sent: true
2025-04-01T21:31:36.959Z SERIAL .. 0x012800a800000100521a9f0373003fd40357d8c86ab91782e06cada000168bfd7 (42 bytes)
5eba00500b2007f7f58
2025-04-01T21:31:36.968Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:37.724Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -90 dBm
......[SecurityCCCommandEncapsulation] [INVALID]
error: Nonce 0xd7 expired, cannot decode security encapsulated command.
2025-04-01T21:31:37.725Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:37.868Z SERIAL .. 0x012800a800000100521a9f0373003fd40357d8c86ab91782e06cada000168bfd7 (42 bytes)
5eba00500ab007f7f41
2025-04-01T21:31:37.875Z DRIVER Dropping message with invalid payload
2025-04-01T21:31:37.724Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -90 dBm
......[SecurityCCCommandEncapsulation] [INVALID]
error: Nonce 0xd7 expired, cannot decode security encapsulated command.
2025-04-01T21:31:37.725Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:37.868Z SERIAL .. 0x012800a800000100521a9f0373003fd40357d8c86ab91782e06cada000168bfd7 (42 bytes)
5eba00500ab007f7f41
2025-04-01T21:31:37.875Z DRIVER Dropping message with invalid payload
2025-04-01T21:31:37.724Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -90 dBm
......[SecurityCCCommandEncapsulation] [INVALID]
error: Nonce 0xd7 expired, cannot decode security encapsulated command.
2025-04-01T21:31:37.725Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:37.868Z SERIAL .. 0x012800a800000100521a9f0373003fd40357d8c86ab91782e06cada000168bfd7 (42 bytes)
5eba00500ab007f7f41
2025-04-01T21:31:37.875Z DRIVER Dropping message with invalid payload
(0x06)
2025-04-01T21:31:38.145Z SERIAL .. 0x011800a800000100040a9880b23eca5a7134f80700b2007f7f4c (26 bytes)
2025-04-01T21:31:38.150Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:38.154Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -78 dBm
......[SecurityCCNonceReport]
nonce: 0xb23eca5a7134f807
2025-04-01T21:31:38.157Z CNTRLR .. [Node 004] received expected response prematurely, remembering it...
2025-04-01T21:31:38.575Z SERIAL .. 0x011800a800000100040a9880b23eca5a7134f80700b1007f7f4f (26 bytes)
2025-04-01T21:31:38.580Z SERIAL .. [ACK] (0x06)
2025-04-01T21:31:38.584Z DRIVER .. [Node 004] [REQ] [BridgeApplicationCommand]
... RSSI: -79 dBm
......[SecurityCCNonceReport]
nonce: 0xb23eca5a7134f807
2025-04-01T21:31:38.587Z CNTRLR .. [Node 004] received expected response prematurely, remembering it...
I do seem to get a series of:
[Node 004] received expected response prematurely, remembering it...
and
2025-04-01T21:32:05.241Z CNTRLR [Node 004] Timed out while waiting for a response from the node (ZW0201)
Any ideas?
Thanks.