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, ...]
Identity is required
Identity is required as the first step when using the websocket api. You also must wait for the
readymessage 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