Go to file
Thomas Klaehn 6a7f0d727d Initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2022-11-09 08:57:56 +01:00
.vscode Initial commit 2022-11-09 08:57:56 +01:00
config Initial commit 2022-11-09 08:57:56 +01:00
.gitignore Initial commit 2022-11-09 08:57:56 +01:00
go.mod Initial commit 2022-11-09 08:57:56 +01:00
go.sum Initial commit 2022-11-09 08:57:56 +01:00
main.go Initial commit 2022-11-09 08:57:56 +01:00
Makefile Initial commit 2022-11-09 08:57:56 +01:00
modbus.go Initial commit 2022-11-09 08:57:56 +01:00
powercollect.service Initial commit 2022-11-09 08:57:56 +01:00
README.md Initial commit 2022-11-09 08:57:56 +01:00

Powercollect

Collect power data pf Eastron SDM-630 power meter over modbus-tcp and store them in InfluxDB

Installation

make install

Default install location for the executable is /usr/bin. This can be modyfied by changing the PREFIX variable.

PREFIX=/usr/local/bin make install

Uninstallation

make uninstall

When PREFIX was modyfied for installation it needs to be changed for uninstalling as well.

PREFIX=/usr/local/bin make install

Configuration

Default configuration file is installed in /etc/powercollect/config.json