☀️

solarGain

How much of your AC bill is really the roof? Measure it with the Home Assistant sensors you already own, then model the fixes before paying for them.
View the demo dashboard Read the user guide GitHub
solarGain summary card: three measured days of attic vs outdoor temperature, plus modeled ridge vent and R-38 insulation scenarios

What it does

solarGain pulls temperature, solar production, wind, and AC power history out of Home Assistant's recorder and renders one self-contained dashboard.html. No server, no chart library, no cloud, and nothing to install beyond Python.

How it works

Pipeline: Home Assistant recorder feeds fetch_history.py, which writes history.json; build_dashboard.py injects it into the template and writes dashboard.html

Point entities.py at your own sensors, drop a Home Assistant token in .env, and run ./run.sh. The user guide covers everything, and ./run.sh --mock builds the same demo you see here without touching a real house.