Dziękuje za pomoc. Siedziałem nad tym ze 2h i nic...
Code: Select all
Using 'COM4' as serial port.
Showing logs:
[21:56:31]Send: [53 55 50 4C 41 17 0C 00 00 00 28 00 00 00 10 00 00 00 91 E4 51 68 00 00 00 00 E8 AC 0E 00 00 00 00 00 ]
[21:56:31]Send: [53 55 50 4C 41 ]
[21:56:31]Recv: [53 55 50 4C 41 17 0D 00 00 00 32 00 00 00 10 00 00 00 72 C8 51 68 00 00 00 00 C2 64 0B 00 00 00 00 00 53 55 50 4C 41 ]
[21:56:47][120005][I][Z2S_Gateway.ino:1261] loop(): New UTC time 803512609, new local time 803512609
[21:56:47][120006][I][Z2S_Gateway.ino:1275] loop(): Local Time Cluster UTC time attribute 803512609, local time attribute 803512609
[21:56:49][122153][I][ZigbeeCore.cpp:355] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0x0c81)
[21:56:49][122153][D][ZigbeeGateway.cpp:518] zbDeviceAnnce(): zbDeviceAnnce short address (0xc81), ieee_addr (0xa4):(0xc1):(0x38):(0x2c):(0x68):(0xaf):(0xac):(0x5e)
[21:56:49][122154][D][ZigbeeGateway.cpp:521] zbDeviceAnnce(): zbDeviceAnnce joined device short address (0xc81), ieee_addr (0xa4):(0xc1):(0x38):(0x2c):(0x68):(0xaf):(0xac):(0x5e)
[21:56:49][122155][I][ZigbeeGateway.cpp:545] zbDeviceAnnce(): Tuya magic last hope
[21:56:49][122359][I][ZigbeeGateway.cpp:588] printJoinedDevices(): joined devices:
[21:56:49][122359][I][ZigbeeGateway.cpp:591] printJoinedDevices(): Device on endpoint 1, short address: 0xc81
[21:56:49][122360][I][ZigbeeGateway.cpp:349] zbQueryDeviceBasicCluster(): Query basic cluster attribute 0x4
[21:56:49][122447][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1000) callback
[21:56:49][122448][I][ZigbeeGateway.cpp:382] zbReadBasicCluster(): Peer Manufacturer is "eWeLink"
[21:56:49][122448][I][ZigbeeGateway.cpp:402] zbReadBasicCluster(): ZCL version id is "3"
[21:56:49][122449][I][ZigbeeGateway.cpp:408] zbReadBasicCluster(): ZCL application version id is "113"
[21:56:49][122449][I][ZigbeeGateway.cpp:389] zbReadBasicCluster(): Peer Model is "SNZB-02"
[21:56:49][122450][I][ZigbeeGateway.cpp:414] zbReadBasicCluster(): ZCL power source id is "3"
[21:56:49][122464][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1000) callback
[21:56:49][122465][I][ZigbeeGateway.cpp:382] zbReadBasicCluster(): Peer Manufacturer is "eWeLink"
[21:56:50][122860][I][ZigbeeGateway.cpp:355] zbQueryDeviceBasicCluster(): basic tsn 0x1
[21:56:50][122861][I][ZigbeeGateway.cpp:349] zbQueryDeviceBasicCluster(): Query basic cluster attribute 0x5
[21:56:50][122923][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1000) callback
[21:56:50][122924][I][ZigbeeGateway.cpp:389] zbReadBasicCluster(): Peer Model is "SNZB-02"
[21:56:50][123361][I][ZigbeeGateway.cpp:355] zbQueryDeviceBasicCluster(): basic tsn 0x2
[21:56:50][123362][I][ZigbeeGateway.cpp:1239] sendAttributeWrite(): Sending 'write attribute' command - id (0xffde), type (0x20), size (0x1), value (0x13)
[21:56:50][123422][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1001) callback
[21:56:51][123862][I][ZigbeeGateway.cpp:1239] sendAttributeWrite(): Sending 'write attribute' command - id (0x9), type (0x20), size (0x1), value (0x1)
[21:56:51][123922][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x1001) callback
[21:56:51][124364][D][Z2S_Gateway.ino:1867] loop(): Unknown model eWeLink::SNZB-02, no binding is possible
[21:56:52][125422][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:52][125423][I][ZigbeeGateway.cpp:765] zbAttributeReporting(): zbAttributeReporting power config battery percentage remaining 200
[21:56:52][125424][I][z2s_devices_table.cpp:1222] Z2S_onBatteryReceive(): onBatteryReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, attribute id 0x21, value 200
[21:56:52][125424][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0xffffffff, channel type 0xffffffff
[21:56:52][125425][I][z2s_devices_table.cpp:1228] Z2S_onBatteryReceive(): No channel found for address ^h,8
[21:56:52][125560][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:52][125560][I][ZigbeeGateway.cpp:772] zbAttributeReporting(): zbAttributeReporting power config battery voltage 30
[21:56:52][125561][I][z2s_devices_table.cpp:1222] Z2S_onBatteryReceive(): onBatteryReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, attribute id 0x20, value 30
[21:56:52][125562][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0xffffffff, channel type 0xffffffff
[21:56:52][125562][I][z2s_devices_table.cpp:1228] Z2S_onBatteryReceive(): No channel found for address ^h,8
[21:56:53][125709][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:53][125710][I][ZigbeeGateway.cpp:629] zbAttributeReporting(): zbAttributeReporting temperature measurement 27.049999
[21:56:53][125710][I][z2s_devices_table.cpp:719] Z2S_onTemperatureReceive(): onTemperatureReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1
[21:56:53][125711][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, channel type 0xbde
[21:56:53][125712][I][z2s_devices_table.cpp:725] Z2S_onTemperatureReceive(): No channel found for address ^h,8
[21:56:54][125770][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:54][125771][I][ZigbeeGateway.cpp:638] zbAttributeReporting(): zbAttributeReporting humidity measurement 66.830002
[21:56:54][125771][I][z2s_devices_table.cpp:732] Z2S_onHumidityReceive(): onHumidityReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1
[21:56:54][125772][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, channel type 0xbde
[21:56:54][125773][I][z2s_devices_table.cpp:738] Z2S_onHumidityReceive(): No channel found for address ^h,8
[21:56:56]Send: [53 55 50 4C 41 17 0D 00 00 00 28 00 00 00 10 00 00 00 AA E4 51 68 00 00 00 00 6A C0 0E 00 00 00 00 00 ]
[21:56:56]Send: [53 55 50 4C 41 ]
[21:56:56]Recv: [53 55 50 4C 41 17 0E 00 00 00 32 00 00 00 10 00 00 00 8B C8 51 68 00 00 00 00 FB 37 0C 00 00 00 00 00 53 55 50 4C 41 ]
[21:56:57][130028][I][Z2S_Gateway.ino:1306] loop(): Device on endpoint(0x1), short address(0xa987), model id(0x1000), cluster id(0x1), rejoined(NO)
[21:56:57][130029][I][Z2S_Gateway.ino:1308] loop(): Gateway version: 0.8.23-07/06/2025
[21:56:57][130030][I][Z2S_Gateway.ino:1311] loop(): Zigbee TX power: 20
[21:56:57][130030][I][Z2S_Gateway.ino:1337] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130030
[21:56:57][130031][I][Z2S_Gateway.ino:1306] loop(): Device on endpoint(0x1), short address(0xa987), model id(0x1000), cluster id(0x402), rejoined(NO)
[21:56:57][130031][I][Z2S_Gateway.ino:1308] loop(): Gateway version: 0.8.23-07/06/2025
[21:56:57][130032][I][Z2S_Gateway.ino:1311] loop(): Zigbee TX power: 20
[21:56:57][130032][I][Z2S_Gateway.ino:1337] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130032
[21:56:57][130033][I][Z2S_Gateway.ino:1306] loop(): Device on endpoint(0x1), short address(0xa987), model id(0x1000), cluster id(0x405), rejoined(NO)
[21:56:57][130034][I][Z2S_Gateway.ino:1308] loop(): Gateway version: 0.8.23-07/06/2025
[21:56:57][130034][I][Z2S_Gateway.ino:1311] loop(): Zigbee TX power: 20
[21:56:57][130035][I][Z2S_Gateway.ino:1337] loop(): getZbgDeviceUnitLastSeenMs 0, current millis 130035
[21:56:59][132227][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:59][132228][I][ZigbeeGateway.cpp:765] zbAttributeReporting(): zbAttributeReporting power config battery percentage remaining 200
[21:56:59][132228][I][z2s_devices_table.cpp:1222] Z2S_onBatteryReceive(): onBatteryReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, attribute id 0x21, value 200
[21:56:59][132229][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0xffffffff, channel type 0xffffffff
[21:56:59][132230][I][z2s_devices_table.cpp:1228] Z2S_onBatteryReceive(): No channel found for address ^h,8
[21:56:59][132290][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:59][132291][I][ZigbeeGateway.cpp:772] zbAttributeReporting(): zbAttributeReporting power config battery voltage 30
[21:56:59][132292][I][z2s_devices_table.cpp:1222] Z2S_onBatteryReceive(): onBatteryReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, attribute id 0x20, value 30
[21:56:59][132292][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0xffffffff, channel type 0xffffffff
[21:56:59][132293][I][z2s_devices_table.cpp:1228] Z2S_onBatteryReceive(): No channel found for address ^h,8
[21:56:59][132374][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:59][132374][I][ZigbeeGateway.cpp:629] zbAttributeReporting(): zbAttributeReporting temperature measurement 27.049999
[21:56:59][132375][I][z2s_devices_table.cpp:719] Z2S_onTemperatureReceive(): onTemperatureReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1
[21:56:59][132376][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, channel type 0xbde
[21:56:59][132376][I][z2s_devices_table.cpp:725] Z2S_onTemperatureReceive(): No channel found for address ^h,8
[21:56:59][132439][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:56:59][132440][I][ZigbeeGateway.cpp:638] zbAttributeReporting(): zbAttributeReporting humidity measurement 66.830002
[21:56:59][132440][I][z2s_devices_table.cpp:732] Z2S_onHumidityReceive(): onHumidityReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1
[21:56:59][132441][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, channel type 0xbde
[21:56:59][132442][I][z2s_devices_table.cpp:738] Z2S_onHumidityReceive(): No channel found for address ^h,8
[21:57:03][135845][I][ZigbeeHandlers.cpp:37] zb_action_handler(): Receive Zigbee action(0x2000) callback
[21:57:03][135846][I][ZigbeeGateway.cpp:638] zbAttributeReporting(): zbAttributeReporting humidity measurement 63.130001
[21:57:03][135846][I][z2s_devices_table.cpp:732] Z2S_onHumidityReceive(): onHumidityReceive a4:c1:38:2c:68:af:ac:5e, endpoint 0x1
[21:57:03][135847][I][z2s_devices_table.cpp:99] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot a4:c1:38:2c:68:af:ac:5e, endpoint 0x1, channel type 0xbde
[21:57:03][135848][I][z2s_devices_table.cpp:738] Z2S_onHumidityReceive(): No channel found for address ^h,8
[21:57:18]
Serial port closed!