ESP32-C6 Zigbee coordinator

Hi,
Is it possible to use ESP32-C6 as Zigbee coordinator over UART?
As far as I understand, It is used together with another ESP32 to make Zigbee<–> WiFi evice. But I want to connect ESP32-C6, flashed with esp-zigbee-ncp firmware, over UART to Raspberry Pi and then use it as Zigbee coordinator in HA. Is it possible?
Thanks.

Perhaps it’s easier to just buy a proper Zigbee dongle.

2 Likes

I know, it is of course easier.
But I want to develop a hardware, therefore, I need to make it over UART

Yes it is possible.
ESP32H2 is using this principle and one of half of it is actually equal to the ESP32C6, which handle the Thread or Zigbee network.
The other half is a ESP32S2, I think, which handle the WiFi or ethernet, and they then communicate internally over UART.

Yes, Espressif provides example code for this. I think the main challenge is the “and then use it as Zigbee coordinator in HA” part.

Yeah, but if OP is good at coding, then he might be able to do it.
If not then I think there is a example code somewhere for an ESP32 acting as the WiFi part, just like on the ESP32H2 board.

I think I didn’t express my question very clearly, sorry about that.

I want to build a Zigbee coordinator using hardware that connects to Home Assistant only via UART. There will be no USB-to-Serial converter, no Zigbee-to-WiFi bridge, or anything similar. The device will be connected directly to a Raspberry Pi over UART. Only a single ESP32 will be used for radio communication (Zigbee).
I am also good at coding, but I don’t know where to start for HA part of the communication.

1 Like

HA uses the zigpy library which in turn supports various different coordinator implementations.

You’ll either create your own radio library and make up your own serial protocol, or base the serial protocol on one of the existing libraries.