Replies: 16 comments 9 replies
-
The big question is how Espressif is doing the development of the Zigbee stack for the RISC-V MCU. NXP, Nordic, Silabs and Microchip is "associated" with riscv.org but i think all Zigbee stacks from them is not "for sale" to other potential concurrent. |
Beta Was this translation helpful? Give feedback.
-
Espressif now looks to have released ESP ZBOSS 3.0 binary libraries supporting the Zboss Zigbee 3.0 stack for ESP32 series chips: https://components.espressif.com/component/espressif/esp-zboss-lib https://www.esp32.com/viewtopic.php?t=24624 FYI, Espressif has joined "ZBOSS Open Initiative (ZOI)" so chances are they will base is Zigbee stack on ZOI's ZBOSS stack by DRS: ZOI (ZBOSS Open Initiative) ZBOSS stack look to be available as royalty-free for ZOI members like but not as open source code: https://dsr-zoi.com/frequently-asked-questions/ https://dsr-zboss.com/#!/updates/dsr-joins-cmgc-partnership-s2link All support for it will need be handled though Espressif as implementer and not directly to ZOI or DRS. There now also looks to be Zigbee examples in Espressif’s IoT Development Framework (ESP-IDF) but no news on SDK or docs? https://components.espressif.com/component/espressif/esp-zboss-lib ESP ZBOSS 3.0 Libraries This repository contains binary libraries supporting the Zboss Zigbee 3.0 stack for ESP32 series chips. Packages from this repository are uploaded to Espressif’s component serivce. You can add them to your project via idf.py add-dependency More information about idf-component-manager can be found in Espressif API guide or PyPi registry. There now looks to be some Zigbee examples in Espressif’s IoT Development Framework (ESP-IDF): https://components.espressif.com/component/espressif/esp-zboss-lib https://www.espressif.com/en/products/sdks/esp-idf https://github.com/espressif/esp-idf https://github.com/espressif/esp-idf/tree/master/examples/zigbee Those examples include; Zigbee coordinator ("light coordinator"), "Zigbee RCP (radio co-processor"), and "Zigbee gateway": https://github.com/espressif/esp-idf/tree/master/examples/zigbee/light_sample/light_coordinator "light_coordinator is a light coordinator example demonstrating Zigbee Coordinator role. It provides a formation of the Zigbee network. It runs on an 802.15.4 SoC like ESP32-H2. For more details to see the example readme file." https://github.com/espressif/esp-idf/tree/master/examples/zigbee/esp_zigbee_rcp https://github.com/espressif/esp-idf/tree/master/examples/zigbee/esp_zigbee_gateway Wondering if "RPC" works similar to Silicon Labs RPC which works like a dumb radio requiring external ESP ZBOSS 3.0 libraries? https://components.espressif.com/component/espressif/esp-zboss-lib "This test code shows how to configure Zigbee rcp (radio co-processor) device. Rcp doesn't function alone, it needs to work together with Zigbee gateway (see esp_zigbee_gateway example)" "After rcp starts up, it will send its own MAC ieee address and Zigbee stack version number to the Zigbee gateway and start working together with Zigbee gateway via UART communication" ESP32-H2 has apparently now also already been certified as a “Zigbee Compliant Platform” by CSA: https://www.espressif.com/en/news/ESP32-H2_Thread_and_Zigbee_certified Type of Device: Zigbee Compliant Platform PS: ESP32-H2 has also passed "Thread Certified Component” certification and will surely also be prioritizing Matter certification: PPS: They also say Espressif’s IoT Development Framework (ESP-IDF) feature a Thread SDK and that OpenThread is now supported: https://github.com/espressif/esp-idf/tree/master/examples/openthread |
Beta Was this translation helpful? Give feedback.
-
FYI, see they now also released ESP ZBOSS 3.0 Libraries (esp_zboss_lib) to support Zboss Zigbee 3.0 stack on chips like ESP32-H2: https://github.com/espressif/esp-zboss-lib Again that could be used with their "ESP" Zigbee RPC + Gateway examples with their ESP32-H2 DevKitC (ESP32-H2-DevKitC-1 V2.1) board: https://github.com/espressif/esp-idf/tree/master/examples/zigbee/ https://github.com/espressif/esp-idf/blob/master/examples/zigbee/esp_zigbee_rcp https://github.com/espressif/esp-idf/tree/master/examples/zigbee/esp_zigbee_gateway ZHA would need a ZBOSS (e.g. zigpy-zboss) radio library to be able to use it as a remote Zigbee Coordinator in serial pass-through mode. |
Beta Was this translation helpful? Give feedback.
-
FYI, Espressif Systems ESP32-H2 has been certified as a “Zigbee-Compliant Platform”, according to the relevant certification issued by CSA (Connectivity Standards Alliance). https://docs.espressif.com/projects/esp-zigbee-sdk/en/latest/esp32/certification.html |
Beta Was this translation helpful? Give feedback.
-
Espressif as a company look to now go full steam ahead with the release of their all-in-one Thread/Zigbee to Matter bridge solution (development platform) + support in official ESP-IDF and including many examples for their new ESP32-H2 SoC (ESP32-H2-DevKitC-1 V2.1 board) with 802.15.4 Thread/Zigbee (+ Bluetooth Low Energy). Espressif has recently posted a lot of news on Espressif's ESP Matter Solution (e.i. "esp-matter") which uses ESP32 as a Matter-bridge for non-Matter devices such as Zigbee, Thread, and Bluetooth devices, as well as the related news about ESP32-H2 SoC (and "ESP32-H2 DevKitC" board with "ESP32-H2-WROOM-1" radio module) with more news from Espressif about newly established support for Thread/OpenThread (e.i. "esp-thread") + ZBOSS Open Initiative (ZOI) and Zigbee certification announcements (e.i. "esp-zigbee"). In essence, it seems like Espressif are currently fully focusing on embedded Zigbee gateway and Zigbee/Thread to Matter bridge implementation (with an all-in-one two-SoC gateway/bridge solution combining a ESP32-H2 for Zigbee/Thread with an ESP32-S3 for Wi-Fi). For that Zigbee/Thread/BLE to Matter-bridge solution they now even have two reference hardware designs that I linked below. "We offer both Matter-Zigbee and Matter-BLE Mesh bridge solutions with full functional software SDK support. A Matter-Zigbee Bridge uses two SoCs (Wi-Fi + 802.15.4), they are connected via a serial interface like UART or SPI, while a Matter-BLE Mesh Bridge can be done on single SoC with both Wi-Fi and BLE interfaces." Espressif ESP Matter news:https://www.espressif.com/en/news/ESP_Matter_Solution https://www.espressif.com/en/solutions/device-connectivity/esp-matter-solution https://www.espressif.com/en/news/ESP32_H2 https://www.espressif.com/en/news/ESP32-H2_Thread_and_Zigbee_certified https://en.dsr-corporation.com/news/espressif-joins-zoi esp-matter (Matter / Project CHIP) solutions:https://medium.com/the-esp-journal/matter-bridge-for-non-matter-devices-d3b7f003a004 https://blog.espressif.com/matter-thread-border-router-in-matter-240838dc4779 https://docs.espressif.com/projects/esp-matter/en/main/esp32/ https://github.com/espressif/esp-matter https://github.com/espressif/esp-matter/tree/main/examples/zigbee_bridge https://github.com/project-chip/connectedhomeip/tree/master/examples/lighting-app/esp32 https://github.com/project-chip/connectedhomeip/tree/master/examples/chip-tool esp-thread:https://openthread.io/guides/border-router/espressif-esp32 https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_rcp https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_cli https://github.com/espressif/esp-thread-lib https://github.com/espressif/esp-thread-br https://openthread.io/vendors/espressif https://github.com/openthread/ot-br-posix/ https://openthread.io/platforms/co-processor esp-zigbee:https://github.com/espressif/esp-zigbee-sdk https://github.com/espressif/esp-zigbee-sdk/tree/main/components/esp-zigbee-lib https://github.com/espressif/esp-zboss-lib/ https://components.espressif.com/components/espressif/esp-zboss-lib https://github.com/espressif/esp-idf/tree/master/examples/zigbee/ https://github.com/espressif/esp-idf/blob/master/examples/zigbee/esp_zigbee_rcp https://github.com/espressif/esp-idf/tree/master/examples/zigbee/esp_zigbee_gateway esp-protocols:esp-protocols including esp modem (for AT commands, etc.), esp websocket client, mDNS (Zeroconf and DNS-SD), Asio, and more: https://espressif.github.io/esp-protocols/ https://github.com/espressif/esp-protocols https://github.com/espressif/esp-protocols/tree/master/components/esp_modem https://github.com/espressif/esp-protocols/tree/master/components/esp_websocket_client https://github.com/espressif/esp-protocols/tree/master/components/mdns https://github.com/espressif/esp-protocols/tree/master/components/asio Other indirectly related tools from Espressif:https://github.com/espressif/esptool https://github.com/espressif/openocd-esp32 https://github.com/espressif/esp-usb-bridge Hardware Platforms"ESP32-H2 DevKitC" ("ESP32-H2-DevKitC-1 V2.1") board with "ESP32-H2-WROOM-1" radio module: The ESP Thread Border Router consists of two SoCs:
https://github.com/espressif/esp-thread-br#hardware-platforms https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br https://openthread.io/guides/border-router/espressif-esp32 ESP Thread Border Router BoardThe ESP Thread border router board provides an integrated module of an ESP32-S3 SoC and an ESP32-H2 RCP. The two SoCs are connected with the following interfaces:
Standalone ModulesThe SDK also supports manually connecting an ESP32-H2 RCP to an ESP32 series Wi-Fi SoC.
The following image shows an example connection betwe Add a package diagram. ES32-H2 and ESP32: In this setup, only UART interface is connected, so it doesn't support RCP Update or RF Coexistence features. You can refer to ot_br example in esp-idf as a quick start. https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br https://openthread.io/guides/border-router/espressif-esp32 Provided FeaturesThese features are currently provided by the SDK:
In the future releases, the following features will be added:
Post-notePS: I think esp-zigbee support is of interest for ESP32-based Zigbee remote adapter bridges, like ex. Tube's and ZigStar Gateways: https://github.com/tube0013/tube_gateways https://github.com/mercenaruss/zigstar_gateways |
Beta Was this translation helpful? Give feedback.
-
ESP32-C6 SoC, module and development board has now been launched with WiFi 6, BLE 5.0, and 802.15.4, ink. Zigbee and OpenThread! https://www.espressif.com.cn/en/news/ESP32-C6_Available Espressif launched the ESP32-C6 WiFi 6, Bluetooth 5.0 LE, and 802.15.4 IoT microcontroller by making the ESP32-C6-WROOM-1 module: https://www.cnx-software.com/2021/04/11/esp32-c6-wifi-6-and-bluetooth-le-risc-v-soc-for-iot-devices/ Espressif Systems has finally launched the ESP32-C6 WiFi 6, Bluetooth 5.0 LE, and 802.15.4 IoT microcontroller by making the ESP32-C6-WROOM-1 module available on Aliexpress for $14.25 for a pack of 5 modules as well as the ESP32-C6-DevKitC-1 development board that’s out of stock on the official store at the time of writing. but somehow listed in another store for $16.22 plus shipping. Besides the availability announcement, another surprise is the 802.15.4 radio for Zigbee and Thread that was not part of the original ESP32-C6 announcement in April 2021. The ESP32-C6-DevKitC-1 development board comes with a module with 8MB flash, exposes most of the I/O’s from the ESP32-C3, and comes with two USB-C ports, two buttons, and an RGB LED. ESP32-C6-DevKitC-1 development board specifications:
The new ESP32-C6 module and development board work with the ESP-IDF v5.1, currently under development (see progress report), and some basic documentation can be found on read the docs. If you can’t purchase an ESP32-C6 module or board just yet due to limited supplies, don’t despair as more are coming very soon as Espressif tells us to expect more products on Adafruit, Akizuki, Digikey, and Mouser. |
Beta Was this translation helpful? Give feedback.
-
01Space is sell a tiny ESP32-C6 IoT dev board based on ESP32-C6-WROOM-1 wireless module with two 10-pin headers + USB-C for power: https://www.aliexpress.us/item/3256805225446433.html ESP32-C6 Arduino support will require ESP IDF 5.1 framework which [is still under development: |
Beta Was this translation helpful? Give feedback.
-
FYI, Espressif has now publicly launched a new ESP32-H2 + ESP32-C3 combo development board kit and ESP Thread Boarder Router SDK which has been certified as a Thread Border Router (TBR) / OpenThread Border Router (OTBR) which can be used for Matter based on the Thread 1.3 standard, or into a Zigbee gateway (which is not yet Zigbee certified). https://github.com/espressif/esp-thread-br https://github.com/espressif/esp-thread-br#esp-thread-border-router-board https://docs.espressif.com/projects/esp-thread-br/en/latest/esp32/ https://www.aliexpress.us/item/1005005688193617.html PS: As mentioned before, Espressif's earlier two-board ESP Thread Border Router solution was previously available as an example project: https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br |
Beta Was this translation helpful? Give feedback.
-
FYI, missed mentioning that DamKast recently announced "zigpy-zboss" as an (unofficial and experimental) ZBOSS radio library for zigpy: https://github.com/kardia-as/zigpy-zboss zigpy-zboss should in theory be compatible with ESP32-C6/ESP32-H6 if they use the standard ZBOSS API/CLI -> #1052 More zigpy-zboss discussion here -> #394 Also, noticed that grobasoz added some Zigbee RCP and CLI firmware images for ESP32-C6: No idea how or if they work, (grobasoz is known in Home Assisistant's ZHA community for providing unofficial Zigbee NCP firmware images for a wide range of Silicon Labs based Zigbee Coordinator adapters) |
Beta Was this translation helpful? Give feedback.
-
Hello, is it possible with a simple ESP32-H2 to embed a Zigbee router (like for CC2652), considering that ESP32-H2 will be not battery powered ? |
Beta Was this translation helpful? Give feedback.
-
Very interesting modules and lots of information in this thread. Thanks for that. That being said, I've recently ran into these and am tempted to order 1 or 2. My main use case would be Zigbee, not Wifi. But the C6 and H2 dev modules are basically the same price and for testing purposes the C6 will do fine, especially since that one is available in a smaller formfactor, e.g. https://www.aliexpress.com/item/1005006111477366.html Just started looking into these, so I don't know all the specifics yet, but I do have 2 particulair questions.
|
Beta Was this translation helpful? Give feedback.
-
FYI, I think that the ESP32-H2 is meant to target battery-powered end devices while the ESP32-C6 only targets mains-powered solutions.
However, be warned that you would be an early adopter of Espressif's esp-zigbee-sdk SDK so it is probably not the ideal platform for advanced devices if you to combine easy and quirk with flexible and extensive. If your goal is just to build custom Zigbee devices and your decision to use ESP32 hardware is not set in stone because you are already familiar with Espressif ESP-IDF SDK then I believe you should be interested to know that Nordic Semiconductor has much better/mature Zigbee documentation and SDKs for its nRF series of radio hardware chips, and their Zigbee SDK under the hood is also based on the same ZBOSS Zigbee stack that Espressif's Zigbee stack is based on, but Espressif have abstracted it and hidden ZBOSS Zigbee stack under their own custom SDK and APIs/CLIs. So might be easier to develop on nRF52840 development kits using Nordic Semic's SDK, and only then maybe look at porting the application to ESP32-H2 and/or ESP32-C6 later.
PPS: Off-topic but FYI, you might also be interested in checking out Espressif's Matter SDK with examples, and their ESP RainMaker project: |
Beta Was this translation helpful? Give feedback.
-
Thank you for taking the time to write such an extensive reply. Much appreciated. Apologies for not replying earlier, some winter virus got to me pretty bad. Anyway, what got me interested in the ESP32-H2 (battery powered is a big plus), is possibe future ease of use when looking at ESPhome. I realize this is a Zigpy discussion, but it is something to take into account when investing time into learning a new platform. But it's not set in stone at all. What worries me is being an early adopter. Getting up and running shouldn't be a problem (20+ years C++ developer), but I'm afraid it will eat up time I just don't have, no matter how much I want to. Having a 5yo kid kind of puts a limit on how much fun you can have with these kinds of things. You mentioned Nordic Semi, so I've been checking out their SDK and nRF52840. That seems to be a better match (at this point in time). Mature SDK, IDE and cross platform. Seems to be a better fit for my specific needs/situation while waiting for Espressif products to mature. Currently thinking of getting a few of their dongles to play with. Small, enough IO and low power. As a bonus, apparently they offer a ready made firmware for a Zigbee sniffer that hooks into Wireshark. And if for some reason I get stuck, there's the full blown dev board with on-board debugging available. And with a bit of luck some of the knowledge I get from this applies to Espressif setup as well. As you said, both are based on ZBOSS. |
Beta Was this translation helpful? Give feedback.
-
FYI, the is a feature request for ESPHome and discussion directly related to that here -> esphome/feature-requests#1397 However no one have begun working on it yet as far as I know, (and it is a project that needs a passionate C developer with loads of time). |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for all these useful information. |
Beta Was this translation helpful? Give feedback.
-
FYI, upcoming ESP32-H4 and ESP32-C5 MCU SoC models announced with 802.15.4 radio for Thread and/or Zigbee (+ Bluetooth).
I understand that all of these will in the future be fully supported by the ESP-IDF framework as well as the ESP-Zigbee-SDK and ESP-Matter-SDK to more flexibility in choice of model options. PS: Also announced is the new ESP32-P4 which a very powerful high-performance MCU SoC without any radios at all, so it is designed to act as a general purpose host MCU that in combination with above SoC to make a 2-SoC solution with Ethernet PHY (like for example a Zigbee Gateway). |
Beta Was this translation helpful? Give feedback.
-
Update: Espressif ESP32-C6 is a new mainstream ESP32 SoC featuring WiFi and an embedded 802.15.4 radio for Zigbee and Thread + BLE.
https://www.espressif.com/en/news/ESP32_C6
FYI, Espressif of ESP8266/ESP32 fame recently announced an ESP32-H2 series which is a SoC based on 32-bit RISC-V MCU core with an integrated 802.15.4 radio that supports Zigbee 3.x and Thread 1.x (including Matter/CHIP over Thread), as well as Bluetooth Low Energy 5.2
https://www.espressif.com/en/news/ESP32_H2
These new ESP32-C6 and ESP32-H2 SoCs sound like variants of their low-cost ESP32-C3 series, with a 802.15.4 radio to add native support for Zigbee and Thread as well as BLE 5.2, however the for the ESP32-H2 they even removed the Wi-Fi radio to make it even lower-power and less costly.
Unfortunately, there is not any news released about the Zigbee stack/SDK/libraries/code for it as of yet, but will probably be ZBOSS ZOI base).
https://dsr-zoi.com/
I guess they will initially be focusing on Matter 1.x (Project CHIP) support over both Wi-Fi and Thread/OpenThread because of all the current hype around Matter 1.x (Project CHIP) support, however when they add support for a Zigbee PRO stack like ZBOSS by DSR or similar then I think that a new radio library for zigpy could make this new SoC a very interesting hardware platform alternative to base inexpensive Ethernet-to-Zigbee bridges/gateways/proxy server appliances on.
https://www.cnx-software.com/2021/08/03/esp32-h2-risc-v-wisoc-announced-with-zigbee-3-thread-and-bluetooth-le-5-2/
https://www.cnx-software.com/2021/07/28/esp32-h2-bluetooth-le-802-15-4-risc-v-soc-shows-up-in-esp-idf-source-code/
ESP32-H2 will be supported through Espressif’s IoT Development Framework (ESP-IDF), and you can check out the software development progress on GitHub
https://github.com/espressif/esp-idf/
https://github.com/espressif/esp-idf/search?q=esp32h2
PS: Off-topic but FYI, Thread devices have been proven to be much faster than Zigbee and Bluetooth Multicast (Bluetooth Mesh):
https://www.reddit.com/r/homeautomation/comments/nxmehn/clearing_up_confusion_thread_is_much_faster_than/
Beta Was this translation helpful? Give feedback.
All reactions