DocBrown101 / Ve.Direct.InfluxDB.Collector

Collects data from your Victron SmartSolar MPPT and sends it to InfluxDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Overview

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.

Maintainability Rating Lines of Code Security Rating

Preview

Preview

Requirements

To run the Ve.Direct.InfluxDB.Collector, you will need:

Preview

Preview

Example Usage

/path/to/Ve.Direct.InfluxDB.Collector.exe -o Influx

Systemd service example

[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

Future Plans

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

About

Collects data from your Victron SmartSolar MPPT and sends it to InfluxDB

License:MIT License


Languages

Language:C# 93.0%Language:PowerShell 5.0%Language:Shell 2.0%