User Tools

Site Tools


tutorials:using_mairlist_with_ifttt

This is an old revision of the document!


Using mAirList with IFTTT

IFTTT (If This Then That) is a popular web-based service that lets you connect arbitrary triggers with various actions.

In this very simple example, we will use IFTTT to send us an e-mail when the playlist has run empty in automation mode. Note that this is something mAirList can do out of the box with its SMTP module, so it's just an example – you would use IFTTT for more complex actions, to send push notifications via Pushover etc.

Set up IFTTT

Register and set up Maker Channel

First of all, you need to create an account for IFTTT obviously if you don't have one already. So go to https://ifttt.com and follow the steps to sign up.

To fire triggers from mAirList, we will use the so-called Maker Channels – a mechanism introduced by IFTTT 2015 that you can use to trigger actions through a simple HTTP POST call.

Maker Channels are managed on https://ifttt.com/maker:

First, click “Connect” to create a secret key for your account. The key will be displayed on the following page – we will need it later for the HTTP POST URL:

Create Recipe

Once we have connected our Maker Channel and obtained your key, you can go to My Recipes in the menu, and create a new recipe. For the Trigger Channel, type “maker” and choose the Maker channel:

As we are going to trigger the action through an HTTP call from mAirList, choose Receive a web request as the trigger – this happens to be the only option at the time of this writing:

In the next step, enter a name for the trigger. This will be later used in the URL, so use lower case characters only, and no spaces. For our example, we choose playlist_empty:

In the remaining steps, we must specify to the action to take – in our very simple example, we will just send an email to ourself:

tutorials/using_mairlist_with_ifttt.1452503119.txt.gz · Last modified: 2019/07/09 16:19 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki