Translations:Webhooks/2/en

From Larnitech wiki page
Revision as of 13:37, 5 November 2026 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.