jandebeule / nukiPyBridge

40 stars 19 forks source link

Question about V2 #14

Open federic0 opened 5 years ago

federic0 commented 5 years ago

Hi, just wanted to know if nukiPyBridge is compatible with Nuki 2?

jandebeule commented 5 years ago

It looks like all functionality from old API is also available for the new lock, so i think it should work. New features (like door sensor) are however not (yet) implemented

fgrassmann commented 5 years ago

Hi there,

I just bought v2.0 (after having v1 around and working with nukiPyBridge). Unfortunately, I cannot pair nukiPyBridge with v2 - it just complains about a non-valid command when trying to request a public key. Is this a known behaviour? Is there something I can do to further investigate what is going wrong?

federic0 commented 5 years ago

Hi,

Just got my V2.0 Lock and can confirm that it won't pair:

Starting BLE adapter...
Init Nuki BLE connection...
Nuki BLE connection established
Nuki Pairing UUID handle created: 008b
Requesting Nuki Public Key using command: Nuki_REQ
    Payload: Nuki_PUBLIC_KEY
Nuki Public key requested
Error while requesting public key:  does not seem to be a valid Nuki command
RSRaktoe commented 5 years ago

Hi,

I also cannot pair my V2.0 with nukiPyBridge, same error.

giejay commented 5 years ago

As an alternative I'm trying out: https://github.com/as19git67/nukible. Doesn't work for me due to my raspberry pi zero giving bluetooth issues. Does this nukible library work for anyone with the v2?

RSRaktoe commented 5 years ago

As an alternative I'm trying out: https://github.com/as19git67/nukible. Doesn't work for me due to my raspberry pi zero giving bluetooth issues. Does this nukible library work for anyone with the v2?

Doesn't work for my Raspberry Pi 2B.

giejay commented 5 years ago

What's the error your are seeing?

RSRaktoe commented 5 years ago

What's the error your are seeing?

I don't see an error. It just says:

q: exit p: pair Scanning for nuki.io Bluetooth LE services...

And that's it. After some time the lock exits pairing mode.

Config.json is created but it look like it contains default content.

giejay commented 5 years ago

Whats the status of your bluetooth device: sudo systemctl status bluetooth.service

And can you try: sudo systemctl start hciuart. That worked for my Pi Zero

Fuzi79 commented 5 years ago

Hi Jandebeule, I was successfuly using your project over the last 2 years. Now I got an additional Nuki 2.0. Unfortunately not possible to pair... I would like to know if you are planing to modifying your code and release an update for 2.0? If not please let us know. Than I have to look for a different alternative. Thanks!

ilie2014 commented 4 years ago

Hi I have successfully configure to pair Nuki 2.0 using PI Zero W. I have same problem, it stops on Public Key request. "Nuki Public key requested Error while requesting public key: does not seem to be a valid Nuki command" I have solved problem by subscribing with indicators Subscribe method has default parameter false for indications. So instead of (see Nuky.py): self.device.subscribe('a92ee101-5501-11e4-916c-0800200c9a66', self._handleCharWriteResponse) should be self.device.subscribe('a92ee101-5501-11e4-916c-0800200c9a66', self._handleCharWriteResponse, True, True)