Making a working zigbee light with an ESP32-C6
Posted: Tue Aug 22, 2023 1:50 am
I'm a bit frustrated with the zigbee examples in the SDK. I'm trying to make a working light device using an ESP32-C6.
You'd think this would be trivial - just add a few lines of code to manage a relay to HA_light example. But to make it useful for a home automation system, you need a manufacturer and model number and that code leaves those undefined.
I saw another post on this board asking about manufacturer and model attrs, and tried to get it working by adding code to the HA_light example, but it's not working. I suspect it's obvious once you've succeeded, but until then, it's pretty opaque.
I would think someone must have a project to implement a useful relay (or just a version of the HA_light example with manufacturer and model attrs), since it seems to basic. Really, I'd expect the HA_light example to have a manufacturer and model, rather than undefined -- that seems obvious.
Can someone point me to someone's existing project that does this? Surely one exists already?
You'd think this would be trivial - just add a few lines of code to manage a relay to HA_light example. But to make it useful for a home automation system, you need a manufacturer and model number and that code leaves those undefined.
I saw another post on this board asking about manufacturer and model attrs, and tried to get it working by adding code to the HA_light example, but it's not working. I suspect it's obvious once you've succeeded, but until then, it's pretty opaque.
I would think someone must have a project to implement a useful relay (or just a version of the HA_light example with manufacturer and model attrs), since it seems to basic. Really, I'd expect the HA_light example to have a manufacturer and model, rather than undefined -- that seems obvious.
Can someone point me to someone's existing project that does this? Surely one exists already?