sudo apt-get install libusb-dev sudo apt-get install libdbus-1-dev sudo apt-get install libglib2.0-dev --fix-missing sudo apt-get install libudev-dev sudo apt-get install libical-dev sudo apt-get install libreadline-dev   sudo mkdir bluez cd bluez sudo wget www.kernel.org/pub/linux/bluetooth/bluez-5.19.tar.gz sudo gunzip bluez-5.19.tar.gz sudo tar xvf bluez-5.19.tar cd bluez-5.19 sudo ./configure --disable-systemd sudo make sudo make install   sudo apt-get install python-bluez   sudo shutdown -r now sudo lsusb -v -d 0a5c: hciconfig sudo hciconfig hci0 up sudo easy_install phue sudo pip install phue if (command == "ALLLIGHTSON"): lights.allLights(True, currentLightState ) completeCommand() return True   if (command == "ALLLIGHTSOFF"): lights.allLights(False, currentLightState) completeCommand() return True sudo hciconfig hci0 up sudo python BeaconAir.py sudo nohup python BeaconAir.py sudo sh startserver.sh sudo nohup sh startserver.sh & tail -f nohup.out sudo nano /etc/rc.local sudo python testblescan.py