Categories
Stuff

TBD: Nuki Lock and Bluetooth Dev in Python

$ sudo apt install python3-venv
$ python3 -m venv doorctl
$ cd doorctl/
$ . bin/activate
$ sudo apt install pkg-config python3-dev libglib2.0-dev libboost-thread-dev libbluetooth-dev libboost-python-dev
$ pip install gattlib
$ pip install pybluez

scan for BLE devices with: sudo hcitool lescan

pybluez with examples, gattlib

Nuki Bluetooth API, forum

Python lib/tool: nukiPyBridge (does not seem to work with Lock V2 and current BT protocol?)