Hi,
I have a Fibaro wall plug that I can’t control from the app any longer. The device is displayed in Homey Developer -> Z-Wave and is correctly responding to the basic on and off commands from that view, so that communication is working.
I’ve checked that the device is associated with the correct id (same id as in the Z-Wave view) and everything looks ok to me, all though I would not call myself an expert on Z-Wave
I’ve managed to pull some logs from the Z-Wave interaction when I try turning the device on and off (node #7) and done the same for a working device (node #3). The working device/node generates much more log, that is clear. I’m trying to decipher what the logs are saying, but without much luck.
I’ve attached them if someone wants to take a look.
Is there any “standard” solution to this kind of problem?
Working node #3:
[2019-11-10T15:24:48.481Z] Node[3]: [COMMAND_CLASS_SWITCH_BINARY] [SWITCH_BINARY_SET] {“type”:“Buffer”,“data”:[0]}
[2019-11-10T15:24:48.481Z] Node[3]: sendData to COMMAND_CLASS_SWITCH_BINARY, params 0x0100
[2019-11-10T15:24:48.481Z] Node[3]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_GET] {“type”:“Buffer”,“data”:}
[2019-11-10T15:24:48.481Z] Node[3]: sendData to COMMAND_CLASS_SECURITY, params 0x40
[2019-11-10T15:24:48.823Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x80a600817b913931b8
[2019-11-10T15:24:48.823Z] Node[3]: [COMMAND_CLASS_SECURITY] {“Nonce byte”:{“type”:“Buffer”,“data”:[166,0,129,123,145,57,49,184]}}
[2019-11-10T15:24:48.826Z] Node[3]: [COMMAND_CLASS_SECURITY] [SECURITY_MESSAGE_ENCAPSULATION] {“type”:“Buffer”,“data”:[247,115,254,18,71,42,254,91,252,55,26,61,166,239,223,168,242,65,127,57,95]}
[2019-11-10T15:24:48.826Z] Node[3]: sendData to COMMAND_CLASS_SECURITY, params 0x81f773fe12472afe5bfc371a3da6efdfa8f2417f395f
[2019-11-10T15:24:49.029Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x40
[2019-11-10T15:24:49.030Z] Node[3]: [COMMAND_CLASS_SECURITY] {}
[2019-11-10T15:24:49.030Z] Node[3]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_REPORT] {“type”:“Buffer”,“data”:[29,42,226,207,41,69,206,47]}
[2019-11-10T15:24:49.030Z] Node[3]: sendData to COMMAND_CLASS_SECURITY, params 0x801d2ae2cf2945ce2f
[2019-11-10T15:24:49.248Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x81241769dbaf338a33aa3a42891d5aa94deb5e5f749b
[2019-11-10T15:24:49.249Z] Node[3]: [COMMAND_CLASS_SECURITY] {“Initialization Vector byte”:{“type”:“Buffer”,“data”:[36,23,105,219,175,51,138,51]},“Properties1 (Raw)”:{“type”:“Buffer”,“data”:[170]},“Properties1”:{“Sequence Counter”:10,“Sequenced”:false,“Second Frame”:true},“Command byte”:{“type”:“Buffer”,“data”:[58,66,137]},“Receivers nonce Identifier (Raw)”:{“type”:“Buffer”,“data”:[29]},“Receivers nonce Identifier”:29,“Message Authentication Code byte”:{“type”:“Buffer”,“data”:[90,169,77,235,94,95,116,155]}}
[2019-11-10T15:24:49.266Z] Node[3]: Decapsulated frame from COMMAND_CLASS_SECURITY to COMMAND_CLASS_SWITCH_BINARY, data 0x0300
[2019-11-10T15:24:49.266Z] Node[3]: [COMMAND_CLASS_SWITCH_BINARY] {“Value (Raw)”:{“type”:“Buffer”,“data”:[0]},“Value”:“off/disable”}
[2019-11-10T15:24:49.766Z] Node[3]: Received application command for COMMAND_CLASS_CRC_16_ENCAP, data: 0x0131050422000079db
[2019-11-10T15:24:49.767Z] Node[3]: [COMMAND_CLASS_CRC_16_ENCAP] {“Command Class (Raw)”:{“type”:“Buffer”,“data”:[49]},“Command Class”:49,“Command (Raw)”:{“type”:“Buffer”,“data”:[5]},“Command”:5,“Data”:{“type”:“Buffer”,“data”:[4,34,0,0]},“Checksum (Raw)”:{“type”:“Buffer”,“data”:[121,219]},“Checksum”:31195}
[2019-11-10T15:24:49.776Z] Node[3]: Decapsulated frame from COMMAND_CLASS_CRC_16_ENCAP to COMMAND_CLASS_SENSOR_MULTILEVEL, data 0x0504220000
[2019-11-10T15:24:49.777Z] Node[3]: [COMMAND_CLASS_SENSOR_MULTILEVEL] {“Sensor Type (Raw)”:{“type”:“Buffer”,“data”:[4]},“Sensor Type”:“Power (version 2)”,“Level (Raw)”:{“type”:“Buffer”,“data”:[34]},“Level”:{“Size”:2,“Scale”:0,“Precision”:1},“Sensor Value”:{“type”:“Buffer”,“data”:[0,0]},“Sensor Value (Parsed)”:0}
[2019-11-10T15:24:59.558Z] Node[3]: [COMMAND_CLASS_SWITCH_BINARY] [SWITCH_BINARY_SET] {“type”:“Buffer”,“data”:[255]}
[2019-11-10T15:24:59.559Z] Node[3]: sendData to COMMAND_CLASS_SWITCH_BINARY, params 0x01ff
[2019-11-10T15:24:59.559Z] Node[3]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_GET] {“type”:“Buffer”,“data”:}
[2019-11-10T15:24:59.559Z] Node[3]: sendData to COMMAND_CLASS_SECURITY, params 0x40
[2019-11-10T15:24:59.703Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x8091c775be1ca9811a
[2019-11-10T15:24:59.703Z] Node[3]: [COMMAND_CLASS_SECURITY] {“Nonce byte”:{“type”:“Buffer”,“data”:[145,199,117,190,28,169,129,26]}}
[2019-11-10T15:24:59.705Z] Node[3]: [COMMAND_CLASS_SECURITY] [SECURITY_MESSAGE_ENCAPSULATION] {“type”:“Buffer”,“data”:[166,80,153,184,240,158,204,146,114,44,211,141,145,220,37,138,54,254,11,89,119]}
[2019-11-10T15:24:59.705Z] Node[3]: sendData to COMMAND_CLASS_SECURITY, params 0x81a65099b8f09ecc92722cd38d91dc258a36fe0b5977
[2019-11-10T15:24:59.728Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x8091c775be1ca9811a
[2019-11-10T15:24:59.728Z] Node[3]: [COMMAND_CLASS_SECURITY] {“Nonce byte”:{“type”:“Buffer”,“data”:[145,199,117,190,28,169,129,26]}}
[2019-11-10T15:24:59.956Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x40
[2019-11-10T15:24:59.956Z] Node[3]: [COMMAND_CLASS_SECURITY] {}
[2019-11-10T15:24:59.957Z] Node[3]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_REPORT] {“type”:“Buffer”,“data”:[30,185,58,205,39,120,160,11]}
[2019-11-10T15:24:59.957Z] Node[3]: sendData to COMMAND_CLASS_SECURITY, params 0x801eb93acd2778a00b
[2019-11-10T15:25:00.178Z] Node[3]: Received application command for COMMAND_CLASS_SECURITY, data: 0x81c54bab90987759a2dab95a401edaf2a8cbda9f2032
[2019-11-10T15:25:00.179Z] Node[3]: [COMMAND_CLASS_SECURITY] {“Initialization Vector byte”:{“type”:“Buffer”,“data”:[197,75,171,144,152,119,89,162]},“Properties1 (Raw)”:{“type”:“Buffer”,“data”:[218]},“Properties1”:{“Sequence Counter”:10,“Sequenced”:true,“Second Frame”:false},“Command byte”:{“type”:“Buffer”,“data”:[185,90,64]},“Receivers nonce Identifier (Raw)”:{“type”:“Buffer”,“data”:[30]},“Receivers nonce Identifier”:30,“Message Authentication Code byte”:{“type”:“Buffer”,“data”:[218,242,168,203,218,159,32,50]}}
[2019-11-10T15:25:00.190Z] Node[3]: Decapsulated frame from COMMAND_CLASS_SECURITY to COMMAND_CLASS_SWITCH_BINARY, data 0x03ff
[2019-11-10T15:25:00.191Z] Node[3]: [COMMAND_CLASS_SWITCH_BINARY] {“Value (Raw)”:{“type”:“Buffer”,“data”:[255]},“Value”:“on/enable”}
[2019-11-10T15:25:00.651Z] Node[3]: Received application command for COMMAND_CLASS_CRC_16_ENCAP, data: 0x013105042201334cda
[2019-11-10T15:25:00.652Z] Node[3]: [COMMAND_CLASS_CRC_16_ENCAP] {“Command Class (Raw)”:{“type”:“Buffer”,“data”:[49]},“Command Class”:49,“Command (Raw)”:{“type”:“Buffer”,“data”:[5]},“Command”:5,“Data”:{“type”:“Buffer”,“data”:[4,34,1,51]},“Checksum (Raw)”:{“type”:“Buffer”,“data”:[76,218]},“Checksum”:19674}
[2019-11-10T15:25:00.661Z] Node[3]: Decapsulated frame from COMMAND_CLASS_CRC_16_ENCAP to COMMAND_CLASS_SENSOR_MULTILEVEL, data 0x0504220133
[2019-11-10T15:25:00.662Z] Node[3]: [COMMAND_CLASS_SENSOR_MULTILEVEL] {“Sensor Type (Raw)”:{“type”:“Buffer”,“data”:[4]},“Sensor Type”:“Power (version 2)”,“Level (Raw)”:{“type”:“Buffer”,“data”:[34]},“Level”:{“Size”:2,“Scale”:0,“Precision”:1},“Sensor Value”:{“type”:“Buffer”,“data”:[1,51]},“Sensor Value (Parsed)”:30.7}
Non working node #7:
[2019-11-10T15:21:55.258Z] Node[7]: [COMMAND_CLASS_SWITCH_BINARY] [SWITCH_BINARY_SET] {“type”:“Buffer”,“data”:[255]}
[2019-11-10T15:21:55.258Z] Node[7]: sendData to COMMAND_CLASS_SWITCH_BINARY, params 0x01ff
[2019-11-10T15:21:55.258Z] Node[7]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_GET] {“type”:“Buffer”,“data”:}
[2019-11-10T15:21:55.259Z] Node[7]: sendData to COMMAND_CLASS_SECURITY, params 0x40
[2019-11-10T15:21:55.301Z] Node[7]: Received application command for COMMAND_CLASS_SECURITY, data: 0x8046b15d08e487f7cc
[2019-11-10T15:21:55.301Z] Node[7]: [COMMAND_CLASS_SECURITY] {“Nonce byte”:{“type”:“Buffer”,“data”:[70,177,93,8,228,135,247,204]}}
[2019-11-10T15:21:55.303Z] Node[7]: [COMMAND_CLASS_SECURITY] [SECURITY_MESSAGE_ENCAPSULATION] {“type”:“Buffer”,“data”:[41,188,110,139,207,213,53,253,55,30,247,58,70,47,24,177,4,247,4,166,207]}
[2019-11-10T15:21:55.304Z] Node[7]: sendData to COMMAND_CLASS_SECURITY, params 0x8129bc6e8bcfd535fd371ef73a462f18b104f704a6cf
[2019-11-10T15:22:56.607Z] Node[7]: [COMMAND_CLASS_SWITCH_BINARY] [SWITCH_BINARY_SET] {“type”:“Buffer”,“data”:[0]}
[2019-11-10T15:22:56.607Z] Node[7]: sendData to COMMAND_CLASS_SWITCH_BINARY, params 0x0100
[2019-11-10T15:22:56.607Z] Node[7]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_GET] {“type”:“Buffer”,“data”:}
[2019-11-10T15:22:56.608Z] Node[7]: sendData to COMMAND_CLASS_SECURITY, params 0x40
[2019-11-10T15:22:56.665Z] Node[7]: Received application command for COMMAND_CLASS_SECURITY, data: 0x8008e29885b12fecda
[2019-11-10T15:22:56.665Z] Node[7]: [COMMAND_CLASS_SECURITY] {“Nonce byte”:{“type”:“Buffer”,“data”:[8,226,152,133,177,47,236,218]}}
[2019-11-10T15:22:56.667Z] Node[7]: [COMMAND_CLASS_SECURITY] [SECURITY_MESSAGE_ENCAPSULATION] {“type”:“Buffer”,“data”:[254,201,97,149,250,69,82,84,156,186,196,167,8,47,228,143,97,231,234,104,38]}
[2019-11-10T15:22:56.667Z] Node[7]: sendData to COMMAND_CLASS_SECURITY, params 0x81fec96195fa4552549cbac4a7082fe48f61e7ea6826
[2019-11-10T15:23:09.019Z] Node[7]: [COMMAND_CLASS_SWITCH_BINARY] [SWITCH_BINARY_SET] {“type”:“Buffer”,“data”:[255]}
[2019-11-10T15:23:09.019Z] Node[7]: sendData to COMMAND_CLASS_SWITCH_BINARY, params 0x01ff
[2019-11-10T15:23:09.019Z] Node[7]: [COMMAND_CLASS_SECURITY] [SECURITY_NONCE_GET] {“type”:“Buffer”,“data”:}
[2019-11-10T15:23:09.020Z] Node[7]: sendData to COMMAND_CLASS_SECURITY, params 0x40
[2019-11-10T15:23:09.062Z] Node[7]: Received application command for COMMAND_CLASS_SECURITY, data: 0x800140176a5601c167
[2019-11-10T15:23:09.062Z] Node[7]: [COMMAND_CLASS_SECURITY] {“Nonce byte”:{“type”:“Buffer”,“data”:[1,64,23,106,86,1,193,103]}}
[2019-11-10T15:23:09.064Z] Node[7]: [COMMAND_CLASS_SECURITY] [SECURITY_MESSAGE_ENCAPSULATION] {“type”:“Buffer”,“data”:[254,95,15,152,160,160,184,153,221,229,173,75,1,35,55,213,254,8,17,179,180]}
[2019-11-10T15:23:09.064Z] Node[7]: sendData to COMMAND_CLASS_SECURITY, params 0x81fe5f0f98a0a0b899dde5ad4b012337d5fe0811b3b4