WebSocket Trigger
- 14 Oct 2024
- 1 読む分
- 印刷する
WebSocket Trigger
- 更新日 14 Oct 2024
- 1 読む分
- 印刷する
The content is currently unavailable in Ja - 日本語. You are viewing the default English version.
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
The WebSocket Trigger template supports triggering multiple Attributes from a single WebSocket connection. RegEx is used for matching WebSocket messages to the active-state.
The CMS-data contains:
The WebSocket Url
And any number (1-100) of Attribute trigger-specififactions:
Attribute name (fully qualified with type)
Optional Active trigger. RegEx for setting active: true.
Optional Inactive trigger. RegEx for setting active: false.
Optional Timeout. The number of seconds to wait before automatically resetting an active Attribute.
Rudimentary display of trigger-states. Useful for testing, but in production, the template would normally be hosted without UI.
A self-reconnecting WebSocket-client implementation is used to avoid “DDoS“ing the server.
この記事は役に立ちましたか?