Websocket Client Message

Trigger for a the Websocket Client Message
Preview
Preview

Parameters

Clientrequired
Select

Select a client from the Server/Clients -> Websocket Clients tab

  • Select Any to trigger on any client

Variables

The following variables will be populated when this trigger executes:

Description
messagestring

The websocket client message

Example: {"timeStamp":"2023-03-16T22:58:28.3298+01:00","event":{"source":"HotKey","type":"Press"},"data":{"_85lbxopeOGvkNXq7iRgrjS6tpjj":1,"_hdhxue62iGbvG5rnMWU0dxGe29p":96}}
wsHoststring

The host of this websocket client

Example: 127.0.0.1
wsIdstring

The UUID of this websocket client

wsIdxnumber

The 0-based id of this websocket

Example: 0, 1, 2, etc.
wsNamestring

The custom defined name of this websocket client

Example: My websocket client
wsPathstring

The path of this websocket client

Example: /
wsPortnumber

The port of this websocket client

Example: 8080
wsQuerystring

The query of this websocket client

Example: ?key=value
wsSchemestring

The scheme of this websocket client

Example: ws
wsUrlstring

The full URL of this websocket client

Example: ws://127.0.0.1:8080/