ESP32-C6 with ZigBee using Arduino Framework

I have an existing ZigBee network running and in Home Assistant and I’m using Zigbee2MQTT

I have several (off the shelf) devices connected to the ZigBee network and everything is working great.

I now want to develop my own device using a ESP32-C6 in the Arduino IDE, using the Arduino Framework.

I’ve got the demo applications for a switch and light working and talking to each other, but those examples don’t show code for Zigbee discovery mode to join an existing network (I.e the HomeAssistant network).

So my question is this.

Has any one got the ESP32-C6 running with Zigbee (either as a EndDevice or Router Device) using the Arduino Framework where you have manage to network to the Home Assistant Zigbee network, and you’re using that device in Home Assistant.

For some background I would like to create a fish pond controller that controls several 240V and 12V pumps/bulbers, also receive temperatures, water levels, etc.

I have this pond controller working already using 433Mhz with a Arduino Nano, but wanted to port it over to Zigbee using ESP32-C6. I know I could port it over to ESP32 with WiFI and have a restFUL API but the purpose of this project was to play with Zigbee. However I’m stuck at the first point as I can’t even see my devices in Zigbee2MQTT discovery.

Any pointers and better still example code (above the espressif example code) would be awesome.

Many thanks in advance.

Did you try Seed Studio demo?

the arduino ide had many examples

Hi

Many thanks @WarLion and @Karosm for the links.

I have indeed been working with the XIAO tutorial.

I’m clearly doing something wrong, as I can’t get Home Assistant Zigbee2MQTT to discover the ESP32C6

I click the permit all to join, but nothing shows up in H/A

Not of the examples seem to cover enabling the device to join a network. Kinda how you hold the button for 3-5 seconds on a plug to join.

Do you have working ESP32C6 with Zigbee and joined to your H/A network?

Regards

Do you see the device in zigbee2mgtt?

It may appear as unsupported. See the zigbee2mgtt Documentation for adding support for a device.