Anyone else using a Raspberry Pi to log their Victron data locally?

by XJ_Solar · 1 week ago 39 views 8 replies
XJ_Solar
XJ_Solar
Active Member
13 posts
thumb_up 2 likes
Joined Jun 2024
1 week ago
#34549

Been running a Pi 4 on my static caravan setup for about 8 months now and it's been solid. Using Venus OS Large on it which basically turns the Pi into a Cerbo GX for a fraction of the cost — genuinely impressed with how well it works.

Pull all my MPPT and MultiPlus data locally via MQTT, then push it into InfluxDB and visualise it in Grafana. Sounds more complicated than it is, there's decent guides out there once you know what to search for.

Few things I'd flag if you're just starting:

  • Venus OS Large is the easy route if you're in the Victron ecosystem already
  • USB to VE.Direct cables are worth every penny — don't faff about with Bluetooth polling
  • Give the Pi a proper UPS or at least a clean shutdown script, SD cards don't like sudden power cuts

Main reason I went local rather than VRM cloud is just peace of mind — no relying on internet connection at the cabin site, and I keep 90 days of granular data without any subscription faff.

Curious whether anyone's gone down the Node-RED route instead of straight MQTT? I had a play but couldn't decide if it was overkill for what I needed. Also wondering if anyone's integrated weather data alongside their solar yield — feels like it'd be interesting to correlate the two properly.

Anyone else doing something similar or gone a completely different direction with their logging?

Ducato Dream
Ducato Dream
Active Member
28 posts
thumb_up 4 likes
Joined Dec 2023
1 week ago
#34569

@XJ_Solar mate, this is exactly the rabbit hole I fell down last winter when I was frozen into a canal in Cheshire and had nothing better to do than stare at my Victron app wondering if there was a cheaper way to do the same thing.

Ended up with a Pi 4 running Venus OS Large feeding into InfluxDB and Grafana — the moment I saw my solar harvest as a beautiful purple graph I may have actually whooped out loud. Blacked out narrowboat windows, 2am. Classy.

The only gotcha I hit was the VE.Direct to USB cables — Victron's own are pricey but they're worth it over the cheap knockoffs that kept dropping connections randomly.

Been rock solid for six months now. Genuinely can't see why you'd pay Cerbo GX money unless you need the touchscreen.

Pete Dixon
Pete Dixon
Active Member
12 posts
thumb_up 1 likes
Joined Jun 2025
1 week ago
#34607

Hey @XJ_Solar, yes! Running almost the identical setup here on my narrowboat — Pi 4 with Venus OS Large feeding into Grafana via InfluxDB. The dashboards are genuinely addictive once you get them working properly.

One thing worth flagging for anyone just starting out: make sure you're writing to an external SSD rather than the SD card. I killed two SD cards in about six months from the constant write cycles before I switched over. Bit of faff to set up initially but rock solid since.

@DucatoDream if you're still considering it, the Venus OS Large image from Victron's GitHub is surprisingly straightforward to flash. The hardest bit honestly is just getting your Node-RED flows tidy once you start adding extras.

Happy to share my Grafana dashboard JSON if anyone wants a starting point rather than building from scratch.

Borders Nomad
Borders Nomad
Active Member
27 posts
thumb_up 1 likes
Joined Sep 2024
1 week ago
#34629

Been running this exact setup on my static caravan for two winters now — Venus OS Large on a Pi 4 connected to my Victron SmartSolar and Multiplus via VE.Direct cables.

One thing nobody's mentioned: local data retention. The VRM portal is handy but I don't trust any cloud service long-term. I've got InfluxDB running alongside Grafana on the same Pi, pulling the MQTT stream locally. Everything stays on-site regardless of internet connection.

Word of warning though — SD cards die. Mine did last February, catastrophically, right when I needed to monitor the system during a cold snap. Now I boot from an SSD over USB3.

@XJ_Solar if you haven't done that already, do it before winter. The Pi 4 handles it natively, no faffing about.

Devon Dweller
Devon Dweller
Senior Member
166 posts
thumb_up 28 likes
Joined Mar 2024
1 week ago
#34657

Great thread — running this exact combo on my narrowboat and static caravan, so I can add a few things nobody's mentioned yet.

One gotcha worth flagging: SD card wear is the silent killer on long-running Pi setups. Venus OS does write fairly frequently. I'd strongly recommend either moving the data directory to a USB SSD, or at minimum using a high-endurance card (Samsung Pro Endurance series).

Also worth knowing — if you're using Modbus TCP alongside Venus OS to pull data into Home Assistant or Node-RED, you'll want to enable it explicitly in the RemoteConsole settings. It's off by default and catches people out.

@PeteDixon89 — if you're on a narrowboat and moving around, local logging is genuinely more reliable than VRM cloud when you're in a tunnel or low-signal marina. The local Grafana instance has saved me diagnosing a dodgy Fogstar cell more than once.

Davo49
Davo49
Active Member
28 posts
thumb_up 4 likes
Joined Jan 2025
1 week ago
#34681

Been doing something similar for my shepherd's hut — Pi 4, Venus OS Large, the whole lot — but my specific use case threw up an interesting wrinkle that nobody's mentioned: EV charging integration.

I've got a basic EVSE out near the hut and I wanted Venus to factor available solar headroom into when it allows charging to ramp up. Took a fair bit of Node-RED fiddling but the Pi handles it without breaking a sweat, pulling MQTT data from the Victron side and throttling the charger accordingly.

The one thing I'd flag to @XJ_Solar and @BordersNomad is SD card longevity — running Venus OS means constant small writes. Moved to a proper industrial-grade card after my first one died at around 14 months. Worth factoring in before you're scratching your head wondering why the whole thing's gone silent.

Salty Hiker
Salty Hiker
Regular
59 posts
thumb_up 14 likes
Joined Jun 2024
1 week ago
#34806

Running this on my shepherd's hut for about 14 months now. One thing worth flagging that I haven't seen mentioned — keep an eye on your SD card. I killed two before switching to a proper industrial-grade card. The constant write cycles from logging will eat through cheap cards faster than you'd expect.

Also worth setting up log rotation if you're storing locally rather than pushing to VRM. Filled a 32GB card once and had a very annoying afternoon sorting it out.

@Davo49 curious what your specific use case is — shepherds hut setups tend to have similar constraints to mine (small roof, awkward orientation) so always interested to compare notes.

The Pi route is genuinely excellent value vs a Cerbo GX. Mine's been running headless in a small enclosure since install with zero issues beyond the SD card nonsense.

Watt Barry
Watt Barry
Active Member
11 posts
Joined May 2025
5 days ago
#35134

Ran into something specific to the shepherd's hut context that's worth flagging — condensation. My Pi 4 sits in a repurposed din rail enclosure inside the hut, and during autumn when the temperature swings are brutal overnight, I had two separate SD card corruptions before I worked out moisture was the culprit.

Switched to booting from a USB SSD instead of the SD card and haven't had a single issue since. Venus OS handles the change cleanly, and the SSD is genuinely more robust for a system that's logging 24/7 anyway.

@Davo49 curious what enclosure solution you landed on for yours.

Forest Jenny
Forest Jenny
Regular
87 posts
thumb_up 57 likes
Joined Mar 2023
15 hours ago
#35832

Good shout from @WattBarry on the condensation point — that caught me out on my narrowboat before I wised up.

One thing I'd add that nobody's touched on yet: SD card longevity. Running Venus OS with frequent writes will chew through a standard card faster than you'd expect. I lost six months of logged data when mine failed last winter.

Switched to booting from a USB SSD instead — a cheap 128GB Samsung job — and haven't looked back. The Pi 4's USB 3.0 port makes it dead straightforward, and paired with InfluxDB + Grafana your historical Victron data actually survives long-term.

Log in to join the discussion.

Log In to Reply