Fish Tank Light Control: ESP-8266

I have many, many plans with this tiny breakout board and wanted to warm up with a practical project. This is an ESP-8266, programmed with an amateur REST api that controls two channels of these massive LED light bars with 5v relays.

This microcontroller can be slow to respond to requests – it’s already been superseded by the ESP-32 after all. Consequently I have a Raspberry Pi (running my home’s web server) to serve up this hot slice of webpage and preload the temperature/light statuses with cron. This makes the web app load almost instantaneously instead of requesting directly from the ESP on demand.