Open brianjmurrell opened 6 years ago
download it manually and place it in the same directory as your project
Well, it's really quite a moot point now since I have an iGrill V2 and from what I am gathering, this project doesn't currently support that device.
If it did however, it would be nicer to test a bluepy distribution that is available with pip
and update requirements.txt
accordingly. Ideally, it would be even nicer still to remove the version pinning from from bluepy
until there is a reason to pin it.
If there were iGrill V2 support, I'd even do all of that for you and push a PR to update it. But since there isn't I couldn't reasonably test such changes so I wouldn't push them.
On a fresh Raspberry Pi Install, I performed the following to get this code to work - Minus the database portion.
Install bluez using these instructions. Install version 5.29 instead of the version listed. https://learn.adafruit.com/install-bluez-on-the-raspberry-pi/installation a. Download - wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.29.tar.xz b. Extract - tar xvf bluez-5.29.tar.xz c. Browse - cd bluez-5.29 d. sudo apt-get update e. sudo apt-get install -y libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev f. ./configure g. make h. sudo make install i. bluetoothctl -v
After bluez is installed, source installed bluepy0.9.11.
a. Download - wget https://github.com/IanHarvey/bluepy/tarball/v/0.9.11.tar.xz b. Extract - tar xvf 0.9.11 c. Browse - cd 0.9.11 d. sudo python setup.py build e. sudo python setup.py install
Note: If you try to install bluepy0.9.11 before installing bluez, the install will error out.
Has any of the newer releases been tested?