Translations:Webhooks/2/en

From Larnitech wiki page
Jump to navigation Jump to search

Events

An event has the following fields:

Field Description
Name Name of the event. It is used in the script that sends the event.
URL Address that the server calls.
Method GET (default) or POST.
Feedback Optional. Item address and a regular expression: the value found in the answer is written to that item.

The event is sent from a script. In LT Setup open Scripts → Scripts from logic → Add Blockly script, add the device event on the Triggers tab, put the Make webhook block from the Automation tab into it and choose the event name.