427bc44a3e
Signed-off-by: tkl <tkl@barsch.fritz.box> |
||
---|---|---|
.vscode | ||
config | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
README.md | ||
saunaservice.service |
Saunaservice
Collect sauna temperature and transmit it via MQTT
.
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/saunaservice/config.json
systemd service
systemctl enable saunaservice.service
systemctl start saunaservice.service