-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm trying your code with docker on a raspberry pi (I've rebuilt the docker image from your Dockerfile to use the latest version).
After I've successfully paired it with my SmartLock 3.0, I can't access the device with state/lock/unlock actions. Here my logs:
nukipybridge-nuki-1 | Stopping bluetooth: /usr/sbin/bluetoothd.
nukipybridge-nuki-1 | Starting bluetooth: bluetoothd.
nukipybridge-nuki-1 | Init Nuki BLE connection...
nukipybridge-nuki-1 | INFO:pygatt.backends.gatttool.gatttool:Running...
nukipybridge-nuki-1 | INFO:pygatt.backends.gatttool.gatttool:Connecting with timeout=5.0
nukipybridge-nuki-1 | Nuki BLE connection established
nukipybridge-nuki-1 | Retrieving handle
nukipybridge-nuki-1 | Handle retrieved
nukipybridge-nuki-1 | INFO:pygatt.backends.gatttool.gatttool:Sent cmd=char-write-req 0x12 0200
nukipybridge-nuki-1 | INFO:pygatt.device:Subscribed to uuid=a92ee202-5501-11e4-916c-0800200c9a66
nukipybridge-nuki-1 | Subscribed to device
nukipybridge-nuki-1 | Going to execute challenge
nukipybridge-nuki-1 | ERROR:pygatt.backends.gatttool.gatttool:No response received
nukipybridge-nuki-1 | Traceback (most recent call last):
nukipybridge-nuki-1 | File "/usr/local/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 427, in char_write_handle
nukipybridge-nuki-1 | self._receiver.wait("char_written", timeout=5)
nukipybridge-nuki-1 | File "/usr/local/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 129, in wait
nukipybridge-nuki-1 | raise NotificationTimeout()
nukipybridge-nuki-1 | pygatt.exceptions.NotificationTimeout: None
nukipybridge-nuki-1 | WARNING:retry.api:None, retrying in 0.5 seconds...
I also verified that all the actions work perfectly if I put the SmartLock in pairing mode before (pressing the button for 5 seconds). After 5 seconds, the led turn off and all actions became unavailable again.
Do you have any suggestions?
Thanks,
Marco