Skip to main content

WebSocket uplink

Uplink Production

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​

ParameterTypeDefaultRange / optionsRequiredDescription
Upload Format
format
mapvalues-formatvalues-format, tags-formatyesJSON 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 URL
url
string—pattern ^(ws|wss)://yesWebsocket server url. Example: 'ws://localhost:8000', 'wss://example.io'. Certificates and keys are required when using wss scheme and self signed certificates.
CA
ca
file—max 81960 charsnoCA certificate which signs the server certificate
Client Cert
cert
file—max 81960 charsnoClient x509 certificate when using two way authentication
Client Private Key
key
file—max 81960 charsnoClient private key when using two way authentication