Open blaubaer opened 3 months ago
Could you please provide the pcap
file if you have a sniffer?
BTW, did all the three ESP boards fail to work?
@blaubaer ,
This was tested with several devices. If the Home Assistant Yellow is in range of 50cm to 1m it always works. If another Zigbee device (tested with Philips LOM007 Hue Smart Plug) >is in mode Router is in range of 50cm to 1m it always works. Also if the distance between Home Assistant Yellow and the ESP32 is more than 10m. If another Zigbee device (tested with Philips LOM007 Hue Smart Plug) is in mode Router is 5m away it does also not work. Another Zigbee End Device (tested with Philips RWL021 Hue Dimmer Switch) which is in the same location as the ESP32 this device always works. Also > if the ESP32C6 fails to work. Many other devices teste and all are working as expected.
According to the above description, the issue seems to be related to the energy of joining the network. The ESP device will determines whether to join the network based on the network's LQI. But the threshold value for joining LQI can be set using the esp_zb_secur_network_min_join_lqi_set()
API. The default joining LQI threshold is 32. Could you set it to a smaller value and test it again?
Hi @xieqinan
In steps of ~5 I lowered it down to 10
. There the connection works reliable, also in the same ranges as the Philips devices.
I would recommend to either change the default value or at least improve the documentation (for example the FAQ section).
@blaubaer ,
I would recommend to either change the default value or at least improve the documentation (for example the FAQ section).
No problem, I will consider adding the minimum joining LQI issue to the FAQ. Thanks for your testing and suggestion.
Answers checklist.
IDF version.
v5.4-dev-1205-ge7070e777a
esp-zigbee-lib version.
1.3.2
esp-zboss-lib version.
1.3.2
Espressif SoC revision.
ESP32C6 and ESP32H2
What is the expected behavior?
Be able to join a Zigbee network reliable
What is the actual behavior?
Lot of luck to join a Zigbee network. See usually only the following outout:
Steps to reproduce.
esp-zigbee-sdk
in revision#4383011
.examples/esp_zigbee_HA_sample/HA_on_off_light
.More Information.