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?

  • klangcola@reddthat.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 days 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