Nuki Doorlock (callback function api)

Posted on
Fri Dec 23, 2016 9:52 am
WouterK offline
Posts: 167
Joined: Aug 19, 2015

Nuki Doorlock (callback function api)

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

Posted on
Fri Dec 23, 2016 2:53 pm
FlyingDiver offline
User avatar
Posts: 5305
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Nuki Doorlock (callback function api)

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

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Dec 24, 2016 12:54 am
WouterK offline
Posts: 167
Joined: Aug 19, 2015

Re: Nuki Doorlock (callback function api)

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

Posted on
Thu Nov 09, 2017 3:15 pm
superholz offline
Posts: 52
Joined: Jun 10, 2015
Location: The Netherlands

Re: Nuki Doorlock (callback function api)

Any progress on integrating the Nuki into INDIGO?


Gesendet von iPad mit Tapatalk

Posted on
Fri Nov 10, 2017 12:00 am
WouterK offline
Posts: 167
Joined: Aug 19, 2015

Re: Nuki Doorlock (callback function api)

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.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron