I am trying to use an Seeed XIAO ESP32C6 as a Zigbee end device that reports the state of a GPIO pin to zigbee2mqtt configured with an SLZB-06M coordinator.
Although the device is recognized by zigbee2mqtt, it never configures an output cluster and never reports the state of the GPIO pin to zigbee2mqtt. I’ve also tried using esp-idf with sample code provided in the esp-zigbee-sdk with the same result… I can never get the state of the GPIO pin to appear in zigbee2mqtt.
Since none of the variations I’ve work, I must be missing something fundamental and would appreciate some pointers on the correct approach.
I have referred to many of the examples on the Wiki. I was able to get the light examples to work with zigbee2mqtt or Home Assistant. I was also able to bind an esp32c6 configured as a switch/coordinater to a second device configured as an end device light.
However I was not successful in get the esp32c6 device act as an end device that reported status TO zigbee2mqtt or Home Assistant.
So I was able to get about as far as you, but also couldn’t get the MQTT to show it? Then I came across this article. Take a look maybe you’ll see something i missed?
HTH
GL PJ
also to the right of the articles page are more projects by the USER one is the MQTT wioTerminal one. Maybe some info in there also.
@rslueb - It depends on what you actually require, whether just an on/off state, or an IAS Zone Device (which is used by the devices you have shown above).
For some reason the Espressif On/Off switch is a ZCZR device… I tend to work with the idea that a Zigbee On/Off device is an End Device (Sleepy) - like a key fob?
If you’d like a specific device like a “(Sleepy) On/Off Button”, then you need to create it yourself.