Page 1 of 1

Nuki Doorlock (callback function api)

PostPosted: Fri Dec 23, 2016 9:52 am
by WouterK
Hi,

Not sure if this is the right place but hope it is.

Since this eek I am using a Nuki doorlock which uses a bridge device. This bridge device supports an API.
Already using the GhostXML plugin (json) which after a refresh shows the status of the doorlock.
This API also has a callback function for sending the status of the doorlock to a specific URL after a lock status change.
I would like to use this in instead of polling the device.
Does something like this already exits or is it easy to implement?

Thanks,

Wouter

Re: Nuki Doorlock (callback function api)

PostPosted: Fri Dec 23, 2016 2:53 pm
by FlyingDiver
Can you define the URL that the bridge calls? Or is it a set format? And will it do Digest Authentication?

You might be able to use Indigo's web api to trigger an event that polls for status on demand.

Do you have a link to the bridge API?

If it won't do Digest Authentication, but you can define the URL, see my IFTTT plugin: viewtopic.php?f=216&t=17281

Re: Nuki Doorlock (callback function api)

PostPosted: Sat Dec 24, 2016 12:54 am
by WouterK
Hi,

I can define a callback URL on the nuki bridge. If it support Digest Authentication i do not know. I have to check that.
Thanks for pointing me to your plugin; I will certainly try it.

Thanks

Re: Nuki Doorlock (callback function api)

PostPosted: Thu Nov 09, 2017 3:15 pm
by superholz
Any progress on integrating the Nuki into INDIGO?


Gesendet von iPad mit Tapatalk

Re: Nuki Doorlock (callback function api)

PostPosted: Fri Nov 10, 2017 12:00 am
by WouterK
I am not a code/plugin wizzard so for now I am using a "Very simple HTTP server in python" script in which I added some lines to handle the callback data .
It is receiving the callback data from the Nuki and sends this with a curl command to Indigodomo, setting the variables I am using for the Nuki.