Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.08 KB

README.md

File metadata and controls

44 lines (36 loc) · 1.08 KB

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