node-zwave-js icon indicating copy to clipboard operation
node-zwave-js copied to clipboard

Do not assume node to be asleep after protocol info interview stage when it just woke up

Open AlCalzone opened this issue 3 years ago • 0 comments

2022-09-07T15:38:37.804Z DRIVER « [Node 006] [REQ] [ApplicationUpdateRequest]
                                    payload: 0x06110407015e308084708559718672737a5aef
2022-09-07T15:38:37.805Z CNTRLR « [Node 006] Received updated node info
2022-09-07T15:38:37.809Z SERIAL « 0x010b00a800010602840700b369                                        (13 bytes)
2022-09-07T15:38:37.810Z SERIAL » [ACK]                                                                   (0x06)
2022-09-07T15:38:37.810Z DRIVER « [Node 006] [REQ] [BridgeApplicationCommand]
                                  │ RSSI: -77 dBm
                                  └─[WakeUpCCWakeUpNotification]
2022-09-07T15:38:37.811Z CNTRLR « [Node 006] received wakeup notification
2022-09-07T15:38:40.100Z CNTRLR   [Node 006] Beginning interview - last completed stage: None
2022-09-07T15:38:40.100Z CNTRLR   [Node 006] new node, doing a full interview...
2022-09-07T15:38:40.101Z CNTRLR » [Node 006] querying protocol info...
2022-09-07T15:38:40.103Z SERIAL » 0x0104004106bc                                                       (6 bytes)
2022-09-07T15:38:40.103Z DRIVER » [REQ] [GetNodeProtocolInfo]
                                    payload: 0x06
2022-09-07T15:38:40.108Z SERIAL « [ACK]                                                                   (0x06)
2022-09-07T15:38:40.108Z SERIAL « 0x010a0141539c010407010079                                          (12 bytes)
2022-09-07T15:38:40.109Z SERIAL » [ACK]                                                                   (0x06)
2022-09-07T15:38:40.109Z DRIVER « [RES] [GetNodeProtocolInfo]
                                    payload: 0x539c0104070100
2022-09-07T15:38:40.111Z CNTRLR « [Node 006] received response for protocol info:
                                  basic device class:    Routing Slave
                                  generic device class:  Notification Sensor
                                  specific device class: Notification Sensor
                                  node type:             End Node
                                  is always listening:   false
                                  is frequent listening: false
                                  can route messages:    true
                                  supports security:     false
                                  supports beaming:      true
                                  maximum data rate:     100000 kbps
                                  protocol version:      3
2022-09-07T15:38:40.112Z CNTRLR   [Node 006] The node is now asleep.
2022-09-07T15:38:40.113Z CNTRLR   [Node 006] Interview stage completed: ProtocolInfo
2022-09-07T15:38:40.113Z CNTRLR » [Node 006] querying node info...
2022-09-07T15:38:43.812Z SERIAL « 0x011700498406110407015e308084708559718672737a5aefcf                (25 bytes)
2022-09-07T15:38:43.813Z SERIAL » [ACK]                                                                   (0x06)
2022-09-07T15:38:43.814Z DRIVER « [Node 006] [REQ] [ApplicationUpdateRequest]
                                    payload: 0x06110407015e308084708559718672737a5aef
2022-09-07T15:38:43.814Z CNTRLR « [Node 006] Received updated node info
2022-09-07T15:38:43.815Z CNTRLR   [Node 006] The node is now awake.
2022-09-07T15:38:43.817Z SERIAL » 0x01040060069d                                                       (6 bytes)
2022-09-07T15:38:43.818Z DRIVER » [Node 006] [REQ] [RequestNodeInfo]
                                    payload: 0x06

AlCalzone avatar Sep 07 '22 15:09 AlCalzone