Send data from Tilt hydrometer to the cloud4rpi.io control panel. Works on Rasbperry Pi.
On a Rasbperry Pi, make sure system is up-to date:
sudo apt update && sudo apt upgrade
Install prerequisites
sudo apt install git python python-pip python-bluez
Install cloud4rpi python package
sudo pip install cloud4rpi
Then clone this repo
git clone https://github.com/superroma/tilt-cloud4rpi
cd tilt-cloud4rpi
Edit control.py
and replace __YOUR_DEVICE_TOKEN__
with device token given to you when adding new device at cloud4rpi.io
Just run
sudo python control.py
Your cloud4rpi.io device page should show Gravity and Beer Temp values.
Use provided service_install.sh
script to run control.py
as a service.
sudo bash service_install.sh control.py
Now you can start|stop|restart this service by running systemctl command like this:
sudo systemctl start cloud4rpi.service