ALL PROJECTS

SolarPhil

Understanding where my solar power actually goes.

Why I built it

I have solar panels on the roof and a Fronius inverter. I could check how much electricity I was generating through the inverter itself or Fronius's web dashboard, but neither was particularly convenient, and the information only told me part of the story.

I wanted something I could check quickly on my phone, with a better view of what was happening across the house. So I started building SolarPhil.

What it does

SolarPhil brings together live generation data from my Fronius inverter and historical electricity meter data from Synergy. I've built a web dashboard and Android app where I can see how much electricity I'm generating, explore grid imports and exports, understand historical household consumption and estimate electricity costs.

The production app is private and authenticated.

Getting the data to line up has been an interesting challenge in itself. The sources update at different times, measure different things, and sometimes have gaps. I've had to be quite deliberate about what SolarPhil can calculate reliably and where it needs to acknowledge missing information. Historical household consumption is calculated only where generation, import and export data are sufficiently complete and aligned; missing measurements remain missing rather than being presented as zero.

DATA FLOW

How SolarPhil's data moves

Live today
Fronius inverterLive solar generation
HannanHome CoreRaspberry Pi 4 collector
Cloudflare Worker / D1Private backend and data store
Serves today
Web dashboardExplore generation, history and costs
Android appCheck the same view on the phone
Historical data
SynergyDelayed historical grid import and export data
Planned

Live household consumption — Planned measurement source for real-time home use and grid flow

SolarPhil architecture: live Fronius readings move through the HannanHome Core collector to a private Cloudflare Worker and D1 backend, which serves the web dashboard and Android app. Delayed Synergy meter readings feed the backend separately. Live household consumption monitoring is planned, not yet available.

Fronius provides live generation; Synergy adds delayed historical meter data. Live household consumption monitoring is a planned next step.

Where it's going

I'm building SolarPhil iteratively. The first priority was collecting and preserving the data, then making it useful through the web and Android interfaces.

The next major step is bringing in live household consumption and grid-flow measurements. At the moment, I can see solar generation in real time, but the fuller picture of household energy use relies on historical meter data.

Adding live consumption monitoring should make it possible to see how much power the house is using, how much solar we're consuming ourselves and when we're importing or exporting electricity, all as it happens.

There's plenty more I'd like to explore once that's working, but I'm deliberately taking it a piece at a time.

Technology

  • Python
  • Cloudflare Workers
  • D1
  • React
  • Kotlin

Why SolarPhil?

The inverter had a device name set up as Phil when we moved in, which made a bit more sense when I discovered the previous owner was called Phillip.

The name stuck, and when I started building my own solar dashboard, SolarPhil seemed like the obvious choice. The slight play on 'solar fill' was a bonus.

View all projects