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?


I guess these could help
https://www.ecosia.org/search?method=index&q=tasmota+install+esp
https://www.ecosia.org/search?q=tasmota+simple+pwm+pin
https://www.ecosia.org/search?q=mosfet+led+schematic