Bound zigbee devices are lost after a reboot #10646
Labels
Area: Libraries
Issue is related to Library support.
Area: Zigbee
Issues and Feature Request about Zigbee
Status: In Progress
Issue is in progress
Board
seeed xiao esp32-c6
Device Description
The development board is used without any other attachments. Only a powering / data USB-C cable.
See https://wiki.seeedstudio.com/xiao_esp32c6_getting_started/# for more details.
Hardware Configuration
nothing else attached
Version
latest master (checkout manually)
IDE Name
Arduino IDE 2
Operating System
Ubuntu 2024.04
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
Short: The esp32-c6 doesn't remember the zigbee bounds from the last reset.
Problem description:
I run the example Zigbee_on_off_switch, but removed the waiting period in the setup().
When I run the script for the first time and bind a new device, I can toggle the status of the device. Tested successfully with the light example on a second xiao esp32-c6 and an actuall ikea tradfri plug.
Now I reset / power cycle the switch.
The former established connections are forgotten: If I just press the button again, no devices are bound. I don't want to pair the plug or light again after a power reset of the switch.
Expected behavior:
When I reset the controller, I expect, that the controller remembers the bound devices from last time. A press on the button of the switch shall remember the bound devices from the last power cycle.
Sketch
Debug Message
Other Steps to Reproduce
I first mentioned this problem here: #10135 (comment)
With the espressif SDK this problem seems already to be solved, regarding:
espressif/esp-idf#11904
Therefore, I also tried the example from the esp zigbee sdk which is NOT showing the problem.
If necessary, you can see my fork here, which is working on a xiao esp32-c6, because I needed to enable the internal antenna.
I think, the problem is that the arduino implementation is using the variable _is_bound and the list of bound devices which are not initialized based on remebered connections.
-> How to "save" the list of bound_devices or releoad them after a power cycle?
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: