Menu

Built a homebrew real-time solar + grid energy monitor using Claude Code — tapped my Enphase Envoy and Rainforest EAGLE-200, built a caching API, and it lives in my Mac menu bar

#solar#enphase#built#grid#code
Reading 0:00
15s threshold

I've been on a home lab kick lately and this is my favorite thing I've built. Here's the full stack:

The Hardware

22-panel Enphase solar system with Envoy-S gateway

Rainforest EAGLE-200 smart meter bridge (reads my PG&E meter in real time)

Self-hosted on my co-located Debian server

The Problem

Both devices have local APIs but they're slow, finicky, and not designed to be polled constantly. Hitting them directly every 30 seconds from a web page would be sluggish and would hammer the devices.

The Solution

A cronjob runs every 5 minutes and hits both APIs, storing the results in a SQLite database on my server. The web app reads from the DB — sub-millisecond response times.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.