Decorative battery-powered lights controlled by ZigBee?

I have a couple of decorative LED lights in my home that are battery powered and have a simple on-off switch on the bottom.

I’m looking for a solution that will allow me to control these lights using ZigBee or something that I can integrate into Home Assistant.

Thanks for your advice!

Use an ESP8266 and turn it into an ESPHome device.

1 Like

Would you share some sources how to do that? Maybe the time has finally come.

Get a Wemos D1 Mini or NodeMCU and experiment with it using ESPHome on Home Assistant before attacking our final project.

Both are WIFI. That can be turned into Zigbee? I know both are 2,4G.

No, that won’t work. Just that they use a similar frequency does not mean they are interoperable! A ESP8266 is a WiFi chip, not Zigbee. Both are also completely different in their protocol. There is, for example the TI CC2652, which is something equal but for Zigbee. It is used in Sonoff ZBMINI, for example.

WiFi is also not suitable for battery powered devices, because it draws too much power. Zigbee is much bettwr for this. I head the same issue and reverse engineered such a sonoff switch. It can be powered by 3.3 or 5V by simply bypassing the internal powersupply. Using the internal transistor instead of the relay is good to drive small lights, maybe add a mosfet for more power.

What part of:

did you miss?