Skip to content

ullman/velog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

velog

Description

VE.Direct serial data stream parser. Use this utility to parse and log data from your Victron Energy devices to:

  • csv file
  • Graphite's carbon database
  • Prometheus exporter

Dependencies

General:

sudo apt install build-essential automake libcunit1-dev

For Prometheus exporter:

sudo apt install libmicrohttpd-dev

and

libprom-dev
libpromhttp-dev

available here

Compiling

General (csv and Graphite support):

$ ./autogen.sh
$ ./configure
$ make

Compile with Prometheus support:

$ ./autogen.sh
$ ./configure --enable-prometheus
$ make

Usage

velog -i /dev/serial/by-id/usb-VE_Direct_cable-port0 -o log.csv -r 1
-i [Serial device]
-o [Logfile name]
-r [Log rotate interval in days]
-g [send to graphite host]
-d [graphite device id]
-p [Export to Prometheus (default port 9110)]
-e [Port for Prometheus exporter]

Contrib

Graphite example:

see contrib/graphite/ for example graphing setup logging data to carbon-cache and graphing with graphite on raspberry pi.

graphite screenshot

Prometheus example:

see contrib/prometheus/ for Prometheus configuration

prometheus/grafana screenshot

Licence

GPL Version 3

See COPYING for details

About

Serial log application for VE.Direct devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages