4 ms·
Some years ago when I lived in the north, I built probably the shoddiest circadian lighting that exists (and still operates). It is an ESP board with some MOSF
by 4gotunameagain 4y ago
Some years ago when I lived in the north, I built probably the shoddiest circadian lighting that exists (and still operates).
It is an ESP board with some MOSFETS soldered on a perf board, connected to a huge RGBW LED strip and powered by a beefy power supply I found. 230V cables barely covered and the perf board naked to the elements.
The ESP hosts a page that displays sliders to control the light, which send a websocket command to change the PWM duty cycle. I implemented a lamp temperature to RGB that I found on God knows where, and then had a python script on a raspberry pi to slowly raise brightness and color temperature for sunrise etc by sending directly the websocket commands.
It is a single C++ arduino file with all the html and Javascript as big char arrays. It is horrendous. But hey, been running for years and I know I will never touch the code again anyway :)