itead / Sonoff_Zigbee_Dongle_Firmware

155 stars 18 forks source link

[REQUEST] OpenThread (Thread) firmware image for Sonoff Zigbee 3.0 USB Dongle Plus V2 (model “ZBDongle-E”) by ITead? #30

Open Hedda opened 2 weeks ago

Hedda commented 2 weeks ago

@Daniel-zhan-itead @liangjia2019 @guozi7788 I like to suggest/recommend that ITead look into releasing an official OpenThread RCP (OpenThread Radio Co-Processor, also shorten as "OT-RCP") firmware for your “Sonoff Zigbee 3.0 USB Dongle Plus V2” (model “ZBDongle-E”, a.k.a. "Dongle-E”) as an optional alternative firmware for those wanting to use this adapter as a Thread Border Router radio adapter:

Please aim to release and keep up released with same version and config for OpenThread RCP as Nabu Casa does for Home Assistant Connect ZBT-1 dongle (formerly SkyConnect) which at the time writing this currently is built from Silabs OpenThread SDK 2.4.2.0 built with Silicon Labs Gecko SDK (GSDK) 4.4.2:

"Home Assistant Connect ZBT-1 can also be used to turn your Home Assistant installation into a Thread border router. Currently, enabling Thread involves manual steps. The integration of the Home Assistant Thread border router with Matter is work-in-progress. To learn more about Thread border routers, refer to the List of Thread border routers. To learn how to use Connect ZBT-1 to turn your Home Assistant into a Thread Border router, refer to Turning Home Assistant into a Thread border router."

Please then try to make that usable with Home Assistant's "Thread" integration and "Open Thread Border Router" add-on, which together are in turn can be used indirectly as optional dependencies by both their "Matter" (Matter standard) and their "HomeKit Controller" integrations if the user want to use a radio adapter as a OpenThread Border Router (OTBR). See:

If you have not heard of it yet then you should read and consider utilizing the new common "Silicon Labs firmware builder" automated build system from Home Assistant / Nabu Casa developers to create reproducible builds of both Zigbee NCP and OpenThread (Thread) firmware images. See feature request:

These are the three IoT wireless network protocol stack application firmware variants are available from Silicon Labs for EFR32 family:

External reference explaining these different co-processor designs at a high level:

PS: Note! Be aware that the RCP MultiPAN in multiprotocol mode is no longer recommended because running multi-protocol with multiple active networks on a single radio adapter has proven to not be stable when using Zigbee and Thread network protocols simultaneously on the same radio adapter, it also increases the complexity of software component dependencies needed, so if already using RCP Multi-PAN then it is highly recommended that you plan to migrate to separate dedicated radio adapters instead, (using Zigbee NCP and Thread RCP firmware respectively), even if using RCP MultiPAN on a single radio adapter dongle has been working fine for you so far. FYI, while Multi-PAN RCP (multiprotocol) for concurrent Zigbee and OpenThread running on a single SoC radio adapter is still supported it is no longer recommended by the community. Instead it is for now only recommended to use separate dedicated radio adapters for each IoT wireless protocol. For reference see links and discussion here: