Thanks for taking the time to help.
Can I just confirm that I have understood you correctly with a couple of sections of logs below. The first is a failed interaction with the Wall Plug close to the controller (3m & 1 drywall), and the second is a successful interaction with the same Wall Plug at a distance (12m & 3 drywalls). After moving it away. I did not heal the network but in the past I have and it would still work.
Up to and including line 27 the interaction is identical in both, except for the last 2 bytes of the hex strings which are the callback id and possibly a checksum (but I am guessing at that). The callback id also at byte 5 of the callback messages. So the callbacks for the SwitchBinaryCmd_Set and SwitchBinaryCmd_Get are reported as being successful in both cases but it is the next message from the Wall Plug that is different (line 28).
Are you saying that line 28 on the good interaction:
- Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x02, 0x03, 0x25, 0x03, 0xff, 0x2a
is the Switch Binary Report, and the 0x25, 0x03 at bytes 8 & 9 are those that you refer to and define it as such?
And that because the same line in the failed interaction:
- Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x02, 0x04, 0x22, 0x01, 0x01, 0x02, 0xd7
does not have 0x25, 0x03 towards the end, it is some other unsolicited message.
It would be a great help if you can confirm that I have understood this correctly and if I haven’t please set me straight.
It would also be a great help if you can point me at a source of information to decode the unsolicited response, but I am beginning to think no such source is available.
With regard to the node being busy, in both cases the node sends out a Meter Report as the next message, but that is about 3 seconds after line 28, and the gap similar in both cases.,
Thanks again!
Failed interaction
1. [ozw.mqtt.commands] [debug]: Got "OpenZWave/1/command/setvalue/" Message: "{\"ValueIDKey\": 38354960, \"Value\": true}"
2. [ozw.mqtt.commands.setValue] [info]: Setting 38354960 to Value QVariant(bool, true)
3. [ozw.values] [debug]: setData Called for Row 12 With Value QVariant(bool, true)
4. [ozw.values] [debug]: valueModel Changed! QTOZW_ValueIds::Value - 12 : QVariant(bool, true)
5. [ozw.values] [debug]: valueModel Changed! vidKey: 38354960 QVariant(bool, true)
6. [ozw.library] [info]: Info - Node: 2 Value::Set - COMMAND_CLASS_SWITCH_BINARY - Switch - 0 - 1 - True
7. [ozw.library] [info]: Info - Node: 2 SwitchBinary::Set - Setting to On
8. [ozw.library] [debug]: Detail - Node: 2 Queuing (Send) SwitchBinaryCmd_Set (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x25, 0x01, 0xff, 0x25, 0xd9, 0xc0
9. [ozw.library] [debug]: Detail - Node: 2 Queuing (Send) SwitchBinaryCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x25, 0x02, 0x25, 0xda, 0x3d
10. [ozw.library] [info]: Info - Node: 2 Sending (Send) message (Callback ID=0xd9, Expected Reply=0x13) - SwitchBinaryCmd_Set (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x25, 0x01, 0xff, 0x25, 0xd9, 0xc0
11. [ozw.mqtt.commands] [info]: Processed Message for "setvalue" : "{\"ValueIDKey\": 38354960, \"Value\": true}"
12. [ozw.library] [info]: Info - Node: 2 Encrypted Flag is 0
13. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
14. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA delivered to Z-Wave stack
15. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x07, 0x00, 0x13, 0xd9, 0x00, 0x00, 0x02, 0x30
16. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA Request with callback ID 0xd9 received (expected 0xd9)
17. [ozw.library] [debug]: Detail - Node: 2 Expected callbackId was received
18. [ozw.library] [debug]: Detail - Node: 2 Expected reply was received
19. [ozw.library] [debug]: Detail - Node: 2 Message transaction complete
20. [ozw.library] [debug]: Detail - Node: 2 Removing current message
21. [ozw.library] [info]: Info - Node: 2 Sending (Send) message (Callback ID=0xda, Expected Reply=0x04) - SwitchBinaryCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x25, 0x02, 0x25, 0xda, 0x3d
22. [ozw.library] [info]: Info - Node: 2 Encrypted Flag is 0
23. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
24. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA delivered to Z-Wave stack
25. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x07, 0x00, 0x13, 0xda, 0x00, 0x00, 0x02, 0x33
26. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA Request with callback ID 0xda received (expected 0xda)
27. [ozw.library] [debug]: Detail - Node: 2 Expected callbackId was received
28. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x02, 0x04, 0x22, 0x01, 0x01, 0x02, 0xd7
29. [ozw.library] [critical]: Error - Node: 2 ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "SwitchBinaryCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x25, 0x02, 0x25, 0xda, 0x3d"
30. [ozw.library] [debug]: Detail - Node: 2 Removing current message
31. [ozw.library] [debug]: Detail - Node: 2 Notification: Notification - TimeOut
32. [ozw.notifications] [debug]: Notification pvt_ozwNotification NotificationTypes::Notification_Code_MsgTimeout Thread: 0x76f2e410
Good Interaction
1. [ozw.mqtt.commands] [debug]: Got "OpenZWave/1/command/setvalue/" Message: "{\"ValueIDKey\": 38354960, \"Value\": true}"
2. [ozw.mqtt.commands.setValue] [info]: Setting 38354960 to Value QVariant(bool, true)
3. [ozw.values] [debug]: setData Called for Row 12 With Value QVariant(bool, true)
4. [ozw.values] [debug]: valueModel Changed! QTOZW_ValueIds::Value - 12 : QVariant(bool, true)
5. [ozw.values] [debug]: valueModel Changed! vidKey: 38354960 QVariant(bool, true)
6. [ozw.library] [info]: Info - Node: 2 Value::Set - COMMAND_CLASS_SWITCH_BINARY - Switch - 0 - 1 - True
7. [ozw.library] [info]: Info - Node: 2 SwitchBinary::Set - Setting to On
8. [ozw.library] [debug]: Detail - Node: 2 Queuing (Send) SwitchBinaryCmd_Set (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x25, 0x01, 0xff, 0x25, 0xe1, 0xf8
9. [ozw.library] [debug]: Detail - Node: 2 Queuing (Send) SwitchBinaryCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x25, 0x02, 0x25, 0xe2, 0x05
10. [ozw.library] [info]: Info - Node: 2 Sending (Send) message (Callback ID=0xe1, Expected Reply=0x13) - SwitchBinaryCmd_Set (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x25, 0x01, 0xff, 0x25, 0xe1, 0xf8
11. [ozw.mqtt.commands] [info]: Processed Message for "setvalue" : "{\"ValueIDKey\": 38354960, \"Value\": true}"
12. [ozw.library] [info]: Info - Node: 2 Encrypted Flag is 0
13. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
14. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA delivered to Z-Wave stack
15. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x07, 0x00, 0x13, 0xe1, 0x00, 0x00, 0x31, 0x3b
16. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA Request with callback ID 0xe1 received (expected 0xe1)
17. [ozw.library] [debug]: Detail - Node: 2 Expected callbackId was received
18. [ozw.library] [debug]: Detail - Node: 2 Expected reply was received
19. [ozw.library] [debug]: Detail - Node: 2 Message transaction complete
20. [ozw.library] [debug]: Detail - Node: 2 Removing current message
21. [ozw.library] [info]: Info - Node: 2 Sending (Send) message (Callback ID=0xe2, Expected Reply=0x04) - SwitchBinaryCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x25, 0x02, 0x25, 0xe2, 0x05
22. [ozw.library] [info]: Info - Node: 2 Encrypted Flag is 0
23. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
24. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA delivered to Z-Wave stack
25. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x07, 0x00, 0x13, 0xe2, 0x00, 0x00, 0x3b, 0x32
26. [ozw.library] [debug]: Detail - Node: 2 ZW_SEND_DATA Request with callback ID 0xe2 received (expected 0xe2)
27. [ozw.library] [debug]: Detail - Node: 2 Expected callbackId was received
28. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x02, 0x03, 0x25, 0x03, 0xff, 0x2a
29. [ozw.library] [info]: Info - Node: 2 Received SwitchBinary report from node 2: level=On
30. [ozw.library] [debug]: Detail - Node: 2 Refreshed Value: old value=false, new value=true, type=bool
31. [ozw.library] [debug]: Detail - Node: 2 Changes to this value are not verified
32. [ozw.library] [debug]: Detail - Node: 2 Expected reply and command class was received
33. [ozw.library] [debug]: Detail - Node: 2 Message transaction complete
34. [ozw.library] [debug]: Detail - Node: 2 Removing current message
35. [ozw.library] [debug]: Detail - Node: 2 Notification: ValueChanged CC: COMMAND_CLASS_SWITCH_BINARY Instance: 1 Index: 0
36. [ozw.notifications] [debug]: Notification pvt_valueChanged: 38354960 Thread: 0x76f2e410
37. [ozw.mqtt.publisher] [debug]: Publishing Event valueChanged: 38354960
38. [ozw.library] [debug]: Detail - Node: 2 Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x02, 0x03, 0x25, 0x03, 0xff, 0x2a
39. [ozw.library] [info]: Info - Node: 2 Received SwitchBinary report from node 2: level=On
40. [ozw.library] [debug]: Detail - Node: 2 Refreshed Value: old value=true, new value=true, type=bool
41. [ozw.library] [debug]: Detail - Node: 2 Changes to this value are not verified
42. [ozw.library] [debug]: Detail - Node: 2 Notification: ValueChanged CC: COMMAND_CLASS_SWITCH_BINARY Instance: 1 Index: 0
43. [ozw.notifications] [debug]: Notification pvt_valueChanged: 38354960 Thread: 0x76f2e410