Homey Community Forum

[HOWTO] Use IFTTT with Homey when the official support has ended

We all heard the official Homey support for IFTTT will end, and those still using it are probably looking for alternatives. Look no further - you can keep using IFTTT together with Homey (in a slightly different way) using webrequests. Both directions are covered, also see the second post in this thread. Don’t be intimidated by the length of this post, once you get it it is not that hard.

Start an IFTTT applet from Homey

To start an IFTTT action from Homey, you need to create a webrequest trigger in IFTTT. The applet is called “Webhooks” (it used to be called the maker channel).
When selecting a trigger, search for webhooks:

image
Then choose “”web request”:


And pick a nice name for your action:

Then complete your applet with the action you want:

To be able to trigger this action, you need to know the webrequest to send from Homey. You can get this by clicking you account name in IFTTT and picking “Services”, then “Webhooks”, and click the gear icon:

There you find an URL, you simply click to go to the page with the instructions:

Which takes you to the page with the URL you need:

Take the URL you find there, replace the event with the keyword you chose before, and put that in a Logic card with the webrequest:

Your flow should look something like this:

5 Likes

Start a Homey flow from IFTTT

In Homey, create a flow with a logic card in the “When” and pick a nice Event name:

The URL you need to call the webhook is shown in the card. As you can see you need your homey cloud id to get the actual URL for your Homey You can find this in the app under general settings. Click on it to copy it to the clipboard:

The ID you find there should be put in the url at the designated place in the URL. The <event> should be replaced with the ID you used, and you can add a tag with a value you want to pass if IFTTT has any additional information you need. Make sure you got the uppercase and lowercase letters right. The URL should then look something like this:

https://1234abcdef56789.connect.athom.com/api/manager/logic/webhook/TadoAanwezig?tag=Aanwezig

`
Now you’re ready to create the IFTTT applet. For the action, choose Webhooks:

image

Anf then: make a web request:

And put in your URL. Note that as a Tag for Homey I entered the ingredient from Tado with the previous presence mode by clicking “Add ingredient”:

So the applet should look something like this:

And your flow should look something like this:

And the result from switching in Tado:

5 Likes

Oh, and one thing to consider: never post your actual webhooks (with your athom id or IFTTT key) online. Otherwise anyone can trigger your actions by clicking your link. This is why I changed or wiped those in the above tutorial.

4 Likes

Wow… thanks man! Just what I was looking for.
Hope I can get it to work. Steps seem a little bit intimidating to me at first sight :slight_smile:

1 Like

ISTR there was some aspect of webhooks where you couldn’t pass or receive the number of extra data parameters that are included as part of an official integration - is that right?

The second example demonstrates the use of a parameter. first example did not use the extra parameters that could have been added. But the IFTTT help page does explain how to use those, and the logic card does seem to allow to put variables in the URL so it would say it is possible. If not there are other Homey apps out there that can put out a webrequest, so it is definitely possible if you need it.