Pages

Friday, February 15, 2019

Simple IFTTT webhook test

 For an index to all my stories click this text

Time flies !!! I just can not believe it is already 2 year ago when I wrote my first weblog entry about IFTTT

For those who are still unaware about what IFTTT is read my 2 introduction stories here:
https://lucstechblog.blogspot.com/2017/04/ifttt-if-this-then-that.html
https://lucstechblog.blogspot.com/2017/05/ifttt-part-2-maker-channel.html

And read about a movement detection system using IFTTT to get an alarm on your phone here:
https://lucstechblog.blogspot.com/2017/05/ifttt-part-3-basic-alert-over-ifttt.html

Last november I brought you another story on how to use IFTTT in a practical way. I used a sensor to trigger an alarm when an object (in my case a painting) was moved:
https://lucstechblog.blogspot.com/2018/11/alarm.html

IFTTT Quick test

During devellopping a new project with IFTTT I needed a quick way to test wether my IFTTT setup worked.
Sending a trigger from an ESP8266 looks like a good idea. But what if it does not work. Is the problem in the ESP-code or is the IFTTT applet not setup in the right way.

So I discovered a neat trick to test the IFTTT applet.

First setup the IFTTT applet like you have seen in the alarm story:
https://lucstechblog.blogspot.com/2018/11/alarm.html


 

The event name we used in IFTTT is alarm.






Now just open your browser and type in:

https://maker.ifttt.com/trigger/alarm/with/key/PUTYOUROWNKEYHERE

press Enter and a notification will be triggered on your phone. This will work in any browser . Meaning it will work in the browser on your computer, phone and tablet.






This is a nice quick way to test IFTTT webhook applets.

Android 9 pitfall:

Android 9 has at the moment of this writing a serious battery problem. To prevent draining the battery of your phone best practice is to put all notifications off. However when notifications for IFTTT are set off you will not get the alarm on your phone. So make sure notifications for IFTTT are turned on.

Till next time

Luc Volders