rbaron / b-parasite

🌱💧 An open source DIY soil moisture sensor
1.93k stars 149 forks source link

Zigbee fails to join the network #96

Closed RobertLukan closed 1 year ago

RobertLukan commented 1 year ago

This issue I guess is really not an issue, but maybe somebody will find this information helpful. I just could not get Zigbee software working for a while. Everything looked OK, but probe would not join the network, speaking more precisely, it would try to join but leave very quickly.

After a bit of googling, I notice that someone else has a similar problem, https://devzone.nordicsemi.com/f/nordic-q-a/83640/zigbee-router-leaves-network-autonomously-after-few-seconds.

I am using Sonoff USB Dongle Plus with Zigbee2Mqtt. I noticed that software is still not fully supported, so maybe that is the problem. Nevertheless, by adding option shown below in main.c, probe joined the network without a problem and it is working OK so far.

zb_bdb_set_legacy_device_support(1);

rbaron commented 1 year ago

Thanks for the tip @RobertLukan.