6d9b0da10a
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io> |
||
---|---|---|
.vscode | ||
config | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
modbus.go | ||
powercollect.service | ||
README.md |
Powercollect
Collect power data of 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 uninstall
Configuration
Default configuration file is installed in /etc/powercollect/config.json
systemd service
systemctl enable powercollect.service
systemctl start powercollect.service