Posts

Showing posts with the label raspbian

How to configure a Raspberry 3 with a MagicBulb

Image
First, we need to download the official rapsberry image (raspbian Pixel version): wget  http://vx2-downloads.raspberrypi.org/raspbian/images/raspbian-2017-01-10/2017-01-11-raspbian-jessie.zip Now, we need mount the image in a microSD. You can use etcher to automatize the entire proccess: wget https://resin-production-downloads.s3.amazonaws.com/etcher/1.0.0-beta.18/Etcher-1.0.0-beta.18-linux-x64.zip unzip -e Etcher-1.0.0-beta.18-linux-x64.zip ./Etcher-1.0.0-beta.18-linux-x64.AppImage Before placing the microSD in the raspberry, you need enable ssh service. To do this, just create a file called ssh in the boot partition. cd /media/PI_BOOT touch ssh where PI_BOOT is the boot raspberry partition. Use pi as user and raspberry as password to access it throught ssh. Now, we need to install dependencies for magicblue: sudo apt-get install libglib2.0-dev libbluetooth-dev git clone https://github.com/IanHarvey/bluepy.git cd bluepy sudo python s...