Get Nuki call an http api after opening

You have now to make a ifttt Applet with trigger webhook, and in the row you give in your ifttt url (with gate) and save, as second step choose webhook again, and give in now your url and choose get, now save all. Now when you trigger the ifttt url, it should trigger your url in your home network. Sorry for the confusion.

you mean just “https://maker.ifttt.com/trigger/gate” ?

Okay, but the trigger should be the Nuki door becoming “unlocked”, how do I tell webhooks to carry out the IFTTT call once Nuki has been unlocked, if in my applet I only put webhooks as trigger and as second step?

This is just for testing, to try if it works, because in case it works, you can make then a further ifttt Applet with trigger nuki-unlocked, what triggers your url in your home network.

Okay it makes sense.
When I create the first applet, for testing, I put webhooks as trigger, but it only allows me to put an “event name”, not the “https://maker.ifttt.com/trigger/gate”

No, - go into ifttt app - email - services - webhook - push on the url to get to ifttt webhook webpage - in the first row where the url is, write gate in the event field - then copy the new url (its the same but now with gate in it), - then go back and start to make a new Applet - choose webhook as trigger - copy the ifttt url from before (with gate in it) in it and save, now the second step in the Applet - choose webhook again - give in your url (the one with 192 at start) and choose get - save all and go out, now copy the ifttt url in the browser head, and try, when all is good this should open the related lock. When this works, you setup a new Applet with nuki-unlocked as trigger, and as second step you choose webhook, and give in the ifttt url (gate), then save and go out, - then when the related lock unlocks, ifttt will trigger, and send your url (192) in your home network, what unlocks the other lock, but only when unlocking, not when locking (of course, you can then setup all you want, for locking or unlocking, and a few things more). Let me know.

I got your point, but if I put webhooks as trigger, it only allows me to specify an event name, not an url (mine is https://maker.ifttt.com/trigger/gate/with/key/xxxxxxx).
The hint below the field says: “The name of the event, like “button_pressed” or “front_door_opened””

I can’t paste an URL

Forget the hint just copy the ifttt url (with gate) in it, - I tried now, and I can copy the ifttt url without issues.

Okay did it, but I still get the same error in the log:

Action failure message
Timed out waiting for response from http://192.168.0.3/relay/0?turn=on

But you say, when you trigger this 192 url with a browser, it works.

Have your shelly devices the cloud service activated? This would be a further way!

yes when I trigger the url with the 192.168.x.x IP address, it works right away.
My shelly has the cloud activated, do you know any way to trigger a shelly without using its local ip address, going through the cloud instead?

Ok! For shelly, a friend of mine, used this tutorial for controlling blinds with shelly, ifttt and alexa.

thank you, going to give it a look.
Guess we need to give up with the IFTTT double applet solution, as the first one didn’t reach the local ip address

I did it! I used the public interface of the shelly infrastructure https://shelly-5-eu.shelly.cloud, so that IFTTT which only sees a public URI, could call a public URI to perform its action!
All in one single IFTTT app.

Thank you Rose for your help!

GREAT!!! I am really glad to hear that, and that I was able to help a bit! Cheers!

You helped a lot actually, I never approached IFTTT and you have inspired me to start using it, apparently proficiently :slight_smile:

Oh thanks, then I have a reason, to be a bit proud! I hope it runs well and reliable! Cheers!