Wednesday, July 22, 2026

Enphase solar monitor on ESP32 CYD

I had a simple display that monitored my solar generation, usage and net some years ago but the company updated the software to require HTTPS and an authentication token. This update gets it going again. 

A MicroPython project that turns a CYD (Cheap Yellow Display) — an ESP32 board with an integrated 320×240 ILI9341 TFT — into a live dashboard for a home solar system. It polls an Enphase Envoy gateway on the local network and displays current generation, consumption, and net power, along with a scrolling line graph of recent history.

Along the way I ran in to a problem with HTTPS from MicroPython on ESP32 that turned out to be a known bug. To get it to work I've had to use an older version of MicroPython for ESP32.

You'll need to log in to your Enphase account and generate a token which lasts a year.

The code is here on GitHub.

No comments: