

I’m aware of Shelly and similar products. they are way overkill for this lamp - it’s literally 1 LED and was powered from USB before I modified it to run from a 5V wall wart. I’ve ordered a few ESP32 boards to play with. I’m pretty confident I can power my lamp from one because one of the tutorials I found for new users was literally making a light switch. The tutorial used a LED for proof of concept and said to replace the LED with a relay to switch a real light.









Just a few minutes ago I learned about neocities.org. At first glance it looks like it might do what you want.