gasmeter/README.md
2023-01-13 08:25:44 +01:00

675 B

Gasmeter

Collect volume and power data of gas meter 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/gasmeter/config.json

systemd service

systemctl enable gasmeter.service
systemctl start gasmeter.service