Overview IFTTT Webhooks



This function block triggers an event on the IFTTT service. IFTTT connects the controller to a large number of services and devices of other manufacturers: the triggered event starts an applet which then carries out the desired action (for example sending a notification, creating an entry in a calendar or a list, or switching a device of another manufacturer).

In addition to the event, up to three values can be transferred. They are available in the applet as the ingredients Value1, Value2 and Value3 and can be used there, for example inside a message text.

The block only sends to IFTTT. Receiving from IFTTT (an applet controlling the controller) is not possible with it.

Setup:



Inputs

TR
Trigger
Trigger on which the event is sent. See parameter Trigger.
WT / W1..W8
Value
Optional values. Values can be linked here that are inserted into the values 1 to 3. The placeholder %1 is replaced by the value of the first value input, %2 by the second one and so on. The number of value inputs is set via the parameter Input count. The formatting depends on the data type of the linked address (integer, floating point number or string); if no address is linked, floating point is used.

Outputs

FE
Error
Number of errors.
AZ
Count
Number of events sent.
FT
Filter
Remaining filter time in seconds. After an event has been sent, this output counts down from the time set in the parameter Filter to 0. As long as the value is greater than 0, no further events are sent.

Parameters

Trigger
  • Rising edge: Event is sent on 0-1.
  • Falling edge: Event is sent on 1-0.
  • Telegram 0: Event is sent on a telegram with value 0.
  • Telegram 1: Event is sent on a telegram with a value other than 0.
Webhooks key
Key of the IFTTT account. It is shown on ifttt.com in the Webhooks service on the documentation page. The key is a mandatory field and applies to all applets of the account.
Event
Name of the event. It has to match the name entered in the applet for the trigger Receive a web request. Use a separate block with the respective event name for each applet.
Value 1
Optional text which is transferred to the applet as the ingredient Value1. A line break can be inserted with \n. If the parameter is empty, the ingredient is not transferred.
Value 2
Optional text which is transferred to the applet as the ingredient Value2.
Value 3
Optional text which is transferred to the applet as the ingredient Value3.
Filter
Waiting time in seconds until the next event is sent (default 300 seconds). After an event has been sent, further events are discarded for this time. The output FT Filter shows the remaining time.
Input count
Number of value inputs (1 to 8, default 1) for the placeholders %1 to %8.

The placeholders %1, %2 and so on can be used in all three values. They are replaced by the values of the value inputs, %1 by the first value input, %2 by the second one and so on. This turns the text "Temperature %1 degrees" into "Temperature 50 degrees", for example. The formatting depends on the data type of the linked address; if no address is linked, floating point is used.

Limitation: The number of events is limited per hour and per day. The limit is fixed in the controller, applies to all IFTTT blocks together and protects against unwanted continuous sending (e.g. caused by a fluttering input). If the limit is exceeded, the event is discarded, the output FE Error is increased and an error message is written to the debug log.

See also general parameters of all function blocks.