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?

  • Zwuzelmaus@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    A fun little soldering project. I have built 2 of these:

    A small ESP (16 is enough, no need for 32) to run Tasmota. Now you have WiFi and MQTT for free, to connect to your HA.

    From the ESP you define one PWM output pin that controls a simple MOSFET dimmer circuit (google for the schematic, 4 resistors or so), that feeds your LED.

    • dream_weasel@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      Is there a set of keywords or tutorial video or something I could look at for this? It sounds like the right way to add smarts to dumb devices. I unfortunately don’t know much about hardware and the only esp I’ve ever used is a 32 and I direct followed a tutorial for room assistant to set it up but I have 0 idea how it works.