Setup BlueZ in Pi http://www.elinux.org/RPi_Bluetooth_LE Bluepy Module https://github.com/IanHarvey/bluepy