forked from platypush/platypush
Migrated/refactored switchbot.bluetooth
integration.
- Out `gattlib` + `pybluez`, in `bleak`. It's not platform-dependent, it doesn't require libboost and other heavy build dependencies, and it doesn't require the user that runs the service from having special privileges to access raw Bluetooth sockets. - Better integration with Platypush native entities. The devices are now mapped to write-only `EnumSwitch` entities, and the status returns the serialized representation of those entities instead of the previous intermediate representation.
This commit is contained in:
parent
35719b0da9
commit
8469a1027f
4 changed files with 135 additions and 121 deletions
3
setup.py
3
setup.py
|
@ -175,8 +175,7 @@ setup(
|
|||
'alexa': ['avs @ https://github.com/BlackLight/avs/tarball/master'],
|
||||
# Support for bluetooth devices
|
||||
'bluetooth': [
|
||||
'pybluez',
|
||||
'gattlib',
|
||||
'bleak',
|
||||
'pyobex @ https://github.com/BlackLight/PyOBEX/tarball/master',
|
||||
],
|
||||
# Support for TP-Link devices
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue