jordenc / io.nuki.smartlock

Nuki Smartlock control for Homey
5 stars 0 forks source link

Will you (need to) update to support Nuki 2.0 version (release november 2018)? #14

Open Povlov opened 5 years ago

jordenc commented 5 years ago

I need to update the app soon, even if the API doesn't have changes for the new Nuki :) I'm a bit busy at the moment but a big update is planned (still need to find time to start)

mbnn commented 5 years ago

Heya all :) The Nuki 2.0 is out and that supports Open Door next to lock and unlock. I dont see that option right now when I add the device in Homey. I can only lock or unlock. Thanks.

jordenc commented 5 years ago

If you use the options "directly" on the device in Homey, that only supports lock/unlock.

In Homey flows you can use other options, like "Unlatch" (which I believe is the same as "open door"). This was already supported on the old Nuki.

cesarenl commented 5 years ago

Whenever I use the Nuki app to lock unlock the door (so not via the Homey app), the status of the lock is not updated?

jordenc commented 5 years ago

It should update the lock status within seconds. Can you check on your lock if the callback is set up correctly?

You need to open the following URL in your browser, from within the same network as your Nuki bridge: http://[Nuki bridge IP]:8080/callback/list?token=[Token here]

It should display something like this: {"callbacks": [{"id": 0, "url": "http://[Homey IP]/api/app/io.nuki.smartlock/webhook"}]}

If it shows: {"callbacks": []} then it is wrong.

You can fix it manually by opening: http://[Nuki IP]:8080/callback/add?token=[Nuki token]&url=http://[Homey IP]:80/api/app/io.nuki.smartlock/webhook

cesarenl commented 5 years ago

Ahh, super! It stated HTTP 503 Unavailable On your first link, but after I added it, it showed the webhook link and is now updating within seconds!

Thanks!

chrisboer commented 4 years ago

Hi Jorden with SDK v3 it is not working at all anymore will it be possible to update the code ?

jordenc commented 4 years ago

I haven't looked into SDKv3 yet, so I don't know what is changing. I've been very busy the last few months and expect to be very busy for at least another month, and then I might have to update some of my other apps first. This one is not used a lot anymore I think (I am using the Athom version myself).