Pairing ESP32C6 using ESP-IDF to Zigbee2MQTT

stephmartin16
Posts: 3
Joined: Tue Feb 13, 2024 9:25 pm

Pairing ESP32C6 using ESP-IDF to Zigbee2MQTT

Postby stephmartin16 » Tue Feb 13, 2024 9:44 pm

Hi everyone, I'm trying to do a project to send messages from one ESP32C6 to another by using Zigbee2MQTT as a broker with Mosqitto on a Pi and I am struggling to pair the ESPs to the broker. How can I do this? Is there an Espressif guide or will I have to build a new project from scratch? Anything helps, thanks! (Note: we are not using WiFi in this project and only Zigbee)

michcfr
Posts: 30
Joined: Mon Jan 29, 2018 5:55 pm

Re: Pairing ESP32C6 using ESP-IDF to Zigbee2MQTT

Postby michcfr » Thu Feb 22, 2024 6:17 pm

Hello,
Maybe take a look at the ESP ZigBee SDK.
https://docs.espressif.com/projects/esp ... oping.html

Do you have a Zigbee Coordinator? or perhaps declare one of the ESP32-C6 as Zigbee Coordinator. See:
https://docs.espressif.com/projects/esp ... g.html#id3

I appreciate if you can write any feedback.

stephmartin16
Posts: 3
Joined: Tue Feb 13, 2024 9:25 pm

Re: Pairing ESP32C6 using ESP-IDF to Zigbee2MQTT

Postby stephmartin16 » Thu Feb 22, 2024 9:31 pm

michcfr wrote:
Thu Feb 22, 2024 6:17 pm
Hello,
Maybe take a look at the ESP ZigBee SDK.
https://docs.espressif.com/projects/esp ... oping.html

Do you have a Zigbee Coordinator? or perhaps declare one of the ESP32-C6 as Zigbee Coordinator. See:
https://docs.espressif.com/projects/esp ... g.html#id3

I appreciate if you can write any feedback.
I have a dongle with coordinator firmware running as my coordinator on the raspberry pi. It is interfaced with Zigbee2MQTT successfully. I am using the "customized_client" example on my ESP32-C6 and it successfully paired with the coordinator, however after that I get many error messages and when I push the button to send a message the Zigbee2MQTT ignores it and says it is still interviewing (despite the interview process having completed before). From what I understand this is a ZDO issue but I cannot figure out what function is causing it and where. I want to figure out simply how to send a message to the coordinator and be able to also receive messages (Zigbee2MQTT would bounce coordinator messages received over to the MQTT and vice versa). Any help is appreciated. The customized_client project code: https://github.com/espressif/esp-zigbee ... zed_client
Here are some relevant pictures:
Image
Image

Who is online

Users browsing this forum: Majestic-12 [Bot] and 418 guests