Getting Started
This page will help you get started with Meshblu Websocket. You'll be up and running in a jiffy!
Establish a websocket connection to Meshblu at wss://meshblu.octoblu.com/ws/v2.
var ws = new WebSocket("wss://meshblu.octoblu.com/ws/v2");
All messages are simple JSON frames: [type, data, ...]
["subscribe",{"uuid":"26de691f-8068-4cdc-907a-4cb5961a1aba"}]
Identity is required
Identity is required as the first step when using the websocket api. You also must wait for the
ready
message to be emitted. Any messages passed in that require authentication will fail. See the identity documentation for more details.
Updated less than a minute ago