Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Exiting deep sleep results in lengthy commissioning times for the Zigbee Sleepy End Device #11328

Unanswered
tutoduino asked this question in Q&A
Discussion options

I am running the example from Jan Procházka on ESP32-C6.
After deep sleep exit, the commissioning time is very long, impacting device battery life.
Is there a way to improve this (using RTC memory for example) ?

Here are some traces with Zigbee timeout lightly increased Zigbee.setTimeout(20000)
15:00:26.192 -> Starting Zigbee
15:00:26.192 -> [ 899][D][ZigbeeCore.cpp:145] zigbeeInit(): Initialize Zigbee stack
15:00:26.224 -> [ 943][D][ZigbeeCore.cpp:152] zigbeeInit(): Register all Zigbee EPs in list
15:00:26.224 -> [ 945][I][ZigbeeCore.cpp:160] zigbeeInit(): List of registered Zigbee EPs:
15:00:26.224 -> [ 945][I][ZigbeeCore.cpp:162] zigbeeInit(): Device type: Temperature Sensor, Endpoint: 10, Device ID: 0x0302
15:00:26.224 -> [ 959][V][ZigbeeCore.cpp:379] esp_zb_app_signal_handler(): ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
15:00:26.224 -> [ 959][I][ZigbeeCore.cpp:241] esp_zb_app_signal_handler(): Zigbee stack initialized
15:00:26.224 -> [ 960][D][ZigbeeCore.cpp:242] esp_zb_app_signal_handler(): Zigbee channel mask: 0x07fff800
15:00:28.574 -> [ 3286][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:31.387 -> [ 6114][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:34.233 -> [ 8941][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:37.050 -> [ 11768][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:39.861 -> [ 14595][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:42.706 -> [ 17422][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:45.516 -> [ 20249][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
15:00:48.385 -> [ 23111][I][ZigbeeCore.cpp:248] esp_zb_app_signal_handler(): Device started up in non factory-reset mode
15:00:48.385 -> [ 23112][I][ZigbeeCore.cpp:261] esp_zb_app_signal_handler(): Device rebooted
15:00:48.385 -> [ 23113][V][ZigbeeCore.cpp:527] setNVRAMChannelMask(): Channel mask set to 0x00000800
15:00:48.385 -> [ 23114][D][ZigbeeCore.cpp:512] searchBindings(): Requesting binding table for address 0x6511
15:00:48.385 -> [ 23115][D][ZigbeeCore.cpp:452] bindingTableCb(): Binding table callback for address 0x6511 with status 0
15:00:48.385 -> [ 23116][D][ZigbeeCore.cpp:455] bindingTableCb(): Binding table info: total 3, index 0, count 3
15:00:48.385 -> [ 23116][D][ZigbeeCore.cpp:465] bindingTableCb(): Binding table record: src_endp 10, dst_endp 1, cluster_id 0x0405, dst_addr_mode 3
15:00:48.385 -> [ 23117][D][ZigbeeCore.cpp:482] bindingTableCb(): Device bound to EP 10 -> device endpoint: 1, short addr: 0x0000, ieee addr: 1C:C0:89:FF:FE:CE:XX:XX
15:00:48.385 -> [ 23117][D][ZigbeeCore.cpp:465] bindingTableCb(): Binding table record: src_endp 10, dst_endp 1, cluster_id 0x0001, dst_addr_mode 3
15:00:48.385 -> [ 23118][D][ZigbeeCore.cpp:482] bindingTableCb(): Device bound to EP 10 -> device endpoint: 1, short addr: 0x0000, ieee addr: 1C:C0:89:FF:FE:CE:XX:XX
15:00:48.385 -> [ 23119][D][ZigbeeCore.cpp:465] bindingTableCb(): Binding table record: src_endp 10, dst_endp 1, cluster_id 0x0402, dst_addr_mode 3
15:00:48.385 -> [ 23119][D][ZigbeeCore.cpp:482] bindingTableCb(): Device bound to EP 10 -> device endpoint: 1, short addr: 0x0000, ieee addr: 1C:C0:89:FF:FE:CE:XX:XX
15:00:48.385 -> [ 23120][D][ZigbeeCore.cpp:503] bindingTableCb(): Filling bounded devices finished
15:00:48.385 -> Connecting to network
15:00:48.385 -> Successfully connected to Zigbee network

You must be logged in to vote

Replies: 1 comment · 7 replies

Comment options

I use Arduino ESP32 3.2.0, details in my tutorial https://tutoduino.fr/en/tutorials/esp32c6-zigbee/
@P-R-O-C-H-Y , I see the following ESP_FAIL status in the serial monitor for your example code, but not sure it is linked :

[ZigbeeCore.cpp:379] esp_zb_app_signal_handler(): ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL

You must be logged in to vote
7 replies
@P-R-O-C-H-Y
Comment options

I have not seen this issue with the devkits I am using. Every time it connects at 1st try or max at 2nd try. And my coordinator is far away.

@tutoduino
Comment options

I see an error in traces after ESP32C6 reboot (traces level = ERROR), which then lead to correct commissioning. I will investigate a potential channel mask issue...

12:54:19.400 -> Tutoduino Zigbee temperature sensor start!
12:54:25.409 -> Starting Zigbee
12:54:42.324 ->
12:54:42.324 -> Tutoduino Zigbee temperature sensor start!
12:54:47.448 -> Starting Zigbee
12:55:17.496 -> [ 36167][E][ZigbeeCore.cpp:51] begin(): ZigbeeCore begin failed or timeout
12:55:17.496 -> Zigbee failed to startRebooting ESP32!
12:55:25.496 -> ESP-ROM:esp32c6-20220919
12:55:25.496 -> Build:Sep 19 2022
12:55:25.496 -> rst:0xc (SW_CPU),boot:0x1e (SPI_FAST_FLASH_BOOT)
12:55:25.496 -> Saved PC:0x4001975a
12:55:25.496 -> SPIWP:0xee
12:55:25.496 -> mode:DIO, clock div:2
12:55:25.496 -> load:0x40875720,len:0x1260
12:55:25.496 -> load:0x4086c110,len:0xdc4
12:55:25.496 -> load:0x4086e610,len:0x3018
12:55:25.496 -> entry 0x4086c110
12:55:25.850 ->
12:55:25.850 -> Tutoduino Zigbee temperature sensor start!
12:55:31.861 -> Starting Zigbee
12:55:34.787 -> �[0;31mE (9983) ESP_ZIGBEE_CORE: In BDB commissioning, an error occurred (for example: the device has already been running)�[0m
12:55:37.171 -> �[0;31mE (12355) ESP_ZIGBEE_CORE: In BDB commissioning, an error occurred (for example: the device has already been running)�[0m
12:55:39.551 -> �[0;31mE (14727) ESP_ZIGBEE_CORE: In BDB commissioning, an error occurred (for example: the device has already been running)�[0m
12:55:41.899 -> �[0;31mE (17099) ESP_ZIGBEE_CORE: In BDB commissioning, an error occurred (for example: the device has already been running)�[0m

12:55:49.786 -> Connecting to network
12:55:52.776 -> Successfully connected to Zigbee network
12:55:53.775 -> Battery: 4.14V (100%)
12:55:53.775 -> Reported temperature: 22.98°C, Humidity: 37.38%
12:55:54.289 -> Going to sleep now

@P-R-O-C-H-Y
Comment options

For the best debug logs set Debug level to VERBOSE and also when selecting the Zigbee mode in Arduino IDE tools menu select the debug zigbee mode. Please post the new detailed logs

@tutoduino
Comment options

I reproduced with VERBOSE debug level, but I can not find the zigbee debug mode in Arduino IDE...

19:51:37.519 -> =========== Before Setup Start ===========
19:51:37.519 -> Chip Info:
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> Model : ESP32-C6
19:51:37.519 -> Package : 1
19:51:37.519 -> Revision : 0.01
19:51:37.519 -> Cores : 1
19:51:37.519 -> CPU Frequency : 160 MHz
19:51:37.519 -> XTAL Frequency : 40 MHz
19:51:37.519 -> Features Bitfield : 0x00000052
19:51:37.519 -> Embedded Flash : No
19:51:37.519 -> Embedded PSRAM : No
19:51:37.519 -> 2.4GHz WiFi : Yes
19:51:37.519 -> Classic BT : No
19:51:37.519 -> BT Low Energy : Yes
19:51:37.519 -> IEEE 802.15.4 : Yes
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> INTERNAL Memory Info:
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> Total Size : 443564 B ( 433.2 KB)
19:51:37.519 -> Free Bytes : 410768 B ( 401.1 KB)
19:51:37.519 -> Allocated Bytes : 25828 B ( 25.2 KB)
19:51:37.519 -> Minimum Free Bytes: 405956 B ( 396.4 KB)
19:51:37.519 -> Largest Free Block: 376820 B ( 368.0 KB)
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> Flash Info:
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> Chip Size : 4194304 B (4 MB)
19:51:37.519 -> Block Size : 65536 B ( 64.0 KB)
19:51:37.519 -> Sector Size : 4096 B ( 4.0 KB)
19:51:37.519 -> Page Size : 256 B ( 0.2 KB)
19:51:37.519 -> Bus Speed : 40 MHz
19:51:37.519 -> Bus Mode : QIO
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> Partitions Info:
19:51:37.519 -> ------------------------------------------
19:51:37.519 -> nvs : addr: 0x00009000, size: 20.0 KB, type: DATA, subtype: NVS
19:51:37.519 -> otadata : addr: 0x0000E000, size: 8.0 KB, type: DATA, subtype: OTA
19:51:37.519 -> app0 : addr: 0x00010000, size: 1280.0 KB, type: APP, subtype: OTA_0
19:51:37.519 -> app1 : addr: 0x00150000, size: 1280.0 KB, type: APP, subtype: OTA_1
19:51:37.519 -> spiffs : addr: 0x00290000, size: 1388.0 KB, type: DATA, subtype: SPIFFS
19:51:37.519 -> zb_storage : addr: 0x003EB000, size: 16.0 KB, type: DATA, subtype: FAT
19:51:37.519 -> zb_fct : addr: 0x003EF000, size: 4.0 KB, type: DATA, subtype: FAT
19:51:37.519 -> coredump : addr: 0x003F0000, size: 64.0 KB, type: DATA, subtype: COREDUMP
19:51:37.533 -> ------------------------------------------
19:51:37.533 -> Software Info:
19:51:37.533 -> ------------------------------------------
19:51:37.533 -> Compile Date/Time : May 7 2025 19:46:40
19:51:37.533 -> Compile Host OS : linux
19:51:37.533 -> ESP-IDF Version : v5.4.1-1-g2f7dcd862a-dirty
19:51:37.533 -> Arduino Version : 3.2.0
19:51:37.533 -> ------------------------------------------
19:51:37.533 -> Board Info:
19:51:37.533 -> ------------------------------------------
19:51:37.533 -> Arduino Board : XIAO_ESP32C6
19:51:37.533 -> Arduino Variant : XIAO_ESP32C6
19:51:37.533 -> Arduino FQBN : esp32:esp32:XIAO_ESP32C6:UploadSpeed=921600,CDCOnBoot=cdc,CPUFreq=160,FlashFreq=80,FlashMode=qio,FlashSize=4M,PartitionScheme=zigbee,DebugLevel=verbose,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=ed
19:51:37.533 -> ============ Before Setup End ============
19:51:37.627 -> [ 637][I][esp32-hal-periman.c:141] perimanSetPinBus(): Pin 12 already has type USB_DM (38) with bus 0x40811e24
19:51:37.627 -> [ 637][I][esp32-hal-periman.c:141] perimanSetPinBus(): Pin 13 already has type USB_DP (39) with bus 0x40811e24
19:51:37.723 ->
19:51:37.723 -> Tutoduino Zigbee temperature sensor start!
19:51:37.723 -> [ 738][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x4200760a
19:51:37.723 -> [ 738][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 15 successfully set to type GPIO (1) with bus 0x10
19:51:37.723 -> [ 739][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type I2C_MASTER_SDA (30) successfully set to 0x42007bc2
19:51:37.723 -> [ 740][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type I2C_MASTER_SCL (31) successfully set to 0x42007bc2
19:51:37.723 -> [ 740][I][esp32-hal-i2c-ng.c:105] i2cInit(): Initializing I2C Master: num=0 sda=22 scl=23 freq=100000
19:51:37.723 -> [ 741][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 22 successfully set to type I2C_MASTER_SDA (30) with bus 0x1
19:51:37.723 -> [ 742][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 23 successfully set to type I2C_MASTER_SCL (31) with bus 0x1
19:51:37.723 -> [ 742][V][esp32-hal-i2c-ng.c:221] i2cAddDeviceIfNeeded(): added device: bus=0 addr=0x76 handle=0x4081b52c
19:51:37.723 -> [ 743][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 744][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 745][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 746][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=6
19:51:37.723 -> [ 747][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 748][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=18
19:51:37.723 -> [ 750][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 751][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 752][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.723 -> [ 752][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=7
19:51:37.723 -> [ 754][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.723 -> [ 755][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.723 -> [ 756][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.723 -> [ 756][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.723 -> [ 757][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.723 -> [ 758][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.755 -> [ 759][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:37.755 -> [ 760][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=8
19:51:37.755 -> [ 761][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.755 -> [ 762][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.755 -> [ 763][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:37.755 -> [ 764][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x4200760a
19:51:37.755 -> [ 765][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 0 successfully set to type GPIO (1) with bus 0x1
19:51:37.755 -> [ 765][D][ZigbeeCore.cpp:97] addEndpoint(): Endpoint: 10, Device ID: 0x0302
19:51:37.755 -> Starting Zigbee
19:51:37.755 -> [ 766][D][ZigbeeCore.cpp:145] zigbeeInit(): Initialize Zigbee stack
19:51:37.755 -> [ 778][D][ZigbeeCore.cpp:152] zigbeeInit(): Register all Zigbee EPs in list
19:51:37.755 -> [ 779][I][ZigbeeCore.cpp:160] zigbeeInit(): List of registered Zigbee EPs:
19:51:37.755 -> [ 780][I][ZigbeeCore.cpp:162] zigbeeInit(): Device type: Temperature Sensor, Endpoint: 10, Device ID: 0x0302
19:51:37.755 -> [ 790][V][ZigbeeCore.cpp:379] esp_zb_app_signal_handler(): ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
19:51:37.787 -> [ 791][I][ZigbeeCore.cpp:241] esp_zb_app_signal_handler(): Zigbee stack initialized
19:51:37.787 -> [ 792][D][ZigbeeCore.cpp:242] esp_zb_app_signal_handler(): Zigbee channel mask: 0x00000800
19:51:38.012 -> [ 1033][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:38.752 -> [ 1775][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:39.496 -> [ 2517][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:40.238 -> [ 3259][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:40.980 -> [ 4001][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:41.722 -> [ 4743][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:42.463 -> [ 5485][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:43.206 -> [ 6227][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:43.946 -> [ 6969][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:44.689 -> [ 7711][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:45.428 -> [ 8453][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:46.169 -> [ 9195][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:46.911 -> [ 9937][W][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Commissioning failed, trying again...
19:51:47.685 -> [ 10702][I][ZigbeeCore.cpp:248] esp_zb_app_signal_handler(): Device started up in non factory-reset mode
19:51:47.685 -> [ 10703][I][ZigbeeCore.cpp:261] esp_zb_app_signal_handler(): Device rebooted
19:51:47.685 -> [ 10704][V][ZigbeeCore.cpp:527] setNVRAMChannelMask(): Channel mask set to 0x00000800
19:51:47.685 -> [ 10705][D][ZigbeeCore.cpp:512] searchBindings(): Requesting binding table for address 0xdd91
19:51:47.685 -> [ 10706][D][ZigbeeCore.cpp:452] bindingTableCb(): Binding table callback for address 0xdd91 with status 0
19:51:47.685 -> [ 10707][D][ZigbeeCore.cpp:455] bindingTableCb(): Binding table info: total 3, index 0, count 3
19:51:47.685 -> [ 10707][D][ZigbeeCore.cpp:465] bindingTableCb(): Binding table record: src_endp 10, dst_endp 1, cluster_id 0x0001, dst_addr_mode 3
19:51:47.685 -> [ 10708][D][ZigbeeCore.cpp:482] bindingTableCb(): Device bound to EP 10 -> device endpoint: 1, short addr: 0x0000, ieee addr: 1C:C0:89:FF:FE:CE:05:6A
19:51:47.685 -> [ 10709][D][ZigbeeCore.cpp:465] bindingTableCb(): Binding table record: src_endp 10, dst_endp 1, cluster_id 0x0402, dst_addr_mode 3
19:51:47.685 -> [ 10709][D][ZigbeeCore.cpp:482] bindingTableCb(): Device bound to EP 10 -> device endpoint: 1, short addr: 0x0000, ieee addr: 1C:C0:89:FF:FE:CE:05:6A
19:51:47.685 -> [ 10710][D][ZigbeeCore.cpp:465] bindingTableCb(): Binding table record: src_endp 10, dst_endp 1, cluster_id 0x0405, dst_addr_mode 3
19:51:47.685 -> [ 10711][D][ZigbeeCore.cpp:482] bindingTableCb(): Device bound to EP 10 -> device endpoint: 1, short addr: 0x0000, ieee addr: 1C:XX:XX:XX:XX:XX:XX:XX
19:51:47.685 -> [ 10712][D][ZigbeeCore.cpp:503] bindingTableCb(): Filling bounded devices finished
19:51:47.685 -> Chan = 11, Pan=56371, Mask=7fff800
19:51:47.685 -> Connecting to network
19:51:49.682 -> Successfully connected to Zigbee network
19:51:50.679 -> [ 13712][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:50.679 -> [ 13713][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:50.679 -> [ 13714][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=2
19:51:50.679 -> [ 13715][V][esp32-hal-i2c-ng.c:262] i2cWrite(): i2c_master_transmit: bus=0 addr=0x76 handle=0x4081b52c size=1
19:51:50.711 -> [ 13716][V][esp32-hal-i2c-ng.c:308] i2cRead(): i2c_master_receive: bus=0 addr=0x76 handle=0x4081b52c size=8
19:51:50.711 -> [ 13717][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type ADC_ONESHOT (7) successfully set to 0x4200727a
19:51:50.711 -> [ 13718][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 0 successfully set to type ADC_ONESHOT (7) with bus 0x1
19:51:50.711 -> [ 13719][D][esp32-hal-adc.c:305] __analogReadMilliVolts(): Creating cali handle for ADC_0
19:51:50.711 -> Battery: 4.16V (100%)
19:51:50.711 -> [ 13721][V][ZigbeeEP.cpp:129] setBatteryPercentage(): Battery percentage updated
19:51:50.711 -> [ 13722][V][ZigbeeEP.cpp:144] setBatteryVoltage(): Battery voltage updated
19:51:50.711 -> [ 13722][V][ZigbeeTempSensor.cpp:79] setTemperature(): Updating temperature sensor value...
19:51:50.711 -> [ 13723][D][ZigbeeTempSensor.cpp:81] setTemperature(): Setting temperature to 2115
19:51:50.711 -> [ 13723][V][ZigbeeTempSensor.cpp:132] setHumidity(): Updating humidity sensor value...
19:51:50.711 -> [ 13724][D][ZigbeeTempSensor.cpp:134] setHumidity(): Setting humidity to 3975
19:51:50.711 -> [ 13725][V][ZigbeeTempSensor.cpp:111] reportTemperature(): Temperature report sent
19:51:50.711 -> [ 13729][V][ZigbeeTempSensor.cpp:165] reportHumidity(): Humidity report sent
19:51:50.711 -> [ 13729][V][ZigbeeEP.cpp:165] reportBatteryPercentage(): Battery percentage reported
19:51:50.711 -> Reported temperature: 21.15°C, Humidity: 39.75%
19:51:50.743 -> [ 13754][V][ZigbeeCore.cpp:379] esp_zb_app_signal_handler(): ZDO signal: NLME Status Indication (0x32), status: ESP_OK
19:51:51.226 -> Going to sleep now

@tutoduino
Comment options

For information, I added an external Antenna to the ESP32C6.
And it looks much better now, the problem did not appear yet!.
Btw, is there a way to get the RSSI from the zigbee librairie, I did not find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.