INSTAR Deutschland GmbHINSTAR Deutschland GmbH

Use IFTTT as your Alarmserver



Basic Setup

If This Then That, also known as IFTTT is a free web-based service to create chains of simple conditional statements, called applets. Build your own applets to connect web services with your INSTAR IP Camera.

IFTTT Setting up a Webhook

  1. First you need to create an account on IFTTT and login to your account. Then go to the Create and click on IF + This:

IFTTT for INSTAR Alarmserver


  1. We now want to set up a webhook service - which is basically just a web address that our INSTAR Full HD camera can contact in case of an alarm to trigger an IFTTT applet. Search for web and select the Webhooks Service:

IFTTT for INSTAR Alarmserver


  1. Then name the event - this will be part of the URL that we will later have to contact with with our camera to trigger the event:

IFTTT for INSTAR Alarmserver


  1. With the trigger set up we now need to assign an IFTTT service we want to trigger. To do this click on that:

IFTTT for INSTAR Alarmserver


  1. As you can see from the list we have a large variety of services that we can now trigger with the webhook we created:

IFTTT for INSTAR Alarmserver


Choosing an Action (Telegram Messenger)

  1. Let's use the Telegram service - when the URL (webhook) for this applet is contacted we want to receive a text message on Telegram Messenger:

IFTTT for INSTAR Alarmserver


  1. Now you need to connect the IFTTT service to your Telegram account to allow the IFTTT bot to send you messages:

IFTTT for INSTAR Alarmserver


Note: I experienced issues doing this with the IFTTT web interface on a Windows desktop with the Telegram desktop app. Switching to an Android phone solved those issues for me:


IFTTT for INSTAR Alarmserver


  1. Once the IFTTT bot is we can choose that we want to receive a text message, when the applet is triggered:

IFTTT for INSTAR Alarmserver


  1. Now we can configure the subject and body text the email should have. Notice the words that are highlighted in white - these are variables that will be filled with data before the mail is sent. EventName will be the name that you choose in step 4 above, OccuredAt will be filled with a time stamp. The Value 1-3 below are variables that we can define in the Alarmserver setup in our camera's webUI and are send them whenever a alarm is triggered:

IFTTT for INSTAR Alarmserver


Alarmserver Setup

  1. Now we have to configure the Alarmserver in our camera's webUI so that the URL for our IFTTT Webhook receives a POST message from our camera every time an alarm is triggered:
https://maker.ifttt.com/trigger/instar_alarmserver/with/key/API_KEY

Note that this is using the Event Name that we set as name for our Webhook instar_alarmserver. To identify our IFTTT account we first need to find out our personal API_KEY and add it at the end of the URL.

To get access to our personal API key we first have to sign in to our IFTTT account and open the following page https://ifttt.com/services/maker_webhooks/settings. Copy the alpha-numeric key in the Account Info - e.g. if you find the URL: https://maker.ifttt.com/use/c3oL9WnAbz8Z08KumJWS, then c3oL9WnAbz8Z08KumJWS is your API key:


IFTTT for INSTAR Alarmserver


We can now test our webhook and URL query parameter by copying the following URL (just replace your personal API_Key) and pasting it into the address bar of a web browser:

https://maker.ifttt.com/trigger/instar_alarmserver/with/key/c3oL9WnAbz8Z08KumJWS?value1=Office&value2=Entrance_Left&value3=Alarm

You should get a reply that you triggered the instar_alarmserver applet and shortly afterwards receive a message on Telegram:


IFTTT for INSTAR Alarmserver


  1. Now we have to copy&paste all the parts from this URL into the Alarmserver configuration in our camera's webUI:

IFTTT for INSTAR Alarmserver