Anyone else using a Raspberry Pi to log their battery data, or is it overkill?

by OddJobBob · 1 month ago 58 views 5 replies
OddJobBob
OddJobBob
Active Member
15 posts
thumb_up 1 likes
Joined Jun 2025
1 month ago
#30935

Been running a Pi Zero 2W in the van for about eight months now and honestly it's transformed how I understand my system.

Started with just a Victron SmartShunt and the official app, which is fine, but you only ever see a snapshot. The Pi pulls data via Bluetooth every 30 seconds, shoves it into InfluxDB, and Grafana does the rest. Now I can actually see the story — that slow overnight vampire drain I had for weeks turned out to be my 12V fridge cycling more aggressively than I'd realised around 3am when temps drop.

The setup cost me about £35 all in. Pi Zero, a cheap case from Amazon, runs off a dedicated 5V USB tap on my Fogstar battery. Pulls maybe 1-2W. Totally worth it.


The bit that surprised me was how much I changed my behaviour once I had proper data. I stopped second-guessing whether I could run the laptop through a cloudy afternoon. The numbers just told me.

Obviously if you've got a simpler setup — maybe a single leisure battery and a basic solar controller — then yeah, maybe overkill. But if you're trying to optimise a more involved system, the visibility is genuinely useful rather than just nerdy fun (though it is also nerdy fun).

Anyone else gone down this rabbit hole? Curious whether others are using VictronConnect data exclusively or have gone full DIY logging. Also wondering if anyone's integrated weather forecast data to get predictive SOC estimates — that's my next project and I'm not entirely sure where to start.

Nick
Nick
Member
5 posts
Joined Oct 2025
1 month ago
#30957

Nick1982 | 847 posts | ⚡ Off-Grid Enthusiast


@OddJobBob definitely not overkill - I'd say it's almost essential once you get past the "is my battery full or not" stage of understanding your system.

I'm running a Pi 4 at home with a SmartShunt feeding into Node-RED → InfluxDB → Grafana stack. The historical trend data is where it really pays off - you can spot patterns like your battery never quite hitting absorption properly on overcast days, which you'd completely miss just glancing at the app.

One tip: if you're on a Pi Zero specifically, watch your SD card writes. I killed two cards before switching to log2ram to buffer writes in memory first. Saved my sanity.

What are you using to pull the SmartShunt data - VE.Direct cable or Bluetooth polling?

Solar Rachel
Solar Rachel
Active Member
19 posts
Joined Aug 2024
1 month ago
#30968

Been down this rabbit hole myself after a power cut last winter left me scrambling to understand exactly why my backup system hadn't held as long as I'd expected.

The Pi logging genuinely changed everything — I spotted a pattern where my Fogstar cells were sagging harder than expected during cold nights, something the Victron app's snapshots completely masked. You need the continuous data to see the story properly.

One thing worth adding: if you're using this for emergency backup scenarios rather than just curiosity, pair your Pi logging with Node-RED dashboards and set threshold alerts. Knowing your SOC is dropping faster than usual before it becomes critical is the whole point.

@OddJobBob what are you using for your data visualisation layer? Grafana seems popular but I've heard it can be heavy on the Zero 2W under load.

Bazza60
Bazza60
Active Member
47 posts
thumb_up 6 likes
Joined Mar 2024
1 month ago
#31003

Bazza60 | 1,203 posts | ⚡ Off-Grid Enthusiast


Running a Pi 4 (2GB) here with Venus OS Large installed — effectively turns it into a proper GX device. Pairs directly with the SmartShunt, MPPT, and my Multiplus II over VE.Direct/VE.Bus without any custom scripting needed.

The real win for me was MQTT integration feeding into Node-RED dashboards. You can set conditional alerts — if State of Charge drops below 20% overnight, or charge current from the panels looks anomalous, you get a notification immediately rather than discovering a problem the next morning.

@SolarRachel the logging aspect is genuinely invaluable for diagnosing intermittent issues. I traced a parasitic drain on my Fogstar lithium bank entirely through Grafana graphs — never would have spotted it otherwise.

Worth noting: Venus OS Large runs on a Pi 3B+ too if cost is a concern.

Van Gill
Van Gill
Regular
65 posts
thumb_up 33 likes
Joined Jun 2023
1 month ago
#31021

VanGill | 2,341 posts | ☀️ Solar Obsessive


@Bazza60 Venus OS Large is the way — running identical setup here on a Pi 4 4GB across my static caravan system. One thing worth adding for anyone just starting out: pair it with Node-RED (already bundled in Venus OS Large) to build custom automations. I've got mine triggering alerts when state-of-charge drops below 20% overnight, which has saved my Fogstar Drift cells from a damaging discharge twice now.

@OddJobBob the real value isn't just the logging — it's pattern recognition over weeks and months. After six months of data I could clearly see my 400W Renogy array was underperforming by roughly 15% compared to expected yield. Turned out a mounting bracket had shifted the tilt angle. Never would've spotted that through the app alone.

The Pi pays for itself many times over in prevented battery damage.

Chris
Chris
Active Member
11 posts
Joined Jun 2024
1 month ago
#31139

Chris1997 | 847 posts | 🔋 Battery Nerd


Great thread! I went a slightly different route — Pi 4 with a fresh Raspbian install and Grafana + InfluxDB pulling data via the Victron MQTT broker. More faff to set up than Venus OS admittedly, but the dashboards you can build are absolutely gorgeous and it's dead flexible if you want to pull in other data sources alongside it.

One thing I'd flag for anyone starting out — make sure you're running the Pi off a separate regulated 5V supply rather than directly off your battery bus. I fried a Pi Zero early on during a voltage spike and it was a painful lesson.

@Bazza60 and @VanGill — are you both using the built-in Venus OS dashboards or exporting to something external? Curious whether the Venus approach gives you enough granularity on historical data or if it feels a bit limited long-term.

Log in to join the discussion.

Log In to Reply