brewfatherlog

Crates.iobrewfatherlog
lib.rsbrewfatherlog
version0.1.2
sourcesrc
created_at2023-12-18 02:03:31.466643
updated_at2023-12-29 00:49:28.289983
descriptionLog temperatures from grainfather fermenters to brewfather
homepagehttps://github.com/orium/brewfatherlog
repositoryhttps://github.com/orium/brewfatherlog
max_upload_size
id1072881
size79,800
Diogo Sousa (orium)

documentation

https://docs.rs/brewfatherlog

README

Build Status Dependency status crates.io Downloads crates.io Downloads github Github stars License

Brewfatherlog

Brewfatherlog is a small tool to synchronize the temperatures of your Grainfather fermenters to Brewfather.

Instalation

Brewfatherlog can be installed via cargo with:

cargo install brewfatherlog

You can also get a binary from the releases page.

Configuration

On the first run Brewfatherlog will create a configuration file in your configuration directory. Brewfatherlog will tell you where the configuration file is. You will need to edit that file to configure authentication for both Grainfather and Brewfather.

In Brewfather you need to enable the "Custom Stream" integration in the settings page and put the logging id in the configuration file.

Systemd daemon

To make Brewfatherlog a systemd service that will start automatically create file /etc/systemd/system/brewfatherlog.service with the content (replace the user and the path to the brewfatherlog binary):

[Unit]
Description=Log temperatures from grainfather fermenters to brewfather
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=1
User=<USER>
ExecStart=<PATH TO brewfatherlog>

[Install]
WantedBy=multi-user.target

and then enable and start the service:

systemctl enable brewfatherlog
systemctl start brewfatherlog
Commit count: 20

cargo fmt