I've been running a 400Ah LiFePO4 bank (Winston cells, 4S) with a Victron SmartShunt 500A for a few months now and I'm fairly happy with the shunt itself — it's solid and the Victron Connect app does the job on my phone. But I keep thinking I want something more permanent: a little dashboard on a screen in the van, logging SOC, voltage, and current to a CSV or database over time so I can actually spot patterns.
I've got a Raspberry Pi 4 sitting in a drawer doing nothing. From what I can tell, the SmartShunt has a VE.Direct port and there are USB-to-VE.Direct cables available (the genuine Victron one is about £25). I've seen mention of a Python library called vedirect that can parse the serial output, but I haven't been able to find a clear worked example that's actually up to date — most threads I find are from 2019 and reference deprecated stuff.
Has anyone here actually got this running end to end? I'm curious whether you went straight to InfluxDB + Grafana or something lighter like SQLite and a simple Flask page. Also wondering if there are any gotchas with the VE.Direct protocol on the Pi specifically — I've read something vague about baud rate issues but can't find the detail.