ESP32H2 and ZIGBEE sensors
ESP32H2 and ZIGBEE sensors
Hello to all, I hope you guys are doing well. I have a ESP32-H2 Devkit-M1 and two ZigBee sensors one is door sensor(ZG-102ZL/ZG-102Z) and second one is a button(KOJIMA-SPB-ZGB-W). I am using ESP-IDF. I used this example "https://github.com/espressif/esp-zigbee ... off_switch" and I connected my door sensor with ESP32H2 but I am not sure how can read it's output on serial monitor. I am using esp32h2 as a coordinator. if anyone know how to do it please let me know or share some video or blog link Thank you in advance.
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: ESP32H2 and ZIGBEE sensors
I think this tutorial will help you to some extent. It does not feature the same version of ESP32 that you are using. But still, you can get the basic help from here: https://wiki.seeedstudio.com/xiao_esp32c6_zigbee/
Re: ESP32H2 and ZIGBEE sensors
I checked these tutorials as well they just used two esp32 one as a coordinator and one as an End device. Is there any one who knows how to do this project like first I have to make my ESP32H2 work as a ZigBee coordinator, then all ZigBee sensors connected with this coordinator and read their values.
Re: ESP32C6 and ZIGBEE sensors
I’m working with several ESP32C6 Xiao boards programmed as Zigbee devices using the example sketches provided in the Arduino IDE. The simple switch and bulb Zigbee end-device examples work perfectly — they integrate and function as expected in Home Assistant.
However, I’m having trouble with the sensor examples (contact switch and motion sensor). They compile and run without issues, but after even the shortest power cycle, they lose their sensor status data — unlike the bulb and switch examples, which recover correctly. The Zigbee connection itself remains intact; it’s only the sensor state information that seems to be lost.
I suspect the issue might be related to the Zigbee.h library or perhaps a missing configuration setting. Has anyone encountered this problem or found a solution?
However, I’m having trouble with the sensor examples (contact switch and motion sensor). They compile and run without issues, but after even the shortest power cycle, they lose their sensor status data — unlike the bulb and switch examples, which recover correctly. The Zigbee connection itself remains intact; it’s only the sensor state information that seems to be lost.
I suspect the issue might be related to the Zigbee.h library or perhaps a missing configuration setting. Has anyone encountered this problem or found a solution?
Who is online
Users browsing this forum: Baidu [Spider], PerplexityBot and 9 guests