Anyone else using a Raspberry Pi to log their inverter data, or is there a simpler way?

by Burn Glen · 5 days ago 30 views 7 replies
Burn Glen
Burn Glen
Active Member
20 posts
thumb_up 1 likes
Joined May 2025
5 days ago
#35122

Been running a Pi 4 for about 18 months on my static and honestly it's been rock solid. Using it with a Victron Cerbo GX via VRM portal which does most of the heavy lifting, but the Pi pulls extra data and chucks it into InfluxDB with Grafana dashboards on top. Sounds more complex than it is once you've got it set up.

Main reason I went Pi rather than just relying on the Cerbo alone was I wanted to log a few extra sensors — temperature inside the van, weather stuff, that sort of thing — and pipe it all into one place.

That said, if you're purely after inverter data, you might not need anything that involved. A few options worth considering:

  • Victron VRM alone is decent if you're already in that ecosystem
  • Solarman app if you're running Renogy or similar kit — not perfect but free
  • Home Assistant on a Pi is another route, loads of integrations, bit of a learning curve though

The Pi route does require some patience upfront. If you're not comfortable with the terminal it can get frustrating. Had a few late nights myself sorting out serial port permissions 😅

What inverter are you running? That'll narrow it down a lot. Some have better data output than others — Victron is obviously well supported, some of the cheaper Chinese inverters are a right pain to get talking properly.

Curious what others are doing — especially anyone with a simpler plug-and-play setup that actually works reliably. Always tempted to simplify things if I can.

PV_Fan
PV_Fan
Active Member
16 posts
thumb_up 2 likes
Joined Jun 2024
5 days ago
#35151

@BurnGlen yeah the Cerbo + VRM combo is hard to beat for Victron kit. I went a slightly different route — Pi Zero 2W pulling data direct from my Multiplus via USB with venus-docker, costs basically nothing to run.

Main reason I added the Pi was logging EV charging sessions separately from general solar yield. Wanted to see exactly how much of my car charging was genuinely solar vs grid top-up. Built a simple Grafana dashboard and it's been dead useful for that.

Only faff was getting the serial comms stable — worth grabbing a decent USB-to-RS485 adapter, the cheap ones drop out constantly.

If anyone just wants basic monitoring without the Pi rabbit hole, the Victron Smart Shunt with the app is honestly sufficient for most setups.

Salty Maker
Salty Maker
Active Member
30 posts
thumb_up 8 likes
Joined Oct 2024
5 days ago
#35157

Been running a similar setup at the cabin — Pi 4 pulling data from my Victron kit via MQTT, chucking it into InfluxDB with Grafana on top. Took a weekend to get sorted but the dashboards are dead useful, especially tracking EV charging impact on the batteries.

For anyone who wants simpler though, honestly just lean on the Cerbo + VRM and don't overthink it. VRM's improved loads over the past year and covers 90% of what most people need without touching a command line.

One tip — if you do go the Pi route, stick it on a decent UPS or at least wire it through a smooth 12v supply. Had mine corrupt an SD card once during a dodgy cutover. Running off a proper regulated feed now, no issues since.

RetiredPlumber
RetiredPlumber
Regular
93 posts
thumb_up 17 likes
Joined Jan 2024
5 days ago
#35184

Had a similar debate when setting up monitoring for my static. If you want something genuinely simpler than a Pi, the Victron Global Link 520 is worth considering — no tinkering required, just plugs in and feeds straight to VRM. Sorted my emergency backup shed setup in about 20 minutes.

That said, if you're already comfortable with the Pi route like @BurnGlen, the extra flexibility is hard to argue with. The MQTT → InfluxDB → Grafana stack @SaltyMaker mentioned does produce much nicer dashboards than VRM alone.

One thing I'd add — if you're running the Pi off your battery system, make sure you've got a decent UPS hat or at least a clean shutdown script. Lost an SD card years back to a sudden power drop. Now I use a small dedicated 18650 UPS hat. Worth the few quid.

Exmoor Nomad
Exmoor Nomad
Active Member
27 posts
thumb_up 8 likes
Joined May 2024
4 days ago
#35204

@BurnGlen I've been down a similar rabbit hole on the narrowboat, where the added fun is that my Pi has to survive condensation, vibration, and the occasional very enthusiastic lock-keeper rattling the hull.

One thing nobody's mentioned yet — if you're pulling data from a Victron MPPT via VE.Direct rather than the Cerbo, the official VE.Direct to USB cable paired with the vedirect-python library works a treat. No intermediary hardware, no faff.

My slightly pedantic addition: make sure you're logging timestamps in UTC, not local time. I lost three weeks of otherwise beautiful Grafana graphs because daylight saving time created a gap that made my battery capacity appear to spontaneously halve at 1am. It did not. The clocks changed. The data did not care.

LiFePO4Nerd
LiFePO4Nerd
Senior Member
203 posts
thumb_up 80 likes
Joined Apr 2023
4 days ago
#35263

Great thread. I went through exactly this debate when kitting out the motorhome — space and power consumption matter a lot when you're mobile.

One thing nobody's mentioned: the Pi Zero 2 W pulls roughly 0.4W at idle versus the Pi 4's 3-4W. Over a week that difference genuinely shows on a modest bank. For pure data logging it's more than capable — I run Node-RED, MQTT subscriber, and push to InfluxDB/Grafana without breaking a sweat.

@ExmoorNomad the condensation point is real. I silica-gel'd a small project box and it's been fine through two winters.

Worth saying though — if you're already on Victron kit with VRM, honestly ask yourself what the Pi is actually adding. VRM's historical data and dashboards are surprisingly decent now. I kept mine for the custom alerts via Telegram, but that's the only thing VRM genuinely can't replicate.

FormerCop
FormerCop
Senior Member
155 posts
thumb_up 44 likes
Joined Jul 2023
2 days ago
#35491

Ran a Pi 3B+ in the motorhome for two years logging Victron data via Modbus TCP — works brilliantly until it doesn't, and when it doesn't it's usually a dodgy SD card at the worst possible moment.

Switched the SD for a cheap USB SSD and haven't lost a byte since; honestly that one change is worth more than any software tweak.

@LiFePO4Nerd is right that power matters — my Pi idles around 2.5W which sounds trivial until you're parked up in January with Fogstar cells you're trying not to discharge below 20%.

If you want truly braindead simple, a Victron Cerbo GX does 90% of what most people actually need without touching a terminal — but where's the fun in that.

Marine Phil
Marine Phil
Regular
99 posts
thumb_up 30 likes
Joined Oct 2023
15 hours ago
#35837

@FormerCop makes a fair point about the SD card — that's exactly what killed my first Pi setup on the van. The fix that's served me well since: boot from a USB SSD instead, and mount your logging partition with noatime to slash write cycles further.

@ExmoorNomad if condensation is the nemesis, a small silica gel sachet inside the enclosure buys you surprising longevity. I run mine in a vented ABS enclosure from Camdenboss — proper UK-made stuff, not Amazon tat.

For anyone wanting something truly fuss-free though, a Victron Cerbo GX genuinely does 95% of what most people need without the tinkering overhead.

Log in to join the discussion.

Log In to Reply