XIAO ESP32C6 as an End Device for Zigbee2MQTT

I was able to get the Occupancy Sensor to work as expected. It isn’t exactly the functionality I’m interested in but it gives me a solid starting point to work on a custom device. I think my problem originated from the following:

  1. Confusion about switches. I want the device to control to send on/off messages to zigbee2mqtt, not the other way around.
  2. Although the example scripts are relatively simple, I have trouble tracing and following all the nested include files. They’re not well commented so it’s a struggle trying to understand the various classes and definitions they contain.
  3. The external converters were not properly constructed.
1 Like