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

by Somerset Nomad · 1 week ago 58 views 5 replies
Somerset Nomad
Somerset Nomad
Active Member
20 posts
thumb_up 3 likes
Joined Mar 2024
1 week ago
#34327

Been running a Pi 4 on my narrowboat for about 18 months now, pulling data from a Victron Multiplus via VE.Direct and shoving it all into InfluxDB with Grafana dashboards. Overkill? Probably. Worth it? Absolutely.

The boat setup means I genuinely need to know what the batteries are doing overnight — a Victron Cerbo would've done 90% of the job for three times the cost, so the Pi made sense financially at least. Same Pi also monitors the garden office solar through a Renogy Wanderer via RS232 bodgery that I'm mildly embarrassed about but can't be bothered to replace.

What you actually get that the proprietary monitoring boxes won't give you:

  • Granular historical data — I can tell you exactly what the fridge compressor does to SOC at 2am in January
  • Custom alerts via Telegram (yes, really, it wakes me up before the batteries get properly hammered)
  • Integration with other sensors — temperature, bilge alarm status, all on one dashboard

The main faff is keeping Raspberry Pi OS updated without breaking your Python scripts, which happens more often than I'd like. I've started pinning library versions like a paranoid accountant.

Is it overkill for a simple shed setup? Probably just use VRM or the Renogy app and save yourself the headache. But if you've got a complex multi-source system or just enjoy tinkering, the Pi route gives you data you didn't know you needed until you had it.

Curious whether anyone's moved to a Pi 5 for this — wondering if the extra grunt is actually useful or just burns more quiescent power for no meaningful gain.

Battery Jason
Battery Jason
Active Member
12 posts
Joined Feb 2025
1 week ago
#34337

@SomersetNomad mate I've got a Pi Zero W logging my Victron MPPT in my shepherd's hut and the dashboard is genuinely the most action that hut has ever seen.

Roger Roberts
Roger Roberts
Member
7 posts
Joined Jul 2025
1 week ago
#34381

RogerRoberts85 | 847 posts | ⚡ Solar Enthusiast


@SomersetNomad definitely not overkill in my book. I've got a similar setup on my off-grid cabin in the Cairngorms - Pi 4 pulling from a Victron Cerbo GX via MQTT rather than VE.Direct, feeding into the same InfluxDB/Grafana stack. The moment you catch a dodgy cell in your battery bank because the dashboard flagged unusual voltage sag at 0300hrs, you'll never call it overkill again. Happened to me last winter and probably saved my LiFePO4 pack.

One thing I'd add for anyone starting out - set up Telegraf as the collection agent rather than writing custom Python scripts. Much more reliable long-term and handles connection drops gracefully. @BatteryJason keen to see that dashboard when you've finished your sentence! 😄

Simon Kelly
Simon Kelly
Senior Member
115 posts
thumb_up 35 likes
Joined Jun 2023
1 week ago
#34414

@SomersetNomad not overkill at all — I've been running a similar stack in my motorhome for two years and the insight it gives you is genuinely invaluable.

One thing worth adding: I'd strongly recommend pulling data from the VE.Can bus if your Multiplus supports it, rather than VE.Direct alone. You get far richer packet data, especially across a whole Victron system (MPPT, BMV, inverter together).

My setup uses a Pi 4 with 4GB RAM, running:

  • venus-docker to emulate a GX device locally
  • InfluxDB 2.x with a 90-day retention policy
  • Grafana with custom alerting (Telegram notifications when SOC drops below 20%)

The alerting side is where it really earns its keep — I've caught a dodgy Fogstar cell before it became a proper problem.

If anyone wants the docker-compose file, happy to share it on the resources thread.

Ivy Les
Ivy Les
Active Member
16 posts
thumb_up 3 likes
Joined Apr 2024
1 week ago
#34427

doing exactly this on the narrowboat 😄 though I'll be honest, spent about three weekends getting the VE.Direct USB adapter to play nicely before it just... worked. classic

one thing I'd add that nobody's mentioned — temperature logging alongside the inverter data is chef's kiss for understanding what's actually happening with your Fogstar batteries in winter. added a cheap DS18B20 sensor and suddenly the state of charge weirdness made total sense

@BatteryJason curious what interval you're polling at on the Zero W? I dropped mine to every 30 seconds and the CPU barely notices

also if anyone's new to the InfluxDB/Grafana rabbit hole, Node-RED in between makes life a lot easier for transforming the VE.Direct fields before they hit the database. took me ages to figure that out tbh

AGM_Geek
AGM_Geek
Active Member
19 posts
Joined Dec 2024
1 week ago
#34626

Been down this rabbit hole myself — garden office setup, Victron SmartSolar talking to a Pi Zero 2W via VE.Direct. The moment that really justified it for me was noticing a gradual voltage sag pattern on my AGM bank that turned out to be a dodgy connection on one terminal. Grafana showed it creeping up over three weeks before anything felt "wrong." Without the historical data I'd have been scratching my head when the bank eventually gave up.

@IvyLes the VE.Direct adapter pain is real — took me two weekends just to get the UART timing right. Worth sticking with it though.

One thing worth adding: Pi 4 is probably overkill for just logging. The Zero 2W handles the whole stack at around 1.2W idle, which matters when every watt counts off-grid.

Log in to join the discussion.

Log In to Reply