-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuki not working #65
Comments
Have you paired with the Nuki before?
|
btw. has it been working before for you? |
Yes, I paired the phone with the lock.
No. It works using the proprietary app. |
hm, this is hard to debug, since it was working for me recently. |
You do not happen to be in Berlin? :P |
Do you know the version of the Nuki Smartlock firmware and what version of the Nuki SmartLock this is? |
I can poke around in the code if you want and try things or write more debug output.
Nope. But if you visit Frankfurt in the next time… ;)
It is a Smart Lock 2.0 running firmware 2.11.8 |
Yes please. Anything that helps us with figuring out the problem.
hehe, ok.
hm, should work.. |
Here are the adb logs when trying to connect
Maybe that helps you already 🤷♂️ |
That does not look very helpful. |
I have similar problem with Nuki not working, but i am not able to pair. The question is: does Trigger work with Nuki Smartlock, if the Smartlock is already paired with the Nuki Web Bridge? |
Actually, I do not know. Best thing would be if I can debug the situation. I can try to update the firmware on my nuki and see if that breaks anything :D EDIT: if you can use the Nuki Web Bridge in parallel with the Nuki App (via Bluetooth), then it should also work with Trigger |
btw., is that a Nuki Smartlock 3? What firmware version do you use? I just saw that it came out. |
Ok, without having a Smartlock of that version to debug the issue, it will be very hard to debug/fix this. Maybe there is some documentation available for the Nuki 1... |
I have asked a related question in the nuki forum: https://developer.nuki.io/t/bluetooth-api-for-nuki-1-0-2-0-3-0-compatibility/13722 |
@vmario89 anyway, if you are not able to pair, then it does not have anything to do with Trigger. |
hi. thanks for the note. i was not sure how trigger is going to handle bluetooth. thanks for opening the thread on nuki. interested on how other people handle this |
We have a Nuki Smart Lock 3 and tried with your app but with no luck. After pairing the Smartphone using Bluetooth and adding the lock info in the app. The Lock Identifier and Shared Key were successfully added after pairing in the app. Your documentation only says the app was tested with the nuki smartlock 2. The newest API version seems to be V2.2.1 from 22.06.2021. If you could tell me the API Version for which you know the app works i could figure out the changes. |
I am not certain, but I think I used the API specs V2.1 from 16.03.2020. I suspect this to be a Bluetooth issue that needs to be made more robust. |
Sorry, the Lock is allready in use and we only have one. v.2.2.0 has just some Battery State additions/updates
that does not sound like any changes would be breaking changes. maybe the MTU? but i don't really know i can't provide you with a smart lock version 3 for testing, but i can try testing for you with the smartlock we got here if you give me some indications. |
HI @Thorbijoern, I just tried with my Nuki Smart Lock 2.0. It was working without problems with Trigger 3.4.4. The error message comes from here:
I suspect the logic (e.g. for pairing) exits at some point without setting Have you tried to restart Trigger after pairing was successful? |
I don't know what is less work for you, making me a modified apk for testing or one with a lot of output for android studio? We have not tried restarting the app after pairing. I will try that if i get a chance. |
Hi, you only need a debug build. The log out is already there and will be printed to logcat. So adb might be fine. Adnroid Studio makes it easier to filter the messages, but that is up to you. Let me know how I can contact you, and I can send you a debug build (or build one yourself if that is easier). |
I've now set up Android Studio in a VM on my notebook. The emulator is running very poorly but i was able to push the app to my phone and debug it there. I don't know if i have to make some extra settings or changes to the app but i allready got some debug output in either the Run or Debug Console-Tabs (depending on how i build/ran the app) and additionaly had the logcat output from the app in android studio. (all 3 outputs are pretty much the same, but maybe with different filtering options?) Also: what do i have to look out for in the debug log when testing the app with the nuki v3 again? |
So, I was able to test it today and it worked. |
Half a minute is rather long. For my Nuki 2 it is a matter of 3 seconds. |
I really wonder why the pairing takes that long, but maybe they changes something with the Nuki3. |
the pairing is rather quick i think, but between locking and unlocking you have to wait some time or it will just tell you its busy or disconnect. |
You need to first pair your Nuki with your mobile phone and then copy the MAC addresse or device name of the Nuki Smartlock to the Trigger settings. |
You are talking about Trigger app, right? I don't see anything in the Nuki options. EDIT: With Version 2023.8.2 Nuki worked for me. |
Any username will be OK. It is used by the Nuki device for logging. |
@duven87 the 2023.8.2 Nuki firmware? Then I need to check for changes. |
No no, I meant the apk version. |
Operating a nuki smart lock device isn't working.
I followed the guide from the documentation.
When pressing to "open" button that should connect the device I always get "Device is not in paring mode.".
If I can provide any other information that helps debugging just let me know.
The text was updated successfully, but these errors were encountered: