Skip to content
cloud4rpi.io integration with Tilt hydrometer
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
blescan.py
control.py
rpi.py
service_install.sh
test.py
tilt.py

README.md

tilt-cloud4rpi

Send data from Tilt hydrometer to the cloud4rpi.io control panel. Works on Rasbperry Pi.

Installation

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

Running

Just run

sudo python control.py

Your cloud4rpi.io device page should show Gravity and Beer Temp values.

Running as a service

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
You can’t perform that action at this time.