Zaraz porobię porządne logi, włączanie przycisku działa, ale chyba by tam potrzeba było mieć jakiś debouncing pomiędzy akcjami.
Code: Select all
nr 1 pressed
21:07:16.257 > [ 78754][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253
21:07:16.264 > [ 78763][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1
21:07:16.275 > [ 78772][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0
21:07:16.286 > [ 78784][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0
21:07:16.293 > [ 78792][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 2 size: 1
21:07:16.303 > [ 78800][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x00
21:07:16.309 > [ 78806][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0
21:07:16.320 > [ 78817][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: pushed
21:07:16.325 > [ 78824][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x0
21:07:16.336 > [ 78837][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8
21:07:16.353 > [ 78853][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x0
21:07:16.365 > [ 78865][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54
21:07:16.376 > [ 78876][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle
21:07:16.387 > Relay[0] toggle (duration 0 ms)
21:07:16.387 > Relay[0] turn ON (duration 0 ms)
21:07:16.392 > Channel(0) value changed to 1
21:07:16.392 > [ 78885][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------
double pressed
21:07:46.791 > [109287][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253
21:07:46.796 > [109296][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1
21:07:46.808 > [109305][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0
21:07:46.819 > [109317][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0
21:07:46.824 > [109325][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 8 size: 1
21:07:46.835 > [109333][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x01
21:07:46.841 > [109339][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0
21:07:46.852 > [109349][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: double tapped
21:07:46.857 > [109358][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x1
21:07:46.869 > [109370][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8
21:07:46.886 > [109386][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x1
21:07:46.896 > [109398][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54
21:07:46.907 > [109410][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle
21:07:46.920 > Relay[1] toggle (duration 0 ms)
21:07:46.920 > Relay[1] turn ON (duration 0 ms)
21:07:46.925 > Channel(1) value changed to 1
21:07:46.925 > [109419][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------
held
21:08:13.608 > [136104][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253
21:08:13.615 > [136113][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1
21:08:13.625 > [136122][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0
21:08:13.636 > [136134][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0
21:08:13.642 > [136142][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 14 size: 1
21:08:13.653 > [136150][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x02
21:08:13.659 > [136157][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0
21:08:13.670 > [136167][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: held
21:08:13.675 > [136175][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x2
21:08:13.687 > [136187][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8
21:08:13.704 > [136203][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x2
21:08:13.715 > [136215][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54
21:08:13.726 > [136226][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle
21:08:13.736 > Relay[2] toggle (duration 0 ms)
21:08:13.736 > Relay[2] turn ON (duration 0 ms)
21:08:13.742 > Channel(2) value changed to 1
21:08:13.742 > [136236][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------
push again 1 - duplicate
21:08:13.765 > Send: [53 55 50 4C 41 17 30 00 00 00 67 00 00 00 0E 00 00 00 02 00 00 00 00 00 01 00 00 00 00 00 00 00 ]
21:08:13.770 > Send: [53 55 50 4C 41 ]
21:08:33.297 > [0;32m[155794][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253[0m
21:08:33.304 > [0;32m[155803][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1[0m
21:08:33.315 > [0;32m[155812][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0[0m
21:08:33.327 > [0;32m[155824][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0[0m
21:08:33.332 > [0;32m[155832][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 20 size: 1[0m
21:08:33.343 > [0;32m[155840][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x00 [0m
21:08:33.349 > [0;32m[155847][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0[0m
21:08:33.360 > [0;32m[155857][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: pushed[0m
21:08:33.365 > [0;32m[155865][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x0[0m
21:08:33.377 > [0;32m[155877][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8[0m
21:08:33.393 > [0;32m[155893][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x0[0m
21:08:33.405 > [0;32m[155905][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54[0m
21:08:33.415 > [0;32m[155917][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle[0m
21:08:33.427 > Relay[0] toggle (duration 0 ms)
21:08:33.427 > Relay[0] turn OFF (duration 0 ms)
21:08:33.432 > Channel(0) value changed to 0
21:08:33.432 > [0;32m[155926][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------[0m
21:08:33.455 > Send: [53 55 50 4C 41 17 31 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
21:08:33.461 > Send: [53 55 50 4C 41 ]
21:08:34.289 > [0;32m[156787][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253[0m
21:08:34.297 > [0;32m[156796][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1[0m
21:08:34.308 > [0;32m[156805][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0[0m
21:08:34.318 > [0;32m[156817][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0[0m
21:08:34.324 > [0;32m[156824][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 26 size: 1[0m
21:08:34.335 > [0;32m[156832][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x00 [0m
21:08:34.340 > [0;32m[156839][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0[0m
21:08:34.352 > [0;32m[156849][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: pushed[0m
21:08:34.358 > [0;32m[156857][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x0[0m
21:08:34.368 > [0;32m[156870][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8[0m
21:08:34.385 > [0;32m[156885][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x0[0m
21:08:34.397 > [0;32m[156898][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54[0m
21:08:34.408 > [0;32m[156909][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle[0m
21:08:34.418 > Relay[0] toggle (duration 0 ms)
21:08:34.418 > Relay[0] turn ON (duration 0 ms)
21:08:34.425 > Channel(0) value changed to 1
21:08:34.425 > [0;32m[156918][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------[0m
held to turn off - duplicate
21:12:17.846 > Recv: [53 55 50 4C 41 17 37 00 00 00 32 00 00 00 10 00 00 00 A2 2E 9D 67 00 00 00 00 59 D6 0B 00 00 00 00 00 53 55 50 4C 41 ]
21:12:25.742 > [0;32m[388240][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253[0m
21:12:25.750 > [0;32m[388249][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1[0m
21:12:25.760 > [0;32m[388258][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0[0m
21:12:25.771 > [0;32m[388270][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0[0m
21:12:25.776 > [0;32m[388278][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 14 size: 1[0m
21:12:25.786 > [0;32m[388286][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x02 [0m
21:12:25.793 > [0;32m[388292][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0[0m
21:12:25.805 > [0;32m[388302][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: held[0m
21:12:25.810 > [0;32m[388310][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x2[0m
21:12:25.822 > [0;32m[388323][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8[0m
21:12:25.838 > [0;32m[388339][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x2[0m
21:12:25.849 > [0;32m[388351][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54[0m
21:12:25.860 > [0;32m[388362][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle[0m
21:12:25.872 > Relay[2] toggle (duration 0 ms)
21:12:25.872 > Relay[2] turn OFF (duration 0 ms)
21:12:25.876 > Channel(2) value changed to 0
21:12:25.876 > [0;32m[388371][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------[0m
21:12:25.901 > Send: [53 55 50 4C 41 17 3F 00 00 00 67 00 00 00 0E 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
21:12:25.906 > Send: [53 55 50 4C 41 ]
21:12:26.738 > [0;32m[389235][I][ZigbeeHandlers.cpp:52] zb_raw_cmd_handler(): cluster id: 0x6, command id: 253[0m
21:12:26.744 > [0;32m[389244][I][ZigbeeHandlers.cpp:53] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1[0m
21:12:26.755 > [0;32m[389253][I][ZigbeeHandlers.cpp:54] zb_raw_cmd_handler(): is common comand 0, disable_default_response 0, is_manuf_specific 0[0m
21:12:26.766 > [0;32m[389265][I][ZigbeeHandlers.cpp:55] zb_raw_cmd_handler(): manuf_specific 0x0[0m
21:12:26.771 > [0;32m[389273][I][ZigbeeHandlers.cpp:57] zb_raw_cmd_handler(): RAW bufid: 17 size: 1[0m
21:12:26.783 > [0;32m[389281][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): 0x02 [0m
21:12:26.788 > [0;32m[389287][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x1a0b, 0x1a0b, 0x0, 0x0[0m
21:12:26.800 > [0;32m[389298][I][ZigbeeGateway.cpp:858] zbRawCmdHandler(): Button nr 1 was: held[0m
21:12:26.806 > [0;32m[389305][I][Z2S_Devices_Table.cpp:354] Z2S_onOnOffCustomCmdReceive(): Z2S_onOnOffCustomCmdReceive command id 0xfd, command data 0x2[0m
21:12:26.816 > [0;32m[389318][I][Z2S_Devices_Table.cpp:53] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0x2af8[0m
21:12:26.833 > [0;32m[389334][I][Z2S_Devices_Table.cpp:362] Z2S_onOnOffCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x2[0m
21:12:26.844 > [0;32m[389346][I][Z2S_Devices_Table.cpp:364] Z2S_onOnOffCustomCmdReceive(): element->getChannel()->getChannelType() 0xb54[0m
21:12:26.856 > [0;32m[389357][I][Z2S_Devices_Table.cpp:367] Z2S_onOnOffCustomCmdReceive(): trying to toggle[0m
21:12:26.866 > Relay[2] toggle (duration 0 ms)
21:12:26.866 > Relay[2] turn ON (duration 0 ms)
21:12:26.873 > Channel(2) value changed to 1
21:12:26.873 > [0;32m[389366][I][ZigbeeHandlers.cpp:74] zb_raw_cmd_handler(): ----------------------------raw command proccessed---------------------------------------------------------------[0m