Introduction
Sequences let you build in complicated conditions that allow you to do some clever things, but at the end of the day you want them to be able to do something, for example turn on a light.
As long as your device is compatible with IFTTT, then you can trigger it from your sequence. This tutorial will show you how.
Start your sequence
Firstly, create a new sequence in SEQUEmatic and add your trigger.
In this example we're going to use the sunset trigger. We've already set our location in our user settings, so there's no need for us to provide latitude and longitude co-ordinates in the trigger. You can find out more about this on this page.
Create a step in your sequence to call IFTTT
The way to trigger an IFTTT applet from SEQUEmatic is to use the Call IFTTT action.
Go ahead and add a new Call IFTTT action to your sequence. Give it a meaningful event name. In this example we have already set our IFTTT key in our user settings so we don't need to provide it again in the step. You can find out more about this on this page.
Save the step.
Create the IFTTT applet
The final step is to create an IFTTT applet which will turn on the light when your IFTTT webhook call fires.
Create a new IFTTT applet.
Start with setting up your trigger, the if this component of the applet. This will be the webhook service.
Select the webhook service, and choose the Receive a web request action. The event name must match the name you provided in SEQUEmatic. In our example this was front_light_on. Click create trigger.
Now, you need to create the action, or then that component. This will vary depending on the device you're setting up. To complete this example we're going to turn on a Philips Hue light. Watch the video below to see how this is done.
Click Finish to save and activate your IFTTT applet.
Now, every day at sunset the SEQUEmatic sequence will run and call your IFTTT applet. Maybe you want multiple lights to turn on at sunset? Just go back to your sequence and add additional IFTTT webhook call steps for each of the devices.