IFTTT - Tertiush/Alarmin-Android-App GitHub Wiki
Background
The IFTTT (If-This-Then-That) service enables integration of your Paradox alarm with other services. Navigate to https://ifttt.com to explore the options. Alarmin only supports integration of push events to IFTTT, so you cannot have the IFTTT service control your alarm.
Example usage
You could link your IFTTT events to an Google Drive Excel sheet and save all alarms, arming and disarming events. Then you have a full log available at any time of everything that happened with your alarm! Or link certain events to your smart bulbs via IFTTT, e.g switch on the porch light if the alarm is disarmed, or switch off all lights if the alarm is armed...
Setup
Register at ifttt.com as a new user. Alarmin uses the "Maker WebHooks" channel. Once registered at ifttt.com, search for the "Maker WebHooks" channel and add/connect it to your account. Then open it and click on "settings". There you will find your own personal URL - this is unique to you so do not share it with others. The URL will look something like: maker.ifttt.com/use/ddEh26SaapFwDFF-se0cd_
The numbers to the end is called your "Maker Key". Alarmin requires this key to integrate with your IFTTT profile. Once you have activated the IFTTT serivce in Alarmin, open the new IFTTT menu option and paste this value in the Maker Key field.
Almost ready.... By using you past history of push messages, navigate and select a message that you want to use as a trigger in IFTTT. Give it a custom event name which you will also use in IFTTT to distinguish the event from others. You can add as many as you like, but preferably give them different event names. Select the text of the event you'd like to match with, e.g. in the example below the IFTTT event will be triggered if the partition "Main Alarm" of alarm "Koekemoer" is "Arming". The last field (by) is not monitored, therefore this event will be triggered if the partition is armed by anyone.
Once done save the setting to update the Alarmin server. Now, whenever the Alarmin server receives a push message matching an event you configured, it will use your Maker Key to trigger a corresponding IFTTT recipe. The only thing still outstanding is for you to create IFTTT recipes using the Maker WebHooks channel with your custom event names.
Tips
- You can see past IFTTT events by opening the IFTTT menu option and scrolling to the bottom.
- Each IFTTT event is also sent with 3 values; value1, value2 and value3 representing the three lines as seen in the IFTTT history. You can use these values to further expand the possibilities of your recipes. Note that even if you only trigger an event based on one or two fields, all three values will be included in the IFTTT trigger.
- The last few responses Alarmin's server received from the IFTTT server will also be preserved and displayed for each historic event shown.
- You will receive a push message each time the IFTTT server detects an error with your Maker channel. Use these messages to correct your IFTTT configuration.
- This feature relies unpon Alarmin's push notifications feature. If you change the configuration of your push notifications, always ensure that the IFTTT events will still trigger.