Bluetooth LE Support / library

I’m working on bluetooth LE support.

That incorporates on the component side a thermostat component for EQ3 Bluetooth Smart thermostats.
On the library side there’s a frontend for the bluepy library that is intended to

  • simplify development for bluetooth devices by taking care of all the connection and callback stuff and providing useful utility functions
  • provide a place for device driver modules that are not really supposed to be in homeassistant (only one so far, eq3btsmart)

I know there are others here that want support for various BTLE devices, I hope this proves useful. I’m going to update my eq3btsmart PR in the near future with that as well ( https://github.com/home-assistant/home-assistant/pull/1839 ).

Disclaimer: Obviously, the library is subject to change and the status is fairly alpha.


3 Likes

In general Bluetooth LE support would be nice. Location tracking with fitness trackers could be one use case.

2 Likes

I just rechecked it, reading the PR list for 0.18 (there is a bluetooth device tracker in that).

Bluetooth device discovery as a user is possible only for normal BT devices, Low Energy device discovery needs root, unfortunately.

Thanks for the update!

sudo setcap cap_net_raw+ep /usr/bin/hcitool

1 Like

Thanks it works for me