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

by Helen Thompson · 3 days ago 29 views 5 replies
Helen Thompson
Helen Thompson
Active Member
12 posts
thumb_up 1 likes
Joined Dec 2024
3 days ago
#35375

Been running a Pi 4 on the narrowboat for about 18 months now, logging everything from my Victron MultiPlus and MPPT via VE.Direct cables. Using VictronConnect data pulled through Venus OS Large on the Pi — absolute game changer compared to relying on the Victron cloud which can be patchy when you're moored somewhere remote.

Got InfluxDB and Grafana set up and the dashboards are genuinely satisfying to look at. Can see exactly when the solar's picking up, how the batteries are cycling, all of it. Spotted a dodgy cell in my Fogstar Drift lithium bank just from noticing the voltage curves looking a bit off — wouldn't have caught that so early otherwise.

The static caravan setup is simpler (just an MPPT and a couple of panels) so I've not bothered there yet, but tempted to run the same thing remotely using a 4G dongle.

Few things I'd flag for anyone thinking about it:

  • SD card reliability is a known issue — worth moving the OS to an SSD
  • Venus OS Large is well documented but takes a bit of patience to get running properly
  • Grafana's free tier is fine for local hosting

Anyone else doing something similar? Curious whether people are pulling data via MQTT or going the VE.Direct route. Also wondering if anyone's integrated home assistant into the mix — seen a few threads about that elsewhere but nothing UK-specific.

Heather Walker
Heather Walker
Active Member
45 posts
thumb_up 13 likes
Joined Dec 2023
3 days ago
#35388

@HelenThompson done exactly this on my static caravan setup — though I'll be honest, half my "monitoring system" is just me anxiously staring at the Grafana dashboard at 2am wondering why I used 3% more battery than yesterday 🔦

Running a Pi 3B+ with Venus OS, pulling from my Victron SmartSolar and MultiPlus II via VE.Direct, then shipping metrics into InfluxDB → Grafana. The dangerous part is once you can see everything in beautiful graphs you suddenly find 47 new things to optimise that didn't bother you before.

One tip — make sure your Pi's power supply is decent, lost a week of logs once because my dodgy USB charger was browning out. Now it runs off a proper Victron Orion so it stays up even when mains drops. Game changer.

Renogy_Nerd
Renogy_Nerd
Regular
53 posts
thumb_up 24 likes
Joined Jul 2023
3 days ago
#35407

@HelenThompson eighteen months of Pi uptime on a narrowboat and you haven't rage-thrown it in the canal yet — genuinely impressed, mine lasted three weeks in the shepherd's hut before I convinced myself the humidity was "definitely the problem" and panic-bought a Cerbo GX instead.

Birch Lover
Birch Lover
Active Member
34 posts
thumb_up 4 likes
Joined Jul 2024
3 days ago
#35448

@HelenThompson nice setup. I've got Venus OS Large running on a Pi 4 in my shepherd's hut and the local InfluxDB + Grafana stack is a game changer. Rolling 90-day history on battery state, PV yield, everything — no cloud dependency which matters when you're off-grid with patchy signal anyway.

One thing worth doing: stick the InfluxDB data directory on a USB SSD rather than the SD card. Lost two cards to write wear before I cottoned on. Pi runs off the SD still but the database writes to the SSD — night and day for reliability.

@HeatherWalker curious what your static setup is logging — I'd imagine you've got more consistent shading patterns to analyse than @HelenThompson bouncing round the cut! 😄

Wayne
Wayne
Active Member
33 posts
thumb_up 4 likes
Joined Oct 2024
3 days ago
#35450

@HelenThompson running almost the same thing here — Pi 4 with Venus OS Large, InfluxDB and Grafana. Proper rabbit hole once you start.

One thing worth doing if you haven't already is setting up Node-RED alongside it. I've got automations triggering off my Victron MPPT data — useful for things like alerting when SOC drops below a threshold overnight.

Also had a few SD card corruptions early on. Switched to running the OS off a USB SSD instead and it's been rock solid since. SD cards just aren't built for constant write cycles from logging.

@BirchLover what retention period are you using in InfluxDB? I've got mine set to 90 days which feels about right without hammering storage.

OldSparky
OldSparky
Regular
54 posts
thumb_up 14 likes
Joined Mar 2024
3 days ago
#35465

Been lurking on this thread because I've been thinking about doing exactly this for my static caravan setup. Got a Victron SmartSolar MPPT and a couple of Fogstar Drift batteries, currently just poking at the VictronConnect app on my phone which feels a bit... amateur hour?

Couple of questions though —

  • Do you need Venus OS Large specifically or will the standard Venus OS do the job for InfluxDB integration?
  • Is a Pi 4 overkill, or would a Pi Zero 2W handle the logging workload without breaking a sweat?
  • Any concerns about SD card wear from constant database writes? I've heard that's a potential headache

@Wayne1980 when you say it's a "rabbit hole" — roughly how long did it take you to get a sensible Grafana dashboard up and running? I'm reasonably handy with Linux but I'm no developer by any stretch.

Log in to join the discussion.

Log In to Reply