WebSocket uplink
Push tag values to a WebSocket server.
An uplink runs on a Site Runtime and subscribes to device groups; every value it receives is sent on. See Uplinks for the flow and the payload format.
Settings
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Upload Formatformat | map | values-format | values-format, tags-format | yes | JSON format of the data reported. In values-format, data are split into values and errors sub objects. In tags-format, tag data are put in a single array. |
Server URLurl | string | — | pattern ^(ws|wss):// | yes | Websocket server url. Example: 'ws://localhost:8000', 'wss://example.io'. Certificates and keys are required when using wss scheme and self signed certificates. |
CAca | file | — | max 81960 chars | no | CA certificate which signs the server certificate |
Client Certcert | file | — | max 81960 chars | no | Client x509 certificate when using two way authentication |
Client Private Keykey | file | — | max 81960 chars | no | Client private key when using two way authentication |