
Cómo funciona
Dos productos cerrados, dos ESP32-C6 reales emulados, sin DevKit. El botón ejecuta firmware coordinador (interruptor) esp-zigbee: forma y abre la red. La bombilla contiene su propio C6 con firmware de luz esp-zigbee; busca, se conecta y se vincula al coordinador por 802.15.4 compartido. Pulsar el botón acciona su pin BOOT interno: la interrupción GPIO envía ZCL Toggle real a la bombilla vinculada, cuya función de encendido/apagado controla el WS2812 interno que ilumina el vidrio.
Componentes del montaje
- 2× Batería (Battery)
- Bombilla Zigbee (Zigbee Bulb)
- Botón inteligente Zigbee (Zigbee Smart Button)
Cómo está conectado
- Batería (Battery) · pos→Botón inteligente Zigbee (Zigbee Smart Button) · vcc
- Batería (Battery) · neg→Botón inteligente Zigbee (Zigbee Smart Button) · gnd
- Batería (Battery) · pos→Bombilla Zigbee (Zigbee Bulb) · vcc
- Batería (Battery) · neg→Bombilla Zigbee (Zigbee Bulb) · gnd
Este proyecto ejecuta firmware precompilado en la placa emulada; ábrelo en el simulador para verlo funcionar e inspeccionar cada componente en vivo.
Licencia del firmware (en inglés)
Notice: this firmware uses the LGPL-licensed Arduino core library
arduino-zigbee-switch-c6.bin is statically linked with Arduino-ESP32 3.3.10. Parts of this library are licensed under the GNU Lesser General Public License, version 2.1 or (at your option) any later version. You may modify this work for your own use and reverse engineer it to debug those modifications. Download the relink package and corresponding source to rebuild it with a changed library.
It also links Espressif’s ZBOSS Zigbee stack, supplied unchanged under its own licence, which forbids reverse engineering, decompiling, modifying or disassembling the ZBOSS binary itself. Relink with the ZBOSS archives unchanged.
- Relink package: zigbee-switch-c6-relink.zip (1.0 MB)
- Required shared inputs: arduino-esp32-3.3.10-esp32c6-sdk.zip (10.0 MB), arduino-esp32-3.3.10-notices.zip (0.1 MB)
- Corresponding source: arduino-esp32-3.3.10-core-source.zip (1.2 MB), arduino-esp32-3.3.10-esp32c6-headers-source.zip (2.1 MB)
- Licence texts and relink instructions
Notice: this firmware uses the LGPL-licensed Arduino core library
arduino-zigbee-light-c6.bin is statically linked with Arduino-ESP32 3.3.10. Parts of this library are licensed under the GNU Lesser General Public License, version 2.1 or (at your option) any later version. You may modify this work for your own use and reverse engineer it to debug those modifications. Download the relink package and corresponding source to rebuild it with a changed library.
It also links Espressif’s ZBOSS Zigbee stack, supplied unchanged under its own licence, which forbids reverse engineering, decompiling, modifying or disassembling the ZBOSS binary itself. Relink with the ZBOSS archives unchanged.
- Relink package: zigbee-light-c6-relink.zip (1.0 MB)
- Required shared inputs: arduino-esp32-3.3.10-esp32c6-sdk.zip (10.0 MB), arduino-esp32-3.3.10-notices.zip (0.1 MB)
- Corresponding source: arduino-esp32-3.3.10-core-source.zip (1.2 MB), arduino-esp32-3.3.10-esp32c6-headers-source.zip (2.1 MB)
- Licence texts and relink instructions
Prueba esto
- Espera la conexión y vinculación (las pestañas seriales las narran; tarda un momento).
- Mantén pulsado el botón brevemente. El vidrio se ilumina con ZCL Toggle.
- Selecciona la bombilla para ver conexión y color en vivo.
- Abre Wi-Fi sniffer para ver conexión, vinculación y cada conmutación como tramas 802.15.4 reales.



