this post was submitted on 31 Oct 2025
9 points (100.0% liked)

homeassistant

19332 readers
10 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

I've got a cheap salt lamp with a LED inside and it runs on a 5V wall wart. I think it originally had a USB plug but I cut that off and connected it to an old 5V power supply.

I've never used esp32, but I've been doing some reading and it seems like an esp32-c6 will allow me to do this with ZigBee.

Does this sound reasonable? Are there other options I should consider?

you are viewing a single comment's thread
view the rest of the comments
[–] klangcola@reddthat.com 5 points 6 months ago

You might need a transistor or relay between the esp32 and lamp, assuming the lamp draws more current than the esp32 can sink.

Easiest solution is probably a Zigbee or wifi switch for the wallwart, but that's not as elegant and a bit overkill :P