Well, its Chrismas again, and all of those battery operated Christmas decorations get distributed throughout the house. Most are low power LED’s of some kind and it got me thinking, wouldn’t it be great if I could automate them from HA and presence detection. I did a bit of research and perhaps an ESP32 with either BLE or ZigBee running ESPhome and some kind of sleep mode.
I’m about to do this, actually, but it’s much simpler, and you don’t need an ESP device — assuming all your low volt lighting is the same voltage. All you need is a transformer with 4.5 volt output, a smart plug (zigbee/wifi/zwave), and a good run of 26AWG wire to carry those 4.5 volt outputs. Solder or plug (using jst 2 pin) all your 4.5 v lights in parallel on your “low power rail” (the cable), and presto, you’re good. Power on — power off.
For presence detection you can use the device tracker that best suits you, and then you can automate the lights turning on or off depending on presence state.