Skip to content

Tool for reading your Tilt brewing hydrometer in python on a rasberry pi and send the data to a server.

License

Notifications You must be signed in to change notification settings

atlefren/pytilt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytilt

Tool for reading your Tilt brewing hydrometer1 in python on a rasberry pi and send the data to a server.

Installation

  1. git clone https://github.com/atlefren/pytilt.git
  2. Install python-bluez: sudo apt-get install python-bluez
  3. Make the bluetooth interface accessible witout being root: sudo setcap cap_net_raw+eip /usr/bin/python2.7

Running

  1. From the directory containing pytilt.py run python pytilt.py

Running Pytilt in the background and on System Start

  1. edit pytilt.service, add your key and fix paths
  2. copy pytilt.service to /lib/systemd/system/
  3. sudo chmod 644 /lib/systemd/system/pytilt.service
  4. sudo systemctl daemon-reload
  5. sudo systemctl enable pytilt.service
  6. sudo reboot

Acknowledgements

The code in blescan-py is adapted from https://github.com/switchdoclabs/iBeacon-Scanner- The Tilt UUID-to-color mapping is taken from: https://github.com/tbryant/brewometer-nodejs Systemd-config here: http://www.raspberrypi-spy.co.uk/2015/10/how-to-autorun-a-python-script-on-boot-using-systemd/

About

Tool for reading your Tilt brewing hydrometer in python on a rasberry pi and send the data to a server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages