dauden1184 / RaspiNukiBridge

Simple Nuki Bridge implementation using asyncio
GNU General Public License v3.0
48 stars 19 forks source link

Error 16 when trying to pair Nuki Smart Lock 3 #30

Closed sven2105 closed 5 months ago

sven2105 commented 5 months ago

After generating the config file and updating the infos I tried to pair my Nuki Lock 3 with the bridge and get the follwoing error message: Error 16

Smart Lock Version 3.9.5

nuki.yaml: server: host: xxx.xxx.xxx.xx port: xxxx name: RaspiNukiBridge app_id: xxxxxxx token: xxxxxx id: xxxxxx

RaspiNukiBridge $ python . --pair XX:XX:XX:XX:XX:XX 2024-05-16 10:03:24.833|I|main.py:278|Generatig keys for Nuki XX:XX:XX:XX:XX:XX 2024-05-16 10:03:24.834|I|main.py:282|bridge_public_key: 14e2a1c4eebb64b9f967532515d90d4353b8ff6573a7a98748dcd588e1a52705 2024-05-16 10:03:24.834|I|main.py:283|bridge_private_key: 4b59acb8b7ddbe5ab42a4efa8da1f112016904e95540663bd780424f90dd2afa 2024-05-16 10:03:24.835|I|nuki.py:173|Stop scanning 2024-05-16 10:03:24.835|I|nuki.py:570|Nuki connecting 2024-05-16 10:03:28.810|I|nuki.py:248|Device type: DeviceType.SMARTLOCK_1_2 2024-05-16 10:03:28.917|I|nuki.py:582|Connected 2024-05-16 10:03:28.963|E|nuki.py:456|Error 16 2024-05-16 10:03:28.963|I|nuki.py:591|Nuki disconnecting 2024-05-16 10:03:31.654|I|nuki.py:169|Start scanning ^CTraceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/pi/RaspiNukiBridge/./main.py", line 294, in loop.run_forever() File "/usr/lib/python3.9/asyncio/base_events.py", line 596, in run_forever self._run_once() File "/usr/lib/python3.9/asyncio/base_events.py", line 1854, in _run_once event_list = self._selector.select(timeout) File "/usr/lib/python3.9/selectors.py", line 469, in select fd_event_list = self._selector.poll(timeout, max_ev) KeyboardInterrupt