Difference between revisions of "Translations:Webhooks/2/ru"

From Larnitech wiki page
Jump to navigation Jump to search
(ru)
 
(No difference)

Latest revision as of 12:37, 5 November 2026

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Webhooks)
== Events ==
An event has the following fields:
{|class="wikitable"
!Field!!Description
|-
|Name||Name of the event. It is used in the script that sends the event.
|-
|URL||Address that the server calls.
|-
|Method||<code>GET</code> (default) or <code>POST</code>.
|-
|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.
Translation== События ==
Поля события:
{|class="wikitable"
!Поле!!Описание
|-
|Name||Название события. По нему событие вызывается из сценария.
|-
|URL||Адрес, на который обращается сервер.
|-
|Method||<code>GET</code> (по умолчанию) или <code>POST</code>.
|-
|Feedback||Необязательно. Адрес элемента и регулярное выражение: найденное в ответе значение записывается в этот элемент.
|}
Событие отправляется из сценария. В LT Setup откройте '''Scripts → Scripts from logic → Add Blockly script''', на вкладке '''Triggers''' добавьте событие устройства, поместите в него блок '''Make webhook''' с вкладки '''Automation''' и выберите название события.

События

Поля события:

Поле Описание
Name Название события. По нему событие вызывается из сценария.
URL Адрес, на который обращается сервер.
Method GET (по умолчанию) или POST.
Feedback Необязательно. Адрес элемента и регулярное выражение: найденное в ответе значение записывается в этот элемент.

Событие отправляется из сценария. В LT Setup откройте Scripts → Scripts from logic → Add Blockly script, на вкладке Triggers добавьте событие устройства, поместите в него блок Make webhook с вкладки Automation и выберите название события.