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

by Volt Tom · 1 month ago 57 views 5 replies
Volt Tom
Volt Tom
Active Member
11 posts
thumb_up 1 likes
Joined Mar 2025
1 month ago
#30298

Slapped a Pi Zero W on my Victron MPPT last summer and now I've got more graphs than a GCSE maths textbook — worth every penny of the £12 it cost me.

Running Grafana + InfluxDB on it, pulling data via the Victron VE.Direct cable, and honestly it's transformed how I understand my boat's power usage. Caught a parasitic drain that was quietly murdering my Fogstar lithium cells overnight — the Pi paid for itself before the week was out.

Is it overkill? Technically yes. Do I regret it? Absolutely not.

The setup does require a bit of patience with the command line, but there are some cracking guides floating about if you search for "Cerbo Pi alternative" — loads of us have gone this route rather than paying Victron's premium for the GX devices (lovely kit, but the price...).

Few things worth knowing if you're considering it:

  • Heat — a Pi in a sealed enclosure on a hot day is a sad Pi
  • SD card wear — log to an external USB stick or you'll be reinstalling every six months
  • VE.Direct USB adapter — don't cheap out, the knock-offs cause no end of grief

Currently logging 47 days of continuous data on my narrowboat and I could tell you the exact state of charge at 3am on a Tuesday in February. Completely useless information, but I know it.

Anyone else running a similar setup, or gone down the ESP32 route instead? Curious whether the ultra-low-power crowd reckon it's worth the trade-offs.

Downs Cruiser
Downs Cruiser
Regular
73 posts
thumb_up 11 likes
Joined Aug 2023
1 month ago
#30317

@VoltTom not overkill at all — data is the whole point tbh.

Running a Pi 4 in the motorhome tied into my Victron Cerbo GX via MQTT. Pulls everything into InfluxDB and Grafana. Battery temps, SOC, charge cycles — the lot.

Caught my Fogstar 200Ah dropping off faster than expected last winter just by spotting the discharge curve looked wrong. Turned out a cell was struggling in the cold. Would never have noticed without the graphs.

Only gripe — SD cards die. Boot from USB instead, saves the hassle of a corrupted card mid-trip somewhere in Wales with no signal.

£12 for a Pi Zero W is frankly ridiculous value for what you get back.

ZFS_OffGrid
ZFS_OffGrid
Senior Member
149 posts
thumb_up 37 likes
Joined Jul 2023
1 month ago
#30339

@VoltTom done something similar on the static van but honestly the Pi itself isn't the headache — it's keeping the thing alive on 5V when your battery's bouncing around. Fried one Pi already because my converter was cheap garbage.

Running a Fogstar LiFePO4 now so voltage's steadier but still added a proper DC-DC buck converter rated well above what I need. Don't skimp on that bit.

@DownsCruiser Pi 4 in a motorhome feels like overkill to me — that board pulls 3-5W idle. Pi Zero's the sensible choice for monitoring only, barely sips anything.

Grafana looks pretty but I gave up configuring it after an hour and just use VictronConnect. Maybe I'll revisit it winter when there's nowt else to do.

OldSailor
OldSailor
Senior Member
200 posts
thumb_up 60 likes
Joined Oct 2023
1 month ago
#30346

@VoltTom the real overkill starts when you're writing Python scripts at 2am to calculate Peukert exponents on your Fogstar Drift cells — not that I'd know anything about that.

One thing nobody's mentioned: log to a proper read-only filesystem or use a USB drive rather than hammering the SD card — I've buried three Pi Zeros in SD card failures mid-winter and it's not the data loss you want when you're trying to fault-diagnose a dodgy Victron MPPT in December.

Also worth piping in VictronConnect via VE.Direct rather than scraping Bluetooth — far more reliable signal and you get the proper register data rather than whatever it decides to advertise.

Frank Reid
Frank Reid
Member
6 posts
Joined Jul 2025
1 month ago
#30373

Hey @VoltTom, great setup! I went down a similar rabbit hole last year with a Pi 4 and Victron VE.Direct cable on my narrowboat. One thing worth mentioning that nobody's touched on yet — power consumption of the Pi itself is worth factoring in, especially through winter when generation is thin. I run mine on a schedule via a simple cron job, spinning it down overnight when I'm not actively checking anything. Saves a surprising amount over a month. Also @ZFS_OffGrid, if your headache is what I think it is, look into using a decent quality SD card or better yet boot from a USB SSD — killed my SD card corruption problems stone dead. @OldSailor those 2am Python sessions are a gateway drug, fair warning to everyone 😄

SmartSolarNerd
SmartSolarNerd
Senior Member
106 posts
thumb_up 27 likes
Joined Jun 2023
1 month ago
#30403

@VoltTom what's your polling interval on the MPPT data? I'm running something similar on my static caravan but I'm getting gaps in the InfluxDB time series and can't work out if it's the Pi going to sleep or the VE.Direct connection dropping.

Also — are you logging battery temperature alongside voltage and current? I've got Fogstar Drift cells and I'm paranoid about winter temps skewing the SOC readings. Wondering if it's worth adding a DS18B20 probe or whether that's genuinely overkill at that point.

The Grafana dashboards are addictive aren't they. Started with one panel, now I've got about fourteen and I'm not entirely sure what half of them are telling me.

Log in to join the discussion.

Log In to Reply