How to control a MagicBlue LED bulb with Linux
If you want to control your LED bulbs throught bluetooth, I recommend MagicBlue LED bulbs. Does not have an official API, but exists an unofficial on https://github.com/Betree/magicblue First, I installed an old version of magicblue (gattlib based), but I'm going to tell you the steps if you need to solve it for a similar app. sudo apt-get install python3-pip sudo pip3 install setuptools bluepy git clone https://github.com/Betree/magicblue.git cd magicblue sudo python3.5 setup.py install sudo magicblueshell ImportError: No module named 'gattlib' pip3 install gattlib /usr/bin/ld: cannot find -lboost_python-py34 collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-g++' failed with exit status 1 pip3 download gattlib tar xvzf ./gattlib-0.20150805.tar.gz cd gattlib-0.20150805/ sed -ie 's/boost_python-py34/boost_python-py35/' setup.py pip3 install . sudo magicblueshell list_devices Name ...