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

homeassistant

19326 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
[–] Zwuzelmaus@feddit.org 2 points 6 months ago (2 children)

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 1 points 6 months ago (1 children)

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.

[–] spitfire@lemmy.world 1 points 6 months ago (1 children)

Did you mean esp8266 instead of 16?

[–] Zwuzelmaus@feddit.org 3 points 6 months ago

That's precisely correct.