Solar Dashboard - Conclusions and the finished Grafana dashboard
I don't depend on the old dashboard anymore. Every message the inverter sends goes through my relay, lands in my own database and shows up in my Grafana instance. When the vendor's site goes down I don't lose any data, and my dashboard even shows how long the outage lasted.
Below is a snap of the whole dashboard, top to bottom, for about a day and a half in early September. Nothing special happens in it, which is how I like it. It shows a night on the grid, then a sunny day on solar and battery, and the grid again for the next night.
Solar glance
The main dashboard grew to over 30 panels. That is great for a post-mortem at the desk, but it is too much for the most typical use case, me checking on my phone if the system's parameters look off.
So I asked for a second, phone-sized dashboard, Solar glance. It answers just that question: when the last message arrived, the current mode, grid, battery, solar and load, the energy since the start of the range, and any active warnings, faults or firing alerts. If something looks off there, I can open the full dashboard with one tap.
What's next
The relay is the one piece that has to stay up no matter what happens to the homelab. Today it runs on a
Raspberry Pi as a Python service under systemd, with its own virtual environment (all set up by the sd tooling).
The next step is to run the relay in a container on the Pi. That should make the box simpler to rebuild or replace, make the relay the same artifact wherever it runs, and bring it closer to how everything else in this or my other projects is deployed.
I could also create more alerts so that I can stop proactive problem seeking and let the system notify me when something goes wrong. I was planning on doing that incrementally, as various problems occur. There haven't been many problems so far, so I may need to sit down and codify my thoughts on what deserves an alert.
Other posts in solar-dash series
- The challenge
- The vision
- Claude setup
- Phased approach
- Learning the protocol
- Managing agentic output
- Reflecting on agentic coding
- Conclusions