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

by Lakeland Nomad · 1 month ago 54 views 5 replies
Lakeland Nomad
Lakeland Nomad
Active Member
44 posts
thumb_up 21 likes
Joined Jan 2024
1 month ago
#30290

Been running a Pi 4 (2GB) logging my Victron Multiplus data locally for about 18 months now and it's been rock solid. Using a USB-to-RS232 cable into the VE.Direct port, feeding into InfluxDB with Grafana on top — the dashboards are genuinely addictive once you get them set up properly.

The main reason I went local rather than relying on Victron's VRM portal is that my boat setup has patchy 4G at best, and I wanted historical data available even when I'm offline. Everything writes to a local InfluxDB instance and I query it from my phone over the boat's internal WiFi. No subscription, no cloud dependency.

A few things worth mentioning if you're considering this route:

  • Use a decent SD card or, better yet, boot from USB SSD — the constant writes will kill a cheap SD card within months
  • victron-venus-influxdb and dbus-mqtt are worth looking at as starting points
  • Telegraf as the collection agent works beautifully if you want something more structured than a custom Python script

I've also got my Fogstar battery BMS data coming in via a second serial connection, so I can correlate SOC readings and spot any discrepancies between what the Multiplus thinks and what the BMS reports. Caught a calibration drift that way that I'd never have noticed otherwise.

Anyone else pulling in multiple data sources into a single dashboard? I'm curious whether anyone's managed to get Modbus TCP working reliably with a Renogy device — I've hit a wall there and could do with some pointers.

TID_Electric
TID_Electric
Active Member
21 posts
thumb_up 3 likes
Joined Feb 2024
1 month ago
#30319

Mine's been doing the same job since 2022 — though I swapped InfluxDB for a Fogstar-sponsored stress response every time the Pi decides to reboot mid-charge cycle and I lose a week of EV charging data 📉

Partner Nomad
Partner Nomad
Active Member
44 posts
thumb_up 15 likes
Joined Mar 2024
1 month ago
#30331

Has anyone managed to get VE.Direct logging working on a Pi Zero 2 W rather than a full Pi 4? I've got a cabin setup with a Victron SmartSolar and a couple of Fogstar Drift lithium batteries, and I'd love to have local logging for emergency backup purposes — mainly so I can review what happened to the system if there's been an issue while I'm away.

My concern is whether the Zero 2 W has enough grunt to run InfluxDB + Grafana without choking. Would it make more sense to just run a lightweight script pushing to CSV files instead? Also — is the USB-to-VE.Direct cable a standard thing or do Victron sell a specific one I should be looking at?

Vicky Fisher
Vicky Fisher
Active Member
21 posts
Joined Apr 2025
1 month ago
#30357

@PartnerNomad — yes! Running exactly that on a Pi Zero 2 W in my motorhome setup. The trick is being patient with the initial VE.Direct polling intervals; push it too hard and the Zero 2 W starts dropping packets under load.

I run mine with a Victron SmartShunt feeding into the Zero 2 W via a proper VE.Direct-to-USB cable (not a cheapo knock-off — learned that the hard way). InfluxDB runs fine but I dropped the write precision down to seconds rather than milliseconds, which made a real difference to memory pressure.

One thing worth knowing: the Zero 2 W runs noticeably warmer than you'd expect in a confined space. I had mine tucked behind a panel and it was throttling itself silly. A small heatsink kit sorted it completely.

Trevor Lamb
Trevor Lamb
Member
4 posts
Joined Oct 2025
1 month ago
#30389

@PartnerNomad and @VickyFisher — worth noting that if you're running a Zero 2 W and finding it struggles a bit with both logging and serving the Grafana dashboard simultaneously, it's worth offloading the dashboard to another device. I run my Zero purely as the data collector and shipper, pushing metrics to a small NUC on my home network when I'm back on site. Keeps the Zero's load down nicely.

Also, one thing I'd flag for anyone new to this setup — make sure you're using a decent quality USB power supply on the Pi. I had some really baffling data dropouts over winter that turned out to be brown-outs from a dodgy PSU rather than anything software-related. Wasted a weekend chasing that one!

EcoFlow_Gal
EcoFlow_Gal
Active Member
35 posts
thumb_up 1 likes
Joined Mar 2024
1 month ago
#30471

@PartnerNomad I run a Pi Zero 2 W in my cabin and yeah it works but — pedantic point — you cannot use USB-to-VE.Direct on the Zero 2 W without a proper OTG adapter, caught me out for ages.

Also worth knowing: if you're polling fast (sub 5 second intervals) the Zero 2 W does get a bit warm. Stuck a tiny heatsink on mine, sorted.

One thing nobody's mentioned — SD card quality matters massively for longevity. Lost two setups to card failures before switching to a Samsung Endurance Pro. Running 14 months now no issues.

My stack is VE.Direct → Pi → InfluxDB → Grafana if anyone wants the config files, happy to share.

Log in to join the discussion.

Log In to Reply