vajera wrote: Mon May 19, 2025 8:45 am
Dodałem ten sygnalizator w wersji
0.7.91-19/05/2025, ale póki co tylko jako jeden przekaźnik bo musimy go przetestować czy on działa poprzez Tuya custom cluster czy przez IAS WD.
Daj znać kiedy miałbyś czas na testy to napiszę Ci kilka rozkazów do wypróbowania.
Czujnik dodany. Dodał się jeden kanał 0/1 . Jak go włączam to uruchamia się tylko optyka w nim. Logi z włączenia :
Code: Select all
18:34:27.276 -> [ 60002][I][Z2S_Gateway.ino:1200] loop(): Local Time Cluster UTC time attribute 800994866, local time attribute 800994866
18:34:35.969 -> Recv: [53 55 50 4C 41 17 15 00 00 00 6E 00 00 00 11 00 00 00 00 00 00 00 02 00 00 00 00 01 00 00 00 00 00 00 00 53 55 50 4C 41 ]
18:34:35.969 -> Relay[2] turn ON (duration 0 ms)
18:34:36.050 -> [ 68802][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1005) callback
18:34:36.050 -> [ 68802][I][ZigbeeGateway.cpp:1561] zbCmdDefaultResponse(): zbCustomCmd default response async, tsn 0x1[0x0]
18:34:36.050 -> [ 68803][I][ZigbeeGateway.cpp:1563] zbCmdDefaultResponse(): custom cmd rssi -67
18:34:36.185 -> Channel(2) value changed to 1
18:34:36.185 -> Send: [53 55 50 4C 41 17 16 00 00 00 78 00 00 00 06 00 00 00 02 00 00 00 00 01 ]
18:34:36.185 -> Send: [53 55 50 4C 41 ]
18:34:36.185 -> Send: [53 55 50 4C 41 17 17 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 ]
18:34:36.185 -> Send: [53 55 50 4C 41 ]
18:34:36.467 -> [ 69203][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
18:34:36.467 -> [ 69203][I][ZigbeeGateway.cpp:679] zbAttributeReporting(): zbAttributeReporting on/off report ON
18:34:36.467 -> [ 69204][I][z2s_devices_table.cpp:938] Z2S_onOnOffReceive(): onOnOffReceive 0xa4:0xc1:0x38:0xe5:0x2a:0xf5:0xdf:0x98, endpoint 0x1
18:34:36.467 -> [ 69205][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xe5:0x2a:0xf5:0xdf:0x98, endpoint 0x1, channel type 0xb54
18:34:37.296 -> [ 70026][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 70026
18:34:37.296 -> [ 70027][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 70027
18:34:37.296 -> [ 70028][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 70028
18:34:37.296 -> [ 70028][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 70028
18:34:37.296 -> [ 70029][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 70029
18:34:37.296 -> [ 70029][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 69203, current millis 70029
18:34:51.299 -> NLME Status Indication, status: 0x12
18:34:54.313 -> NLME Status Indication, status: 0x12
18:34:57.298 -> NLME Status Indication, status: 0x12
18:35:01.001 -> Send: [53 55 50 4C 41 17 18 00 00 00 28 00 00 00 10 00 00 00 D4 79 2B 68 00 00 00 00 CC 69 05 00 00 00 00 00 ]
18:35:01.001 -> Send: [53 55 50 4C 41 ]
18:35:01.095 -> Recv: [53 55 50 4C 41 17 16 00 00 00 32 00 00 00 10 00 00 00 B4 5D 2B 68 00 00 00 00 D7 35 0F 00 00 00 00 00 53 55 50 4C 41 ]
A tu logi z wyłączenia :
Code: Select all
18:35:33.227 -> Recv: [53 55 50 4C 41 17 18 00 00 00 6E 00 00 00 11 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 53 55 50 4C 41 ]
18:35:33.227 -> Relay[2] turn OFF (duration 0 ms)
18:35:33.312 -> [126056][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1005) callback
18:35:33.312 -> [126057][I][ZigbeeGateway.cpp:1561] zbCmdDefaultResponse(): zbCustomCmd default response async, tsn 0x2[0x0]
18:35:33.312 -> [126057][I][ZigbeeGateway.cpp:1563] zbCmdDefaultResponse(): custom cmd rssi -67
18:35:33.444 -> Channel(2) value changed to 0
18:35:33.444 -> Send: [53 55 50 4C 41 17 1A 00 00 00 78 00 00 00 06 00 00 00 02 00 00 00 00 01 ]
18:35:33.444 -> Send: [53 55 50 4C 41 ]
18:35:33.444 -> Send: [53 55 50 4C 41 17 1B 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 ]
18:35:33.444 -> Send: [53 55 50 4C 41 ]
18:35:33.727 -> [126457][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
18:35:33.727 -> [126458][I][ZigbeeGateway.cpp:679] zbAttributeReporting(): zbAttributeReporting on/off report OFF
18:35:33.727 -> [126458][I][z2s_devices_table.cpp:938] Z2S_onOnOffReceive(): onOnOffReceive 0xa4:0xc1:0x38:0xe5:0x2a:0xf5:0xdf:0x98, endpoint 0x1
18:35:33.727 -> [126459][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xe5:0x2a:0xf5:0xdf:0x98, endpoint 0x1, channel type 0xb54
18:35:37.304 -> [130041][I][Z2S_Gateway.ino:1231] loop(): Device on endpoint(0x1), short address(0xfd9d), model id(0x0), cluster id(0x6), rejoined(NO)
18:35:37.304 -> [130042][I][Z2S_Gateway.ino:1233] loop(): Gateway version: 0.7.92-19/05/2025
18:35:37.304 -> [130043][I][Z2S_Gateway.ino:1236] loop(): Zigbee TX power: 20
18:35:37.304 -> [130043][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130043
18:35:37.304 -> [130044][I][Z2S_Gateway.ino:1231] loop(): Device on endpoint(0x1), short address(0x5157), model id(0x2000), cluster id(0x1), rejoined(NO)
18:35:37.304 -> [130045][I][Z2S_Gateway.ino:1233] loop(): Gateway version: 0.7.92-19/05/2025
18:35:37.304 -> [130045][I][Z2S_Gateway.ino:1236] loop(): Zigbee TX power: 20
18:35:37.304 -> [130046][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130046
18:35:37.304 -> [130046][I][Z2S_Gateway.ino:1231] loop(): Device on endpoint(0x1), short address(0x5157), model id(0x2000), cluster id(0x500), rejoined(NO)
18:35:37.304 -> [130047][I][Z2S_Gateway.ino:1233] loop(): Gateway version: 0.7.92-19/05/2025
18:35:37.304 -> [130047][I][Z2S_Gateway.ino:1236] loop(): Zigbee TX power: 20
18:35:37.304 -> [130048][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130048
18:35:37.304 -> [130048][I][Z2S_Gateway.ino:1231] loop(): Device on endpoint(0x1), short address(0x79dd), model id(0x2000), cluster id(0x1), rejoined(NO)
18:35:37.304 -> [130049][I][Z2S_Gateway.ino:1233] loop(): Gateway version: 0.7.92-19/05/2025
18:35:37.304 -> [130050][I][Z2S_Gateway.ino:1236] loop(): Zigbee TX power: 20
18:35:37.304 -> [130050][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130050
18:35:37.304 -> [130051][I][Z2S_Gateway.ino:1231] loop(): Device on endpoint(0x1), short address(0x79dd), model id(0x2000), cluster id(0x500), rejoined(NO)
18:35:37.304 -> [130052][I][Z2S_Gateway.ino:1233] loop(): Gateway version: 0.7.92-19/05/2025
18:35:37.304 -> [130052][I][Z2S_Gateway.ino:1236] loop(): Zigbee TX power: 20
18:35:37.304 -> [130052][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130052
18:35:37.304 -> [130053][I][Z2S_Gateway.ino:1231] loop(): Device on endpoint(0x1), short address(0x5336), model id(0x6600), cluster id(0x0), rejoined(NO)
18:35:37.304 -> [130054][I][Z2S_Gateway.ino:1233] loop(): Gateway version: 0.7.92-19/05/2025
18:35:37.304 -> [130054][I][Z2S_Gateway.ino:1236] loop(): Zigbee TX power: 20
18:35:37.304 -> [130055][I][Z2S_Gateway.ino:1239] loop(): getZbgDeviceUnitLastSeenMs 126458, current millis 130055