Go to file
tkl 427bc44a3e Update mqtt broker
Signed-off-by: tkl <tkl@barsch.fritz.box>
2024-07-10 09:55:02 +02:00
.vscode Initial commit 2023-01-31 13:11:32 +01:00
config Initial commit 2023-01-31 13:11:32 +01:00
.gitignore Send samples latest after one minute 2023-02-21 09:20:44 +01:00
go.mod Initial commit 2023-01-31 13:11:32 +01:00
go.sum Initial commit 2023-01-31 13:11:32 +01:00
main.go Update mqtt broker 2024-07-10 09:55:02 +02:00
Makefile Initial commit 2023-01-31 13:11:32 +01:00
README.md Initial commit 2023-01-31 13:11:32 +01:00
saunaservice.service Add restarting to systemd service file 2023-03-23 08:43:15 +01:00

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