The add-on version of the simple Nuki Bridge implementation using asyncio developed by Dauden1184.
Minimal implementation of the Nuki Bridge protocols in python (both HTTP and BLE).
Right now pairing, lock, unlock, unlatch and HTTP callbacks are implemented, it works fine with the Homeassistant Nuki integration and the hass_nuki_ng integration.
Refer to Dauden1184 for further code information.
- Copy the repository files into local ADDON folder.
- Open the Home Assistant frontend and go to "Configuration"
- Click on "Add-ons, backups & Supervisor"
- Click "add-on store" in the bottom right corner.
- Open your Home Assistant instance and show the Supervisor add-on store.
- On the top right overflow menu, click the "Check for updates" button. You should now see a new section at the top of the store called "Local add-ons" that lists this add-on!
- Click on NukiBridgeAddon to go to the details page and install the add-on.
- Go to the add-on configuration and add your lock MAC address. You can find it using a BLE app on your smartphone or through your PI directly (by ssh)
sudo bluetoothctl
agent on
default-agent
scan on
- Now put your lock into discovery mode (hold the central button for 6sec until it lights up)
- Start the addon
- Click on the "Logs" tab, and refresh the logs of your add-on. Your should see what's going on.
Install either:
Use *localhost as host and about the token have a look inside the log once the add-on is started.
BRIDGE DATA:
app_id: 0000000000
token: 0000000000000000000000000000000000000000000000000000000
In case of issues you can change the level of verbose modifing the value inside "Configuration".
0 = only info [default]; 1 = ERROR; 2 = DEBUG;