![ifttt events maker ifttt events maker](https://www.altairsmartworks.com/images/uploads/ifttt_tutorial/02_flow.png)
The problem is that, since I can only pass the one event ( button_press), I have to choose whether that event triggers either "Turn Off" or "Turn On". Then as you can see below, we receive the notification from IFTTT that our applet was triggered with the right event.I have a simple device ( Nordic Thingy 52) with a push button which can trigger the Maker Webhooksservice in order to pass an event ( button_press), which I am currently using to then trigger the Smart Life service's "Turn Off" or "Turn On" action. Past the link with the event of the single_press, the same event that you put into your webhook applet.ĭon’t change anything else and click on Confirm to save the new configurationĬlick on your NIU (The physical one, in that example we use the virtual one, but it’s all the same thing). Select the NIU single press action selection button Then we validate the Applet by clicking on Finishįor that part we will need the three webhook links we have created in the webhook setup, we will demonstrate to do it for the single press of our NIU The event name will be in the text of the notification, we keep the default configuration. In that example we picked a simple notification In that example we just decide to send a simple notification to our IFTTT Smartphone App
![ifttt events maker ifttt events maker](https://hackster.imgix.net/uploads/attachments/246316/homematic-ifttt_8JlShzJheI.png)
Then select the action you want to perform in that applet by clicking on the + That In this example we will do it with one of our event which is the one for the single press of our blue NIU button Go to that link to create a new applet, click on the + Thisįill the event field with one of your events created from the webhook configurations steps, then press on create trigger. This operation will have to be done for each Applet we want to launch with our NIU buttons, each of them need to have their unique and dedicated event. Save these three links for later we will use them to configure the NIU application. Then copy the generated link that should looks like something like this where the part after /key/ will be different and fill with your own private key (keep that key secret) Open the creation applet page HERE then click on + This So let’s write the event in that webhook trial screen as follow: niu_blue_long_press ( We will use this one for long press of our blue niu ).niu_blue_double_press ( We will use this one for double press of our blue niu ).niu_blue_single_press ( We will use this one for single press of our blue niu ).The event names can be anything but let’s create three one that are easy to remember.
![ifttt events maker ifttt events maker](https://bitdog.files.wordpress.com/2016/09/ifttt-maker-connected.png)
Let’s create three links, for this let’s create three differents event names. In order to do that we need to have three different webhook, that screen is just to try things out, it’s not necessary to do what will follow but we do it to make it more easy to understand. One kind of press on the NIU will launch one different applet. Let’s assume we have one blue NIU and we want to launch three different applets with it. You should arrive on that screen that explains how to use the webhook as follow Select the Settings gear of that webhooks service as follow: Copy and Access the URL A computer or Smartphone to browse (internet access)Ĭlick on the Connect button if you never used the webhooks.Being logged on the NIU by NodOn Application.The NIU by NodOn Application iOS Android.A Smartphone (Android or iOs with internet access).1 – Setupīefore starting create our custom recipe we will need the following: This tutorial describes how to setup a custom IFTTT recipe with the webhooks channel ( aka before know as maker channel ).