I built a $5 Zigbee motion sensor with an ESP32-C6

You can build Zigbee and Thread devices with the ESP32-C6, so I set up a Zigbee sensor with Zigbee2MQTT.