How to implement door switches in Zigbee controllers

Sanyidev
Posts: 7
Joined: Mon Sep 18, 2023 12:38 pm

How to implement door switches in Zigbee controllers

Postby Sanyidev » Thu Oct 19, 2023 2:47 pm

I would like to get an ESP32C6 Zigbee controller up and running and add standard door switches. I would like to receive just open and close commands (regardless of zones, etc).
How do I do that?

doctor567
Posts: 3
Joined: Fri Oct 20, 2023 4:59 pm

Re: How to implement door switches in Zigbee controllers

Postby doctor567 » Fri Oct 20, 2023 5:05 pm

I am new to programming the ESP32 C6 and H2 myself, but have you checked out https://github.com/espressif/esp-zigbee ... off_switch ? It seems like it would be a pretty good starting point. The door sensor would replace the switch in the example.

Getting setup to build, flash, and debug using ESP-IDF took some doing, but I have it mostly working now.

Who is online

Users browsing this forum: Basalt and 339 guests