supervisor: device_tracker.bluetooth_le_tracker not working with HASS.IO since introduction...?

The ble tracker was introduced in about version 5.? but I haven’t been able to get it working at all.

My logs look like this:

2017-10-27 22:59:01 ERROR (SyncWorker_11) [homeassistant.util.package] Unable to install package gattlib==0.20150805: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2hdf7tbx/gattlib/
2017-10-27 22:59:01 ERROR (MainThread) [homeassistant.setup] Not initializing device_tracker.bluetooth_le_tracker because could not install dependency gattlib==0.20150805
2017-10-27 22:59:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.bluetooth_le_tracker: Could not install all requirements.

I have tried with a fresh hass.io install about 2 weeks ago but I still get the same errors in the logs.

I have Bluetooth BCM43xx (version 0.7) installed and it shows the following in the logs:

starting version 3.2.1
bcm43xx_init
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Set Controller UART speed to 115200 bit/s
Device setup complete

I have tried it with & without this add-on. I am running on a Raspberry Pi 3. Others are also reporting the same problem here: https://community.home-assistant.io/t/hassio-list-bluetooth-le-devices/22798/17

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 30 (6 by maintainers)

Most upvoted comments

so just looking at this and it looks like firstly boost is needed but as per this thread: https://bitbucket.org/OscarAcena/pygattlib/issues/41/ld-cannot-find-lboost_python-py34

lboost_python-py35 is there but the system looks for 34 - will report back

so on Ubuntu seems manual install of gattlib is needed; https://community.home-assistant.io/t/new-ha-0-27-and-bluetooth-le-tracker/3336/3?u=jaburges

pip download gattlib
tar xvzf ./gattlib-0.20150805.tar.gz
cd gattlib-0.20150805/
sed -ie 's/boost_python-py34/boost_python-py35/' setup.py
pip install .

since this seems to be a big issue I am thinking about taking a different route, just FYI @braddo99 https://github.com/mertenats/Open-Home-Automation/tree/master/ha_mqtt_binary_sensor_ble_scanner