WebSocket Trigger
  • 14 Oct 2024
  • 1 読む分

WebSocket Trigger


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.


この記事は役に立ちましたか?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.