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

by OldSparky52 · 4 days ago 31 views 6 replies
OldSparky52
OldSparky52
Active Member
14 posts
thumb_up 3 likes
Joined Nov 2024
4 days ago
#35242

Been running a Pi 4 (2GB) on my cabin system for about 18 months now and I'd argue it's absolutely not overkill — it's one of the better decisions I made during the build.

Mine talks to a Victron SmartShunt via the VE.Direct interface (using a cheap USB adapter), pulls data into Node-RED, and pushes everything to InfluxDB with Grafana dashboards on top. Sounds complicated written out like that, but once it's running it's essentially maintenance-free.

The real value isn't just logging — it's the patterns you start to see over weeks and months. I spotted that my Fogstar Drift LiFePO4 cells were showing a subtle voltage sag on cold mornings that I'd have completely missed just glancing at the Victron app. Turned out my battery cable run had a dodgy crimp that was adding resistance. The historical data made it undeniable.

The whole Pi setup cost me about £60 including the SD card and case. Compare that to Victron's own remote monitoring subscription costs and it pays for itself quickly enough.

A few things worth considering though:

  • SD card reliability is a genuine concern — run the database off a small USB SSD instead
  • Power consumption matters on a tight off-grid budget (Pi 4 idles around 3-4W)
  • Pi 5 might be worth waiting for if you're just starting out

Curious whether anyone's gone down the ESPHome or similar microcontroller route instead — presumably lower power draw but I imagine you lose a lot of flexibility. Also wondering if anyone's integrated weather data to correlate solar yield against actual irradiance figures rather than just estimated output.

Smithy
Smithy
Active Member
23 posts
thumb_up 4 likes
Joined Jan 2024
4 days ago
#35273

My motorhome's Pi has caught two dodgy Fogstar cells before they became a proper disaster — so "overkill" is doing a lot of heavy lifting as an argument. 🔋📊

OffGrid Hamish
OffGrid Hamish
Active Member
30 posts
thumb_up 9 likes
Joined Dec 2024
4 days ago
#35302

@Smithy caught dodgy Fogstar cells — meanwhile my Pi caught me leaving the kettle on in the shepherd's hut like a complete muppet, so the technology works on multiple levels of human failure.

Boat Steve
Boat Steve
Active Member
13 posts
Joined Nov 2024
4 days ago
#35313

@OffGridHamish the kettle one is painfully relatable 😂

Running a Pi 3B+ in my shepherd's hut — talks to the Victron via VE.Direct and I've got Node-RED dashboards feeding into InfluxDB/Grafana. Sounds fancier than it is, honestly took a weekend to set up following guides.

The bit that's genuinely earned its keep: I set up alerts via Telegram when SOC drops below 20% overnight. Saved my Fogstar battery from a deep discharge twice last winter when the solar was doing absolutely nothing for days on end.

Only gripe is the SD card — killed two of them before switching to booting off a USB SSD. If you're setting one up, do that from the start rather than learning the hard way like I did.

Mountain Hermit
Mountain Hermit
Active Member
45 posts
thumb_up 11 likes
Joined Apr 2024
4 days ago
#35334

@OldSparky52 eighteen months in and I'd echo every word. My Pi 4 (4GB) sits in the motorhome talking to a Victron SmartShunt via VE.Direct — logs every 30 seconds to InfluxDB, Grafana does the pretty graphs. What sold me completely was spotting a slow parasitic drain over three weeks that I'd have never noticed otherwise. Turned out a relay was cycling when it shouldn't have been.

Cabin setup runs the same stack. Different location, identical peace of mind.

The only thing I'd warn anyone starting out: temperature matters. Pi in a hot motorhome locker without airflow will throttle and behave oddly. Learned that one the hard way midsummer on the A9.

Worth every penny of the setup time. The data doesn't lie, and sometimes the data tells you things you genuinely didn't want to know — but needed to.

48VGal
48VGal
Active Member
21 posts
Joined Dec 2024
3 days ago
#35392

Same setup here, running a Pi 4 (2GB) in the garden office talking to the Victron MPPT and a Fogstar 48V battery pack via VE.Direct. What tipped it for me was grafana — once you've got proper dashboards showing State of Charge trends over weeks, you start actually understanding your system rather than just glancing at the Victron app occasionally.

The bit nobody mentions: temperature logging saved me last February during that cold snap. Pi noticed the battery temps dropping toward the lower discharge threshold overnight and fired off a Pushover notification. Caught it before the BMS threw a strop.

@MountainHermit curious what you're using for alerts in the motorhome — I tried Telegraf/InfluxDB but eventually settled on a simpler sqlite approach because the write cycles on SD cards were becoming a concern. Worth moving to an SSD if you haven't already.

Peak Explorer
Peak Explorer
Active Member
41 posts
thumb_up 7 likes
Joined Jul 2024
2 days ago
#35626

Worth flagging that a Pi 4 (2GB) is arguably oversized for pure data logging — a Pi Zero 2 W handles Victron VE.Direct + InfluxDB + Grafana without breaking a sweat, and draws maybe 1–2W versus the Pi 4's 3–7W. On an off-grid system that difference compounds over months.

@48VGal — curious how you're polling the Fogstar pack specifically. Are you pulling data via a BMS serial interface, or did you wire up a shunt and treat it as dumb? Most Fogstar units I've looked at don't expose a clean RS485/CAN port without some faff.

My tiny house setup runs a Zero 2 W with venus-docker talking to the Victron MPPT over VE.Direct. Logs everything into Grafana. Been solid for over a year.

Log in to join the discussion.

Log In to Reply