I've been running a small off-grid solar setup at our place in rural Wales for about two years now — 400W of panels, a Victron SmartSolar 100/30 MPPT, and a 200Ah lithium battery. For ages I just relied on the Victron Connect app on my phone, which is fine but felt a bit passive. A few months back I decided to have a go at pulling data into a Raspberry Pi 4 and logging everything properly, and honestly it's been a bit of a rabbit hole.
At the moment I've got the Pi reading from the MPPT via a VE.Direct to USB cable, logging to InfluxDB, and displaying on a Grafana dashboard. I can see daily yield, state of charge over time, absorption vs float hours — all that good stuff. It's massively helped me understand what the system is actually doing, especially spotting that one of my panels was underperforming due to partial shading I hadn't noticed. Saved me a fair bit of head-scratching.
What I'm struggling with now is adding my inverter (a Victron Phoenix 12/1200) and a clamp meter on the AC output side so I can see actual load consumption in real time. I've had a look at ESPHome and Node-RED as options for pulling in extra sensors but I'm not sure which direction is most sensible. Has anyone integrated a CT clamp — something like the YHDC SCT-013 — into a setup like this, and if so what did you use to read it? A dedicated energy monitor board like the emonTx, or just straight into an ESP32?