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

by Gemma Stewart · 1 week ago 20 views 7 replies
Gemma Stewart
Gemma Stewart
Active Member
12 posts
thumb_up 3 likes
Joined Oct 2024
1 week ago
#34817

Been running a Pi 4 on my cabin setup for about eight months now and honestly I'd never go back. Paired it with a Victron SmartShunt and Node-RED, and I can see everything from state of charge to historical discharge cycles on a simple dashboard. Took a weekend to set up properly but the peace of mind is worth it.

The main reason I went down this route was for my emergency backup system — I needed to know exactly what capacity I had available at any given moment, not just a vague LED indicator. The Pi logs to InfluxDB and I've got Grafana charts going back months now. Really useful for spotting patterns, like how much the Fogstar lithium cells lose on cold nights versus mild ones.

That said, I do wonder if it's overkill for smaller setups. A Pi does draw a small but constant load (I'm seeing around 3-4W), which matters if you're tight on power.

A few questions for the thread:

  • Is anyone using a Pi Zero 2 W instead to cut that parasitic draw?
  • Has anyone integrated Modbus from a Victron MPPT directly rather than going via the VE.Direct cable route?
  • Do you bother with a UPS hat to protect the SD card from dirty shutdowns, or just use a good quality card and hope for the best?

Would be curious whether people think the Victron Cerbo GX makes the Pi redundant at this point — it's obviously more polished but the price difference is significant and you lose a lot of the customisation flexibility.

QIH_Electric
QIH_Electric
Active Member
18 posts
thumb_up 3 likes
Joined Apr 2025
1 week ago
#34856

@GemmaStewart not overkill at all — it's arguably the minimum viable monitoring solution once your system gets beyond a couple of panels and a leisure battery.

I've got a Pi 3B+ running Grafana + InfluxDB pulling data from a Victron MultiPlus-II and a Fogstar Drift 200Ah via a SmartShunt. The historical trending is what sold it for me — you can actually see degradation patterns over months, correlate poor charging days with weather, spot parasitic loads you'd never notice otherwise.

One practical tip: run your Pi off a dedicated small LiFePO4 cell rather than directly from your main bank. Keeps the logging alive during low-voltage cutoff events, which are precisely the moments you most want data from.

Also worth installing victron-venus-os data integration rather than scraping Bluetooth — far more reliable over long periods.

Cleggy
Cleggy
Regular
91 posts
thumb_up 24 likes
Joined Aug 2023
1 week ago
#34894

Really interesting thread this — been thinking about doing something similar with my own setup.

@GemmaStewart quick question: how are you pulling the data from the SmartShunt into Node-RED? Are you using the VE.Direct USB cable straight into the Pi, or going via Bluetooth somehow? I've seen a few different approaches and not sure which is most reliable long-term.

Also wondering whether anyone's managed to get battery temperature logging working alongside state of charge data — I've got Fogstar Drift cells and I'm a bit paranoid about charging them in cold weather, so having an automated alert when temps drop below a certain threshold would be brilliant.

Is Node-RED the go-to dashboard choice, or is anyone using Grafana/InfluxDB instead? Seems like the data visualisation side has loads of options and I don't know where to start!

ExBrickie
ExBrickie
Regular
86 posts
thumb_up 13 likes
Joined May 2023
1 week ago
#34901

Been doing something similar on the boat for about two years now, though I started with a Pi Zero W before moving to a Pi 3B when I wanted to run more stuff concurrently.

One thing I'd flag that nobody's mentioned — power consumption of the Pi itself matters when you're off-grid. The Pi 4 in particular is noticeably hungrier than older models. On a boat or cabin where every watt-hour counts overnight, worth factoring that in. I've got mine sleeping certain services between midnight and 6am when I'm not aboard.

Also, if you're using a Victron SmartShunt, make sure you're pulling data via the VE.Direct to USB cable rather than relying solely on Bluetooth polling — it's far more reliable for continuous logging. Bluetooth would occasionally drop on mine and skew the historical graphs.

OffGridGeek
OffGridGeek
Regular
77 posts
thumb_up 13 likes
Joined Jul 2023
1 week ago
#34918

@GemmaStewart been running mine on the narrowboat for three years and the only "overkill" is explaining to my marina neighbours why I've got a full Grafana dashboard just to know my Fogstar batteries are half empty.

WheresMeWires16
WheresMeWires16
Member
7 posts
thumb_up 3 likes
Joined May 2025
1 week ago
#34928

Not overkill at all — it's one of those things where once you've got proper visibility of your system you wonder how you ever managed without it.

I'm running a Pi 3B+ here (the 4 felt like unnecessary power draw for a logging task) with InfluxDB and Grafana rather than Node-RED. The historical graphs are where it really earns its keep — spotted a dodgy cell in my lithium bank just from noticing the SOC curve looked slightly off during charging. Never would've caught that early without the data.

@GemmaStewart curious what you're using for your Node-RED dashboards — are you accessing them remotely at all? I've got Tailscale set up so I can check in on the system from anywhere which has been genuinely useful when I'm away from site for a few days.

EcoFlow_Nerd
EcoFlow_Nerd
Active Member
39 posts
thumb_up 11 likes
Joined Mar 2024
2 days ago
#35521

Right, now I'm seriously tempted to nick this idea for my static caravan setup 🤣

Quick question for the group though — has anyone managed to get their Pi pulling data directly from an EcoFlow unit? I know Victron's ecosystem plays nicely with this sort of thing (Modbus, Bluetooth, the works), but EcoFlow are a bit more... secretive about their API, shall we say.

@GemmaStewart which Node-RED nodes are you using for the SmartShunt? Is it just the standard Victron nodes from the library or something custom?

Currently I'm relying on the EcoFlow app which is fine until the WiFi drops and suddenly I've no idea if my batteries are happy or throwing a silent tantrum. Proper local monitoring sounds like exactly what I need before winter hits and I start actually caring about state of charge again.

Sunny Fisher
Sunny Fisher
Active Member
49 posts
thumb_up 15 likes
Joined Sep 2023
1 day ago
#35632

@GemmaStewart this is exactly what I need for the narrowboat! Currently flying blind on my Fogstar 200Ah LiFePO4 and relying on a cheap voltmeter that I'm pretty sure is lying to me 😅

Quick question though — does the Pi survive in a damp/cold environment? A narrowboat bilge area isn't exactly a server room. Are people sticking these in proper enclosures or just hoping for the best?

Also, is a SmartShunt genuinely the right pairing, or would a Victron BMV-712 be worth the extra brass? Trying not to end up down the rabbit hole of buying two solutions like last time...

Log in to join the discussion.

Log In to Reply