Anyone else using a Raspberry Pi to log their solar data, or is there a better way these days?

by HalfAJob55 · 1 day ago 20 views 5 replies
HalfAJob55
HalfAJob55
Active Member
14 posts
thumb_up 1 likes
Joined Dec 2024
1 day ago
#35658

Been running a Pi 4 with VictronConnect + Venus OS large for about two years now and the only thing that's died is my will to explain it to my wife.

Honestly though, once you've got Node-RED feeding into InfluxDB with a Grafana dashboard on top, you feel like NASA mission control — except you're monitoring a shed in Shropshire and the data mostly just confirms your batteries are having a worse day than you are.

The Pi does the job, but I'll admit the Victron Cerbo GX is tempting purely because it Just Works™ without three days of cursing at SSH terminals. Bit pricey mind.

Few things I've learned the hard way:

  • Get a decent SD card or your logs will vanish faster than a sunny week in February
  • A small UPS on the Pi itself saves a lot of heartache when your SOC tanks overnight
  • Fogstar cells + Victron MPPT data side by side on Grafana is genuinely satisfying in a deeply sad way

Curious whether anyone's moved to something like Home Assistant as the backbone instead, or if there's a newer bit of kit doing the rounds that makes the Pi route look like archaeology. Also wondering if anyone's cracked decent mobile alerts without paying through the nose for cloud subscriptions — my current setup texts me when things go wrong, which is essentially a device for delivering bad news at 3am.

What's everyone else running?

ExSquaddie49
ExSquaddie49
Senior Member
119 posts
thumb_up 27 likes
Joined May 2023
1 day ago
#35700

@HalfAJob55 ha, the wife explanation problem is universal mate.

Been running Venus OS Large on a Pi 4 aboard my narrowboat for about 18 months. The killer combo for me was hooking InfluxDB + Grafana into it rather than just Node-RED alone — you get proper historical trending rather than just live dashboards. Watching your battery SoC curves over weeks tells you so much more about your usage patterns than any snapshot.

Worth noting the Pi's SD card will eventually corrupt, especially in a damp boat environment. I swapped mine to a USB SSD boot drive and haven't had a single issue since.

If anyone's on a tighter budget, the Cerbo GX is obviously purpose-built and arguably more reliable, but the Pi route gives you far more flexibility for custom alerting — I've got mine sending Telegram notifications when SOC drops below 20%.

WheresMeWires87
WheresMeWires87
Active Member
19 posts
thumb_up 10 likes
Joined Oct 2023
1 day ago
#35703

@HalfAJob55 mine's on a Pi 3B+ chugging along like a narrowboat doing 4mph — technically functional, technically embarrassing, zero plans to upgrade.

Titch
Titch
Regular
91 posts
thumb_up 58 likes
Joined May 2023
1 day ago
#35733

@HalfAJob55 Two years in here on a similar setup but I've added an InfluxDB + Grafana stack on top of Venus OS Large, and mate, the dashboards are embarrassingly pretty for a shed in a field. Wife still doesn't understand it but she's grudgingly impressed by the colour-coded graphs on the kitchen tablet.

One genuine tip: shove a decent UPS hat on your Pi or power it directly from your 12V bus via a Victron Orion DC-DC — nothing more soul-destroying than a grid blip corrupting your SD card and wiping two years of Fogstar battery cycle data at 2am.

Also switched the SD card for an SSD on a USB3 adapter about eight months ago. Zero corruption since. Pi 3B+ users, I'm looking at you @WheresMeWires87 — USB2 still works fine for this, don't panic.

Crafter Convert
Crafter Convert
Active Member
27 posts
thumb_up 2 likes
Joined Jun 2024
1 day ago
#35749

@Titch — solid stack, that's exactly what I'm running too but I've taken it a step further for EV charging integration.

Got a CT clamp on the grid feed reporting into InfluxDB via a Shelly EM, then Node-RED watches the SOC and time-of-day before signalling my EVSE to throttle charge rate. Effectively turns surplus solar into free miles rather than dumping to grid for pennies.

The key metric I'd add to any Grafana dashboard is battery throughput in kWh/day rather than just SOC percentage — gives you a much clearer picture of actual cycling stress on your Fogstar cells over time.

One gotcha: Pi SD cards will die eventually under constant InfluxDB writes. Move your data directory to a USB SSD. Lost three months of data before I learned that lesson the hard way.

Tracy Allen
Tracy Allen
Senior Member
124 posts
thumb_up 35 likes
Joined Apr 2023
1 day ago
#35769

@Titch @CrafterConvert — the InfluxDB/Grafana combo is genuinely the sweet spot isn't it. I've had mine running on a Pi 4 (4GB) for the garden office setup for about 18 months and the dashboards are almost embarrassingly satisfying to stare at.

One thing worth flagging: SD card rot is a real menace. Killed two installs before I moved the OS to a USB SSD boot. Absolute game changer for reliability — Pi 4 handles it natively, no faffing with bootloader tricks.

Also configured Victron's MQTT broker to push data directly into InfluxDB rather than polling via Modbus, which feels considerably cleaner. If anyone's still doing it the Modbus way and wondering why their CPU occasionally has an existential crisis, that might be your culprit.

@CrafterConvert curious what you're using for the EV integration — OCPP or something more bespoke?

Log in to join the discussion.

Log In to Reply