Dyskusja ogólna [bramka Zigbee]
Moderator: vajera
-
vajera
- Posts: 7290
- Joined: Wed Oct 31, 2018 7:58 am
- Location: Biedrusko
- Has thanked: 289 times
- Been thanked: 161 times
Zgodnie z sugestią @klew usunąłem funkcję setBatteryPowered przy inicjalizacji czujników, więc teraz ikona stanu baterii pojawi się dopiero gdy czujnik wyśle pierwsze info z klastra 0x01(power_cfg) a to może potrwać. Do rozważenia czy po powrocie dodaniu urządzenia nie wysyłać jednorazowo zapytania o ten stan skoro Supla go później pamięta.
Z tą utratą łączności po restarcie mam jeszcze jeden trop do sprawdzenia.
Z tą utratą łączności po restarcie mam jeszcze jeden trop do sprawdzenia.
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
Ale dodałeś "battery level"?vajera wrote: Fri Jan 24, 2025 1:44 pm Zgodnie z sugestią @klew usunąłem funkcję setBatteryPowered przy inicjalizacji czujników, więc teraz ikona stanu baterii pojawi się dopiero gdy czujnik wyśle pierwsze info z klastra 0x01(power_cfg) a to może potrwać. Do rozważenia czy po powrocie dodaniu urządzenia nie wysyłać jednorazowo zapytania o ten stan skoro Supla go później pamięta.
Z tą utratą łączności po restarcie mam jeszcze jeden trop do sprawdzenia.
-
vajera
- Posts: 7290
- Joined: Wed Oct 31, 2018 7:58 am
- Location: Biedrusko
- Has thanked: 289 times
- Been thanked: 161 times
Jest tam cały czas.lukasz06 wrote: Fri Jan 24, 2025 4:04 pmAle dodałeś "battery level"?vajera wrote: Fri Jan 24, 2025 1:44 pm Zgodnie z sugestią @klew usunąłem funkcję setBatteryPowered przy inicjalizacji czujników, więc teraz ikona stanu baterii pojawi się dopiero gdy czujnik wyśle pierwsze info z klastra 0x01(power_cfg) a to może potrwać. Do rozważenia czy po powrocie dodaniu urządzenia nie wysyłać jednorazowo zapytania o ten stan skoro Supla go później pamięta.
Z tą utratą łączności po restarcie mam jeszcze jeden trop do sprawdzenia.
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
-
[email protected]
- Posts: 1585
- Joined: Mon Feb 06, 2023 8:56 am
- Has thanked: 18 times
- Been thanked: 26 times
Gniazdko _TZ3000_ww6drja5::TS011F
Jeśli dobrze rozumuje:
ma clustry:
* 0x6 ESP_ZB_ZCL_CLUSTER_ID_ON_OFF
* 0xb04 ESP_ZB_ZCL_CLUSTER_ID_ELECTRICAL_MEASUREMENT
* 0x702 ESP_ZB_ZCL_CLUSTER_ID_METERING
na próbę zrobiłem tak jak poniżej, prawie dobrze, sterowanie działa, nie pokazuje napięcia
EDIT: pokazuje napięcie jak jest spięty włącznik z licznikiem
Jeśli dobrze rozumuje:
ma clustry:
* 0x6 ESP_ZB_ZCL_CLUSTER_ID_ON_OFF
* 0xb04 ESP_ZB_ZCL_CLUSTER_ID_ELECTRICAL_MEASUREMENT
* 0x702 ESP_ZB_ZCL_CLUSTER_ID_METERING
Code: Select all
17:54:10.670 > [ 7189][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: NWK Device Associated (0x12), status: ESP_OK
17:54:10.681 > [ 7202][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
17:54:10.718 > [ 7237][I][ZigbeeCore.cpp:324] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0xdc6c)
17:54:10.723 > [ 7248][V][ZigbeeCore.cpp:328] esp_zb_app_signal_handler(): Device capabilities: 0x8e
17:54:10.756 > [ 7276][D][ZigbeeGateway.cpp:152] find_Cb(): Sensor found: short address(0xdc6c), endpoint(1)
17:54:10.766 > [ 7286][I][ZigbeeGateway.cpp:342] printJoinedDevices(): joined devices:
17:54:10.772 > [ 7292][I][ZigbeeGateway.cpp:345] printJoinedDevices(): Device on endpoint 1, short address: 0xdc6c
17:54:10.803 > [ 7323][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x1000) callback
17:54:10.809 > [ 7332][V][ZigbeeHandlers.cpp:94] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x0)
17:54:10.826 > [ 7346][V][ZigbeeHandlers.cpp:103] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x4), type(0x42), value(16)
17:54:10.837 > [ 7360][I][ZigbeeEP.cpp:223] zbReadBasicCluster(): Peer Manufacturer is "_TZ3000_ww6drja5"
17:54:10.849 > [ 7369][I][main.cpp:199] loop(): manufacturer _TZ3000_ww6drja5
17:54:10.883 > [ 7403][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x1000) callback
17:54:10.889 > [ 7412][V][ZigbeeHandlers.cpp:94] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x0)
17:54:10.906 > [ 7426][V][ZigbeeHandlers.cpp:103] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x5), type(0x42), value(6)
17:54:10.917 > [ 7440][I][ZigbeeEP.cpp:232] zbReadBasicCluster(): Peer Model is "TS011F"
17:54:10.928 > [ 7448][I][main.cpp:201] loop(): model TS011F
17:54:10.928 > [ 7453][I][main.cpp:270] loop(): LIST checking _TZ3000_akqdg6g7::TS0201, entry # 0
17:54:10.940 > [ 7460][I][main.cpp:270] loop(): LIST checking Xiaomi::LYWSD03MMC-z, entry # 1
17:54:10.946 > [ 7467][I][main.cpp:270] loop(): LIST checking _TZ3000_rdhukkmi::TS0201, entry # 2
17:54:10.951 > [ 7475][I][main.cpp:270] loop(): LIST checking _TZ3000_fllyghyj::TS0201, entry # 3
17:54:10.962 > [ 7482][I][main.cpp:270] loop(): LIST checking _TZ3000_v1w2k9dd::TS0201, entry # 4
17:54:10.968 > [ 7490][I][main.cpp:270] loop(): LIST checking _TZE204_upagmta9::TS0601, entry # 5
17:54:10.978 > [ 7498][I][main.cpp:270] loop(): LIST checking _TZ3000_xr3htd96::TS0201, entry # 6
17:54:10.983 > [ 7505][I][main.cpp:270] loop(): LIST checking SONOFF::SNZB-02D, entry # 7
17:54:10.993 > [ 7512][I][main.cpp:270] loop(): LIST checking _TZ3000_0hkmcrza::TS0203, entry # 8
17:54:11.004 > [ 7524][I][main.cpp:270] loop(): LIST checking TEST1::TS0202, entry # 9
17:54:11.010 > [ 7531][I][main.cpp:270] loop(): LIST checking _TZ3000_mcxw5ehu::TS0202, entry # 10
17:54:11.016 > [ 7538][I][main.cpp:270] loop(): LIST checking _TZ3000_26fmupbb::TS0203, entry # 11
17:54:11.028 > [ 7548][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
17:54:11.041 > [ 7561][I][main.cpp:270] loop(): LIST checking _TZ3000_rcuyhwe3::TS0203, entry # 12
17:54:11.047 > [ 7569][I][main.cpp:270] loop(): LIST checking _TZ3000_2mbfxlzr::TS0203, entry # 13
17:54:11.053 > [ 7576][I][main.cpp:270] loop(): LIST checking _TZE200_bh3n6gk8::TS0601, entry # 14
17:54:11.064 > [ 7580][I][ZigbeeCore.cpp:355] esp_zb_app_signal_handler(): Network(0x130a) is open for 180 seconds
17:54:11.074 > [ 7594][I][main.cpp:270] loop(): LIST checking _TZ3000_k4ej3ww2::TS0207, entry # 15
17:54:11.080 > [ 7601][I][main.cpp:270] loop(): LIST checking _TZ3000_85czd6fy::TS0207, entry # 16
17:54:11.086 > [ 7609][I][main.cpp:270] loop(): LIST checking _TZ3000_upgcbody::TS0207, entry # 17
17:54:11.097 > [ 7617][I][main.cpp:270] loop(): LIST checking TEST1::TS0205, entry # 18
17:54:11.102 > [ 7623][I][main.cpp:270] loop(): LIST checking _TZ3000_lf56vpxj::TS0202, entry # 19
17:54:11.107 > [ 7631][I][main.cpp:270] loop(): LIST checking _TZ3000_cehuw1lw::TS011F, entry # 20
17:54:11.113 > [ 7638][I][main.cpp:270] loop(): LIST checking _TZ3000_5f43h46b::TS011F, entry # 21
17:54:11.125 > [ 7646][I][main.cpp:270] loop(): LIST checking _TZ3000_w0qqde0g::TS011F, entry # 22
17:54:11.131 > [ 7654][I][main.cpp:270] loop(): LIST checking _TZ3000_wkai4ga5::TS0044, entry # 23
17:54:11.136 > [ 7661][I][main.cpp:270] loop(): LIST checking _TZ3000_yj6k7vfo::TS0041, entry # 24
17:54:11.147 > [ 7669][I][main.cpp:270] loop(): LIST checking _TZ3000_4fjiwweb::TS004F, entry # 25
17:54:11.153 > [ 7676][I][main.cpp:270] loop(): LIST checking _TZ3000_uri7ongn::TS004F, entry # 26
17:54:11.159 > [ 7683][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:11.173 > [ 7693][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0xb04)
17:54:11.184 > [ 7707][I][ZigbeeGateway.cpp:385] zbAttributeRead(): zbAttributeRead electrical measurement RMS voltage 218
17:54:11.195 > [ 7716][I][Z2S_Devices_Table.cpp:234] Z2S_onRMSVoltageReceive(): onRMSVoltageReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:11.207 > [ 7728][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0x1388
17:54:11.218 > [ 7743][I][Z2S_Devices_Table.cpp:238] Z2S_onRMSVoltageReceive(): No channel found for address SX�
8��
17:54:11.229 > [ 7752][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0xb04), attribute id (0x505), attribute data type (0x21)
17:54:11.249 > [ 7769][I][main.cpp:270] loop(): LIST checking _TZ3000_ixla93vd::TS004F, entry # 27
17:54:11.254 > [ 7776][I][main.cpp:270] loop(): LIST checking _TZ3000_qja6nq5z::TS004F, entry # 28
17:54:11.260 > [ 7784][I][main.cpp:270] loop(): LIST checking _TZ3000_abrsvsou::TS004F, entry # 29
17:54:11.272 > [ 7791][I][main.cpp:270] loop(): LIST checking IKEA of Sweden::Remote Control N2, entry # 30
17:54:11.278 > [ 7800][I][main.cpp:270] loop(): LIST checking _TZ3000_gjrubzje::TS0001, entry # 31
17:54:11.282 > [ 7808][D][main.cpp:272] loop(): Unknown model _TZ3000_ww6drja5::TS011F, no binding is possible
17:54:13.183 > [ 9702][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:13.188 > [ 9711][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0xb04)
17:54:13.198 > [ 9724][I][ZigbeeGateway.cpp:385] zbAttributeRead(): zbAttributeRead electrical measurement RMS voltage 234
17:54:13.211 > [ 9734][I][Z2S_Devices_Table.cpp:234] Z2S_onRMSVoltageReceive(): onRMSVoltageReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:13.222 > [ 9746][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0x1388
17:54:13.238 > [ 9761][I][Z2S_Devices_Table.cpp:238] Z2S_onRMSVoltageReceive(): No channel found for address SX�
8��
17:54:13.250 > [ 9770][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0xb04), attribute id (0x505), attribute data type (0x21)
17:54:16.149 > [ 12669][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.155 > [ 12678][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x6)
17:54:16.166 > [ 12691][I][ZigbeeGateway.cpp:377] zbAttributeRead(): zbAttributeRead on/off report OFF
17:54:16.177 > [ 12699][I][Z2S_Devices_Table.cpp:216] Z2S_onOnOffReceive(): onOnOffReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:16.189 > [ 12711][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0xb54
17:54:16.200 > [ 12725][I][Z2S_Devices_Table.cpp:220] Z2S_onOnOffReceive(): No channel found for address SX�
8��
17:54:16.211 > [ 12734][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x6), attribute id (0x0), attribute data type (0x10)
17:54:16.238 > [ 12758][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.244 > [ 12767][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x6)
17:54:16.255 > [ 12780][I][ZigbeeGateway.cpp:380] zbAttributeRead(): zbAttributeRead on/off cluster (0x6), attribute id (0x8000), attribute data type (0x10)
17:54:16.272 > [ 12793][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x6), attribute id (0x8000), attribute data type (0x10)
17:54:16.369 > [ 12889][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.375 > [ 12898][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x6)
17:54:16.386 > [ 12911][I][ZigbeeGateway.cpp:380] zbAttributeRead(): zbAttributeRead on/off cluster (0x6), attribute id (0x8001), attribute data type (0x30)
17:54:16.403 > [ 12924][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x6), attribute id (0x8001), attribute data type (0x30)
17:54:16.459 > [ 12979][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.465 > [ 12988][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x6)
17:54:16.476 > [ 13001][I][ZigbeeGateway.cpp:380] zbAttributeRead(): zbAttributeRead on/off cluster (0x6), attribute id (0x8002), attribute data type (0x30)
17:54:16.493 > [ 13014][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x6), attribute id (0x8002), attribute data type (0x30)
17:54:16.550 > [ 13070][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.556 > [ 13079][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0xb04)
17:54:16.567 > [ 13092][I][ZigbeeGateway.cpp:385] zbAttributeRead(): zbAttributeRead electrical measurement RMS voltage 234
17:54:16.579 > [ 13102][I][Z2S_Devices_Table.cpp:234] Z2S_onRMSVoltageReceive(): onRMSVoltageReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:16.590 > [ 13114][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0x1388
17:54:16.606 > [ 13129][I][Z2S_Devices_Table.cpp:238] Z2S_onRMSVoltageReceive(): No channel found for address SX�
8��
17:54:16.617 > [ 13138][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0xb04), attribute id (0x505), attribute data type (0x21)
17:54:16.676 > [ 13196][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.682 > [ 13205][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0xb04)
17:54:16.694 > [ 13218][I][ZigbeeGateway.cpp:391] zbAttributeRead(): zbAttributeRead electrical measurement RMS current 0
17:54:16.704 > [ 13228][I][Z2S_Devices_Table.cpp:252] Z2S_onRMSCurrentReceive(): onRMSCurrentReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:16.715 > [ 13240][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0x1388
17:54:16.694 > [ 13218][I][ZigbeeGateway.cpp:391] zbAttributeRead(): zbAttributeRead electrical measurement RMS current 0
17:54:16.704 > [ 13228][I][Z2S_Devices_Table.cpp:252] Z2S_onRMSCurrentReceive(): onRMSCurrentReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:16.694 > [ 13218][I][ZigbeeGateway.cpp:391] zbAttributeRead(): zbAttributeRead electrical measurement RMS current 0
17:54:16.694 > [ 13218][I][ZigbeeGateway.cpp:391] zbAttributeRead(): zbAttributeRead electrical measurement RMS current 0
17:54:16.704 > [ 13228][I][Z2S_Devices_Table.cpp:252] Z2S_onRMSCurrentReceive(): onRMSCurrentReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:16.715 > [ 13240][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0x1388
17:54:16.733 > [ 13255][I][Z2S_Devices_Table.cpp:256] Z2S_onRMSCurrentReceive(): No channel found for address SX�
8��
17:54:16.744 > [ 13264][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0xb04), attribute id (0x508), attribute data type (0x21)
17:54:16.796 > [ 13316][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.802 > [ 13324][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0xb04)
17:54:16.813 > [ 13338][I][ZigbeeGateway.cpp:397] zbAttributeRead(): zbAttributeRead electrical measurement RMS active power 0
17:54:16.825 > [ 13348][I][Z2S_Devices_Table.cpp:270] Z2S_onRMSActivePowerReceive(): onRMSVoltageReceive 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1
17:54:16.835 > [ 13361][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0xc:0xa5:0xf3:0x58:0x53, endpoint 0x1, channel type 0x1388
17:54:16.852 > [ 13375][I][Z2S_Devices_Table.cpp:274] Z2S_onRMSActivePowerReceive(): No channel found for address SX�
8��
17:54:16.864 > [ 13385][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0xb04), attribute id (0x50b), attribute data type (0x21)
17:54:16.929 > [ 13449][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:16.935 > [ 13458][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x702)
17:54:16.946 > [ 13472][I][ZigbeeGateway.cpp:409] zbAttributeRead(): zbAttributeRead metering cluster (0x702), attribute id (0x0), attribute data type (0x25)
17:54:16.964 > [ 13484][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x702), attribute id (0x0), attribute data type (0x25)
17:54:17.277 > [ 13797][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:17.283 > [ 13805][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x6)
17:54:17.294 > [ 13819][I][ZigbeeGateway.cpp:380] zbAttributeRead(): zbAttributeRead on/off cluster (0x6), attribute id (0x4001), attribute data type (0x21)
17:54:17.310 > [ 13831][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x6), attribute id (0x4001), attribute data type (0x21)
17:54:17.357 > [ 13876][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x2000) callback
17:54:17.362 > [ 13885][V][ZigbeeHandlers.cpp:72] zb_attribute_reporting_handler(): Received report from address(0xdc6c) src endpoint(1) to dst endpoint(1) cluster(0x6)
17:54:17.373 > [ 13898][I][ZigbeeGateway.cpp:380] zbAttributeRead(): zbAttributeRead on/off cluster (0x6), attribute id (0x4002), attribute data type (0x21)
17:54:17.390 > [ 13911][I][ZigbeeGateway.cpp:429] zbAttributeRead(): zbAttributeRead from (0x5853), endpoint (1), cluster (0x6), attribute id (0x4002), attribute data type (0x21)
Code: Select all
#define Z2S_DEVICE_DESC_RELAY_ELECTRICITY_METER1 0x4101
{ .z2s_device_desc_id = Z2S_DEVICE_DESC_RELAY_ELECTRICITY_METER1, .z2s_device_clusters_count = 3, .z2s_device_clusters =
{ ESP_ZB_ZCL_CLUSTER_ID_ON_OFF,
ESP_ZB_ZCL_CLUSTER_ID_METERING,
ESP_ZB_ZCL_CLUSTER_ID_ELECTRICAL_MEASUREMENT }},
{ .manufacturer_name = "_TZ3000_ww6drja5", .model_name = "TS011F",
.z2s_device_desc_id = Z2S_DEVICE_DESC_RELAY_ELECTRICITY_METER1, .z2s_device_endpoints_count = 1},
Last edited by [email protected] on Sat Jan 25, 2025 6:00 pm, edited 1 time in total.
-
[email protected]
- Posts: 1585
- Joined: Mon Feb 06, 2023 8:56 am
- Has thanked: 18 times
- Been thanked: 26 times
_TZ3000_wkai4ga5::TS0044
https://www.zigbee2mqtt.io/devices/TS0044.html
Włącznik scen , 4 przyciski, poczytałem instrukcję bo cisza jak się naciśnie przycisk i jest napisane, że w aplikacji trzeba ustawić co się kryje pod daną akcją :/
notatki na temat tego urządzenia:
Teoretycznie jak się to sparuje z bramka Tuya i zmieni tryb pracy to będzie działać - no ale nie mam takiej bramki
Można wymusić ustawienie switch_mode przez wyslanie parametru podczas parowania:
attributes.update({0x8004: ("switch_mode", SwitchMode)})
gdzie SwitchMode:
Command = 0x00
Event = 0x01
attributes.update({0x8002: ("power_on_state", PowerOnState)})
Off = 0x00
On = 0x01
LastState = 0x02
Nacisnąć 3i4 przycisk i przytrzymać w celu zmiany trybu pracy - nie działa
https://github.com/Koenkk/zigbee2mqtt/d ... nt-1726532
https://github.com/zigpy/zha-device-han ... -981588095
https://www.zigbee2mqtt.io/devices/TS004F.html
https://github.com/Koenkk/zigbee-herdsm ... a.ts#L3320
https://github.com/zigpy/zha-device-han ... 044.py#L46
https://www.zigbee2mqtt.io/devices/TS0044.html
Włącznik scen , 4 przyciski, poczytałem instrukcję bo cisza jak się naciśnie przycisk i jest napisane, że w aplikacji trzeba ustawić co się kryje pod daną akcją :/
notatki na temat tego urządzenia:
Teoretycznie jak się to sparuje z bramka Tuya i zmieni tryb pracy to będzie działać - no ale nie mam takiej bramki
Można wymusić ustawienie switch_mode przez wyslanie parametru podczas parowania:
attributes.update({0x8004: ("switch_mode", SwitchMode)})
gdzie SwitchMode:
Command = 0x00
Event = 0x01
attributes.update({0x8002: ("power_on_state", PowerOnState)})
Off = 0x00
On = 0x01
LastState = 0x02
Nacisnąć 3i4 przycisk i przytrzymać w celu zmiany trybu pracy - nie działa
https://github.com/Koenkk/zigbee2mqtt/d ... nt-1726532
https://github.com/zigpy/zha-device-han ... -981588095
https://www.zigbee2mqtt.io/devices/TS004F.html
https://github.com/Koenkk/zigbee-herdsm ... a.ts#L3320
https://github.com/zigpy/zha-device-han ... 044.py#L46
Code: Select all
18:48:58.226 > [ 3975][D][ZigbeeCore.cpp:138] zigbeeInit(): Initialize Zigbee stack
18:48:58.237 > [ 3985][D][ZigbeeCore.cpp:145] zigbeeInit(): Register all Zigbee EPs in list
18:48:58.248 > [ 3996][I][ZigbeeCore.cpp:153] zigbeeInit(): List of registered Zigbee EPs:
18:48:58.254 > [ 4004][I][ZigbeeCore.cpp:155] zigbeeInit(): Device type: Home Gateway, Endpoint: 1, Device ID: 0x0050
18:48:58.270 > [ 4018][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
18:48:58.276 > [ 4029][I][ZigbeeCore.cpp:245] esp_zb_app_signal_handler(): Zigbee stack initialized
18:48:58.294 > [ 4043][I][ZigbeeCore.cpp:357] esp_zb_app_signal_handler(): Network(0xf5f2) closed, devices joining not allowed.
18:48:58.306 > [ 4055][I][ZigbeeCore.cpp:251] esp_zb_app_signal_handler(): Device started up in non factory-reset mode
18:48:58.312 > [ 4065][I][ZigbeeCore.cpp:264] esp_zb_app_signal_handler(): Device rebooted
18:48:58.324 > [ 4073][I][ZigbeeCore.cpp:268] esp_zb_app_signal_handler(): Opening network for joining for 30 seconds
18:48:58.335 > [ 4083][D][ZigbeeCore.cpp:499] searchBindings(): Requesting binding table for address 0x0000
18:48:58.345 > [ 4093][D][ZigbeeCore.cpp:438] bindingTableCb(): Binding table callback for address 0x0000 with status 0
18:48:58.351 > [ 4104][D][ZigbeeCore.cpp:441] bindingTableCb(): Binding table info: total 0, index 0, count 0
18:48:58.363 > [ 4113][D][ZigbeeCore.cpp:444] bindingTableCb(): No binding table entries found
18:48:58.396 > Recv: [53 55 50 4C 41 17 02 00 00 00 AD 02 00 00 1B 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 55 50 4C 41 ]
18:48:58.408 > Received new device config
18:48:58.408 > Sending device config result OK (1)
18:48:58.413 > Send: [53 55 50 4C 41 17 03 00 00 00 B7 02 00 00 0A 00 00 00 01 00 00 00 00 00 00 00 00 00 ]
18:48:58.419 > Send: [53 55 50 4C 41 ]
18:48:58.505 > Recv: [53 55 50 4C 41 17 03 00 00 00 DC 00 00 00 03 00 00 00 1E 0A F0 53 55 50 4C 41 ]
18:48:58.511 > Activity timeout set to 30 s
18:48:58.812 > [ 4560][I][ZigbeeCore.cpp:355] esp_zb_app_signal_handler(): Network(0xf5f2) is open for 30 seconds
18:49:23.422 > Send: [53 55 50 4C 41 17 04 00 00 00 28 00 00 00 10 00 00 00 1C 00 00 00 00 00 00 00 31 3D 0C 00 00 00 00 00 ]
18:49:23.427 > Send: [53 55 50 4C 41 ]
18:49:23.590 > Recv: [53 55 50 4C 41 17 04 00 00 00 32 00 00 00 10 00 00 00 A2 D2 93 67 00 00 00 00 CC A7 08 00 00 00 00 00 53 55 50 4C 41 ]
18:49:25.391 > [ 31139][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: NWK Device Associated (0x12), status: ESP_OK
18:49:25.404 > [ 31152][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
18:49:25.653 > [ 31402][I][ZigbeeCore.cpp:324] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0xc414)
18:49:25.660 > [ 31413][V][ZigbeeCore.cpp:328] esp_zb_app_signal_handler(): Device capabilities: 0x80
18:49:25.764 > [ 31512][D][ZigbeeGateway.cpp:152] find_Cb(): Sensor found: short address(0xc414), endpoint(1)
18:49:25.775 > [ 31524][I][ZigbeeGateway.cpp:342] printJoinedDevices(): joined devices:
18:49:25.781 > [ 31532][I][ZigbeeGateway.cpp:345] printJoinedDevices(): Device on endpoint 1, short address: 0xc414
18:49:26.462 > [ 32209][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x1000) callback
18:49:26.467 > [ 32219][V][ZigbeeHandlers.cpp:94] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0xc414) src endpoint(1) to dst endpoint(1) cluster(0x0)
18:49:26.484 > [ 32234][V][ZigbeeHandlers.cpp:103] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x4), type(0x42), value(16)
18:49:26.501 > [ 32249][I][ZigbeeEP.cpp:223] zbReadBasicCluster(): Peer Manufacturer is "_TZ3000_wkai4ga5"
18:49:26.512 > [ 32260][I][main.cpp:199] loop(): manufacturer _TZ3000_wkai4ga5
18:49:27.231 > [ 32979][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x1000) callback
18:49:27.236 > [ 32988][V][ZigbeeHandlers.cpp:94] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0xc414) src endpoint(1) to dst endpoint(1) cluster(0x0)
18:49:27.253 > [ 33004][V][ZigbeeHandlers.cpp:103] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x5), type(0x42), value(6)
18:49:27.270 > [ 33018][I][ZigbeeEP.cpp:232] zbReadBasicCluster(): Peer Model is "TS0044"
18:49:27.280 > [ 33029][I][main.cpp:201] loop(): model TS0044
18:49:27.280 > [ 33034][I][main.cpp:270] loop(): LIST checking _TZ3000_akqdg6g7::TS0201, entry # 0
18:49:27.292 > [ 33042][I][main.cpp:270] loop(): LIST checking Xiaomi::LYWSD03MMC-z, entry # 1
18:49:27.297 > [ 33050][I][main.cpp:270] loop(): LIST checking _TZ3000_rdhukkmi::TS0201, entry # 2
18:49:27.309 > [ 33059][I][main.cpp:270] loop(): LIST checking _TZ3000_fllyghyj::TS0201, entry # 3
18:49:27.314 > [ 33067][I][main.cpp:270] loop(): LIST checking _TZ3000_v1w2k9dd::TS0201, entry # 4
18:49:27.325 > [ 33076][I][main.cpp:270] loop(): LIST checking _TZE204_upagmta9::TS0601, entry # 5
18:49:27.331 > [ 33084][I][main.cpp:270] loop(): LIST checking _TZ3000_xr3htd96::TS0201, entry # 6
18:49:27.342 > [ 33093][I][main.cpp:270] loop(): LIST checking SONOFF::SNZB-02D, entry # 7
18:49:27.348 > [ 33101][I][main.cpp:270] loop(): LIST checking _TZ3000_0hkmcrza::TS0203, entry # 8
18:49:27.359 > [ 33109][I][main.cpp:270] loop(): LIST checking TEST1::TS0202, entry # 9
18:49:27.365 > [ 33116][I][main.cpp:270] loop(): LIST checking _TZ3000_mcxw5ehu::TS0202, entry # 10
18:49:27.377 > [ 33125][I][main.cpp:270] loop(): LIST checking _TZ3000_26fmupbb::TS0203, entry # 11
18:49:27.382 > [ 33133][I][main.cpp:270] loop(): LIST checking _TZ3000_rcuyhwe3::TS0203, entry # 12
18:49:27.394 > [ 33142][I][main.cpp:270] loop(): LIST checking _TZ3000_2mbfxlzr::TS0203, entry # 13
18:49:27.399 > [ 33150][I][main.cpp:270] loop(): LIST checking _TZE200_bh3n6gk8::TS0601, entry # 14
18:49:27.410 > [ 33159][I][main.cpp:270] loop(): LIST checking _TZ3000_k4ej3ww2::TS0207, entry # 15
18:49:27.416 > [ 33168][I][main.cpp:270] loop(): LIST checking _TZ3000_85czd6fy::TS0207, entry # 16
18:49:27.427 > [ 33176][I][main.cpp:270] loop(): LIST checking _TZ3000_upgcbody::TS0207, entry # 17
18:49:27.433 > [ 33185][I][main.cpp:270] loop(): LIST checking TEST1::TS0205, entry # 18
18:49:27.443 > [ 33192][I][main.cpp:270] loop(): LIST checking _TZ3000_lf56vpxj::TS0202, entry # 19
18:49:27.449 > [ 33201][I][main.cpp:270] loop(): LIST checking _TZ3000_cehuw1lw::TS011F, entry # 20
18:49:27.460 > [ 33209][I][main.cpp:270] loop(): LIST checking _TZ3000_5f43h46b::TS011F, entry # 21
18:49:27.466 > [ 33218][I][main.cpp:270] loop(): LIST checking _TZ3000_w0qqde0g::TS011F, entry # 22
18:49:27.473 > [ 33226][I][main.cpp:211] loop(): LIST matched _TZ3000_wkai4ga5::TS0044, entry # 23, endpoints # 4, endpoints 0x1::0x8000,0x2::0x8001,0x3::0x8001,0x4::0x8001
18:49:27.490 > [ 33241][I][main.cpp:255] loop(): DESC checking 0x1000, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 1
18:49:27.501 > [ 33253][I][main.cpp:255] loop(): DESC checking 0x1001, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 1
18:49:27.512 > [ 33264][I][main.cpp:255] loop(): DESC checking 0x2000, 2, 0x1, 0x500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 1
18:49:27.524 > [ 33275][I][main.cpp:255] loop(): DESC checking 0x4000, 3, 0x3, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 1
18:49:27.534 > [ 33286][I][main.cpp:255] loop(): DESC checking 0x4100, 5, 0x3, 0x1, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, endpoint 1
18:49:27.546 > [ 33297][I][main.cpp:255] loop(): DESC checking 0x4101, 3, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 1
18:49:27.557 > [ 33308][I][main.cpp:231] loop(): DESC matched 0x8000, 2, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 0x1
18:49:27.569 > [ 33319][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x1, channel type 0xffffffff
18:49:27.585 > [ 33335][I][Z2S_Devices_Table.cpp:504] Z2S_addZ2SDevice(): No channel found for address H�����e�, adding new one
18:49:27.597 > [ 33346][I][Z2S_Devices_Table.cpp:512] Z2S_addZ2SDevice(): model id 32768, first free slot 0
18:49:27.606 > LittleFS: writing file Z2S_devs_table
18:49:27.696 > [ 33444][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:27.712 > [ 33460][D][ZigbeeGateway.cpp:263] bindDeviceCluster(): Requesting ZED (0xc414), endpoint (0x1), cluster_id (0x1) to bind ZC
18:49:28.039 > [ 33788][I][ZigbeeGateway.cpp:116] bindCb(): ZED (0xc414), endpoint (0x1) cluster (0x1) has bounded to ZC
18:49:28.045 > [ 33798][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:28.059 > [ 33807][D][ZigbeeGateway.cpp:299] bindDeviceCluster(): Requesting ZC to bind ZED (0xc414), endpoint (0x1), cluster_id (0x1)
18:49:28.073 > [ 33822][I][ZigbeeGateway.cpp:114] bindCb(): ZC has bounded to ZED (0xc414), endpoint (0x1) cluster (0x1)
18:49:28.079 > [ 33832][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:28.092 > [ 33840][D][ZigbeeGateway.cpp:263] bindDeviceCluster(): Requesting ZED (0xc414), endpoint (0x1), cluster_id (0x6) to bind ZC
18:49:28.813 > [ 34561][I][ZigbeeCore.cpp:357] esp_zb_app_signal_handler(): Network(0xf5f2) closed, devices joining not allowed.
18:49:28.856 > [ 34605][I][ZigbeeGateway.cpp:116] bindCb(): ZED (0xc414), endpoint (0x1) cluster (0x6) has bounded to ZC
18:49:28.862 > [ 34615][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:28.876 > [ 34624][D][ZigbeeGateway.cpp:299] bindDeviceCluster(): Requesting ZC to bind ZED (0xc414), endpoint (0x1), cluster_id (0x6)
18:49:28.891 > [ 34639][I][ZigbeeGateway.cpp:114] bindCb(): ZC has bounded to ZED (0xc414), endpoint (0x1) cluster (0x6)
18:49:28.896 > [ 34649][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:28.909 > [ 34657][I][main.cpp:255] loop(): DESC checking 0x8001, 1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 1
18:49:28.915 > [ 34668][I][main.cpp:255] loop(): DESC checking 0x1000, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 2
18:49:28.925 > [ 34679][I][main.cpp:255] loop(): DESC checking 0x1001, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 2
18:49:28.937 > [ 34690][I][main.cpp:255] loop(): DESC checking 0x2000, 2, 0x1, 0x500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 2
18:49:28.948 > [ 34701][I][main.cpp:255] loop(): DESC checking 0x4000, 3, 0x3, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 2
18:49:28.964 > [ 34712][I][main.cpp:255] loop(): DESC checking 0x4100, 5, 0x3, 0x1, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, endpoint 2
18:49:28.970 > [ 34724][I][main.cpp:255] loop(): DESC checking 0x4101, 3, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 2
18:49:28.981 > [ 34735][I][main.cpp:255] loop(): DESC checking 0x8000, 2, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 2
18:49:28.992 > [ 34746][I][main.cpp:231] loop(): DESC matched 0x8001, 1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 0x2
18:49:29.004 > [ 34756][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:29.021 > [ 34772][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x2, channel type 0xffffffff
18:49:29.038 > [ 34789][I][Z2S_Devices_Table.cpp:504] Z2S_addZ2SDevice(): No channel found for address H�����e�, adding new one
18:49:29.049 > [ 34800][I][Z2S_Devices_Table.cpp:512] Z2S_addZ2SDevice(): model id 32769, first free slot 1
18:49:29.059 > LittleFS: writing file Z2S_devs_table
18:49:29.152 > [ 34900][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:29.163 > [ 34916][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x2, cluster 0x6, channel 1, channel type 2900
18:49:29.180 > [ 34932][D][ZigbeeGateway.cpp:263] bindDeviceCluster(): Requesting ZED (0xc414), endpoint (0x2), cluster_id (0x6) to bind ZC
18:49:29.676 > [ 35424][I][ZigbeeGateway.cpp:116] bindCb(): ZED (0xc414), endpoint (0x2) cluster (0x6) has bounded to ZC
18:49:29.682 > [ 35435][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:29.700 > [ 35449][D][ZigbeeGateway.cpp:299] bindDeviceCluster(): Requesting ZC to bind ZED (0xc414), endpoint (0x2), cluster_id (0x6)
18:49:29.714 > [ 35463][I][ZigbeeGateway.cpp:114] bindCb(): ZC has bounded to ZED (0xc414), endpoint (0x2) cluster (0x6)
18:49:29.720 > [ 35474][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:29.733 > [ 35481][I][main.cpp:255] loop(): DESC checking 0x1000, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 3
18:49:29.739 > [ 35493][I][main.cpp:255] loop(): DESC checking 0x1001, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 3
18:49:29.750 > [ 35504][I][main.cpp:255] loop(): DESC checking 0x2000, 2, 0x1, 0x500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 3
18:49:29.761 > [ 35515][I][main.cpp:255] loop(): DESC checking 0x4000, 3, 0x3, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 3
18:49:29.773 > [ 35526][I][main.cpp:255] loop(): DESC checking 0x4100, 5, 0x3, 0x1, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, endpoint 3
18:49:29.784 > [ 35537][I][main.cpp:255] loop(): DESC checking 0x4101, 3, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 3
18:49:29.796 > [ 35548][I][main.cpp:255] loop(): DESC checking 0x8000, 2, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 3
18:49:29.806 > [ 35559][I][main.cpp:231] loop(): DESC matched 0x8001, 1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 0x3
18:49:29.818 > [ 35570][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:29.835 > [ 35586][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x2, cluster 0x6, channel 1, channel type 2900
18:49:29.852 > [ 35602][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x3, channel type 0xffffffff
18:49:29.868 > [ 35618][I][Z2S_Devices_Table.cpp:504] Z2S_addZ2SDevice(): No channel found for address H�����e�, adding new one
18:49:29.879 > [ 35629][I][Z2S_Devices_Table.cpp:512] Z2S_addZ2SDevice(): model id 32769, first free slot 2
18:49:29.888 > LittleFS: writing file Z2S_devs_table
18:49:29.982 > [ 35730][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:29.993 > [ 35746][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x2, cluster 0x6, channel 1, channel type 2900
18:49:30.009 > [ 35762][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x3, cluster 0x6, channel 2, channel type 2900
18:49:30.026 > [ 35778][D][ZigbeeGateway.cpp:263] bindDeviceCluster(): Requesting ZED (0xc414), endpoint (0x3), cluster_id (0x6) to bind ZC
18:49:30.481 > [ 36229][V][ZigbeeCore.cpp:371] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
18:49:30.496 > [ 36244][I][ZigbeeGateway.cpp:116] bindCb(): ZED (0xc414), endpoint (0x3) cluster (0x6) has bounded to ZC
18:49:30.502 > [ 36254][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:30.514 > [ 36262][D][ZigbeeGateway.cpp:299] bindDeviceCluster(): Requesting ZC to bind ZED (0xc414), endpoint (0x3), cluster_id (0x6)
18:49:30.528 > [ 36277][I][ZigbeeGateway.cpp:114] bindCb(): ZC has bounded to ZED (0xc414), endpoint (0x3) cluster (0x6)
18:49:30.534 > [ 36287][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:30.547 > [ 36295][I][main.cpp:255] loop(): DESC checking 0x1000, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 4
18:49:30.553 > [ 36306][I][main.cpp:255] loop(): DESC checking 0x1001, 3, 0x1, 0x402, 0x405, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 4
18:49:30.564 > [ 36318][I][main.cpp:255] loop(): DESC checking 0x2000, 2, 0x1, 0x500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 4
18:49:30.575 > [ 36329][I][main.cpp:255] loop(): DESC checking 0x4000, 3, 0x3, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 4
18:49:30.587 > [ 36339][I][main.cpp:255] loop(): DESC checking 0x4100, 5, 0x3, 0x1, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, endpoint 4
18:49:30.598 > [ 36351][I][main.cpp:255] loop(): DESC checking 0x4101, 3, 0x6, 0x702, 0xb04, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 4
18:49:30.609 > [ 36362][I][main.cpp:255] loop(): DESC checking 0x8000, 2, 0x1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 4
18:49:30.620 > [ 36373][I][main.cpp:231] loop(): DESC matched 0x8001, 1, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, endpoint 0x4
18:49:30.632 > [ 36383][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:30.649 > [ 36399][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x2, cluster 0x6, channel 1, channel type 2900
18:49:30.666 > [ 36416][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x3, cluster 0x6, channel 2, channel type 2900
18:49:30.682 > [ 36432][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x8c:0x65:0xa3:0xff:0xfe:0xc0:0xb6:0x48, endpoint 0x4, channel type 0xffffffff
18:49:30.699 > [ 36448][I][Z2S_Devices_Table.cpp:504] Z2S_addZ2SDevice(): No channel found for address H�����e�, adding new one
18:49:30.710 > [ 36459][I][Z2S_Devices_Table.cpp:512] Z2S_addZ2SDevice(): model id 32769, first free slot 3
18:49:30.716 > LittleFS: writing file Z2S_devs_table
18:49:30.813 > [ 36561][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8000, endpoint 0x1, cluster 0x0, channel 0, channel type 2900
18:49:30.824 > [ 36577][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x2, cluster 0x6, channel 1, channel type 2900
18:49:30.841 > [ 36593][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x3, cluster 0x6, channel 2, channel type 2900
18:49:30.858 > [ 36609][I][Z2S_Devices_Table.cpp:29] Z2S_printDevicesTableSlots(): valid 1, ieee addr H�����e�, model_id 0x8001, endpoint 0x4, cluster 0x6, channel 3, channel type 2900
18:49:30.875 > [ 36625][D][ZigbeeGateway.cpp:263] bindDeviceCluster(): Requesting ZED (0xc414), endpoint (0x4), cluster_id (0x6) to bind ZC
18:49:31.142 > [ 36890][I][ZigbeeGateway.cpp:116] bindCb(): ZED (0xc414), endpoint (0x4) cluster (0x6) has bounded to ZC
18:49:31.148 > [ 36901][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:31.162 > [ 36911][D][ZigbeeGateway.cpp:299] bindDeviceCluster(): Requesting ZC to bind ZED (0xc414), endpoint (0x4), cluster_id (0x6)
18:49:31.176 > [ 36925][I][ZigbeeGateway.cpp:114] bindCb(): ZC has bounded to ZED (0xc414), endpoint (0x4) cluster (0x6)
18:49:31.182 > [ 36936][I][ZigbeeGateway.cpp:130] bindCb(): Semaphore give in binding
18:49:31.197 > [ 36945][I][main.cpp:270] loop(): LIST checking _TZ3000_ww6drja5::TS011F, entry # 24
18:49:31.203 > [ 36953][I][main.cpp:270] loop(): LIST checking _TZ3000_yj6k7vfo::TS0041, entry # 25
18:49:31.213 > [ 36962][I][main.cpp:270] loop(): LIST checking _TZ3000_4fjiwweb::TS004F, entry # 26
18:49:31.219 > [ 36970][I][main.cpp:270] loop(): LIST checking _TZ3000_uri7ongn::TS004F, entry # 27
18:49:31.230 > [ 36979][I][main.cpp:270] loop(): LIST checking _TZ3000_ixla93vd::TS004F, entry # 28
18:49:31.236 > [ 36987][I][main.cpp:270] loop(): LIST checking _TZ3000_qja6nq5z::TS004F, entry # 29
18:49:31.247 > [ 36996][I][main.cpp:270] loop(): LIST checking _TZ3000_abrsvsou::TS004F, entry # 30
18:49:31.252 > [ 37004][I][main.cpp:270] loop(): LIST checking _TZ3000_4fjiwweb::TS011F, entry # 31
18:49:31.264 > [ 37013][I][main.cpp:270] loop(): LIST checking IKEA of Sweden::Remote Control N2, entry # 32
18:49:31.270 > [ 37022][I][main.cpp:270] loop(): LIST checking _TZ3000_gjrubzje::TS0001, entry # 33
18:49:31.288 > Wrote 4 bytes to storage at 15
18:49:31.288 > Wrote 1 bytes to storage at 19
18:49:31.293 > Wrote 4 bytes to storage at 20
18:49:31.293 > Wrote 1 bytes to storage at 24
18:49:31.299 > Wrote 4 bytes to storage at 25
18:49:31.299 > Wrote 1 bytes to storage at 29
18:49:31.304 > Wrote 4 bytes to storage at 30
18:49:31.304 > Wrote 1 bytes to storage at 34
18:49:31.307 > Wrote 7 bytes to storage at 8
18:49:31.311 > Commit
Last edited by [email protected] on Sat Jan 25, 2025 4:56 pm, edited 4 times in total.
Próbuję do dać czujnik otwarcia
https://pl.aliexpress.com/item/10050046 ... Redirect=y
ale nie pokazuje się w cloudzie , załączam log z dodawania
https://pl.aliexpress.com/item/10050046 ... Redirect=y
ale nie pokazuje się w cloudzie , załączam log z dodawania
Code: Select all
[ 57812][I][Z2S_Devices_Table.cpp:42] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0x0:0x12:0x4b:0x0:0x25:0x19:0x11:0x79, endpoint 0x1, channel type 0x3e8
[ 57813][I][Z2S_Devices_Table.cpp:307] Z2S_onIASzoneStatusChangeNotification(): No channel found for address y%
[ 58308][D][ZigbeeGateway.cpp:152] find_Cb(): Sensor found: short address(0x52c0), endpoint(1)
[ 58376][I][ZigbeeGateway.cpp:342] printJoinedDevices(): joined devices:
[ 58377][I][ZigbeeGateway.cpp:345] printJoinedDevices(): Device on endpoint 1, short address: 0x52c0
[ 63076][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x1000) callback
[ 63077][V][ZigbeeHandlers.cpp:94] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0x52c0) src endpoint(1) to dst endpoint(1) cluster(0x0)
[ 63078][V][ZigbeeHandlers.cpp:103] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x4), type(0x42), value(7)
[ 63078][I][ZigbeeEP.cpp:223] zbReadBasicCluster(): Peer Manufacturer is "eWeLink"
[ 63079][I][Z2S_Gateway.ino:193] loop(): manufacturer eWeLink
[ 63615][I][ZigbeeHandlers.cpp:21] zb_action_handler(): Receive Zigbee action(0x1000) callback
[ 63615][V][ZigbeeHandlers.cpp:94] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0x52c0) src endpoint(1) to dst endpoint(1) cluster(0x0)
[ 63616][V][ZigbeeHandlers.cpp:103] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x5), type(0x42), value(4)
[ 63617][I][ZigbeeEP.cpp:232] zbReadBasicCluster(): Peer Model is "DS01"
[ 63618][I][Z2S_Gateway.ino:195] loop(): model DS01
[ 63618][I][Z2S_Gateway.ino:264] loop(): LIST checking _TZ3000_akqdg6g7::TS0201, entry # 0
[ 63618][I][Z2S_Gateway.ino:264] loop(): LIST checking Xiaomi::LYWSD03MMC-z, entry # 1-
LukiSpajder
- Posts: 1548
- Joined: Tue Aug 18, 2020 2:22 pm
- Has thanked: 25 times
- Been thanked: 34 times
Chyba coś nie tak jest z raportowanie stanu baterii, przez 10 godzin brak wskaźnika baterii. W tych Xiaomi jest częściej wysyłany . Ale ogólnie na żadnym czujniku się nie pojawił stan baterii .vajera wrote: Fri Jan 24, 2025 1:44 pm Zgodnie z sugestią @klew usunąłem funkcję setBatteryPowered przy inicjalizacji czujników, więc teraz ikona stanu baterii pojawi się dopiero gdy czujnik wyśle pierwsze info z klastra 0x01(power_cfg) a to może potrwać. Do rozważenia czy po powrocie dodaniu urządzenia nie wysyłać jednorazowo zapytania o ten stan skoro Supla go później pamięta.
Z tą utratą łączności po restarcie mam jeszcze jeden trop do sprawdzenia.
Może ktoś potwierdzić ?
You do not have the required permissions to view the files attached to this post.
Tak, u mnie to samo, brak poziomu baterii .
Ogólnie zauważyłem też, że jeśli czujnik oddalony jest zbyt daleko od bramki i nie reaguje już na zmianę stanu , to po powrocie w pobliże bramki nadal nie reaguje.
Potrzebny jest reset bramki.
Pytanie czy można gdzieś odczytać zasięg (moc) czujnika?
Ogólnie zauważyłem też, że jeśli czujnik oddalony jest zbyt daleko od bramki i nie reaguje już na zmianę stanu , to po powrocie w pobliże bramki nadal nie reaguje.
Potrzebny jest reset bramki.
Pytanie czy można gdzieś odczytać zasięg (moc) czujnika?
