Ve.Direct.InfluxDB.Collector is a dedicated data collector that bridges the gap between Victron SmartSolar MPPT devices and InfluxDB. The primary aim of this project is to collect, process, and store data from Victron SmartSolar MPPT devices using the Ve.Direct protocol into an InfluxDB database. The resulting dataset can then be visualized using a Grafana dashboard, providing users with a detailed, real-time overview of their solar energy system's performance.
To run the Ve.Direct.InfluxDB.Collector, you will need:
- Grafana and InfluxDB docker images
- The matching Grafana Dashboard
- A Victron SmartSolar charge controller
- A Raspberry Pi or a 24/7 running PC with .NET 8 and a serial port
- Important! As of version 3, .NET 8 is required and mono is no longer supported!
- A Ve.Direct cable for connecting the Victron device to the Raspberry Pi or PC
- If there are only a few centimeters between the MPPT and the Raspberry Pi, no USB adapter from Victron is needed!
/path/to/Ve.Direct.InfluxDB.Collector.exe -o Influx
[Unit]
Description=SolarMetrics
After=network.target
[Service]
User=currentUser
Environment=DOTNET_ROOT=/home/currentUser/dotnet
Environment=PATH=$PATH:/home/currentUser/dotnet
ExecStart=/home/currentUser/git/Ve.Direct.InfluxDB.Collector/build/Ve.Direct.InfluxDB.Collector -i 10 -p /dev/ttyUSB0 --influxDbBucket solar -o Influx
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
I am always working on improving Ve.Direct.InfluxDB.Collector and adding more features, so I welcome contributions and suggestions from the community to improve the functionality of this tool and make it even more useful for all users.
Inspired by https://github.com/oyebayo/vedirect