Device

Find a Meshblu device

Find a single device in Meshblu

var ws = new WebSocket("wss://meshblu.octoblu.com/ws/v2");

ws.send(JSON.stringify([
  "device",
  {
    "uuid":"26de691f-8068-4cdc-907a-4cb5961a1aba",
  }
]));

🚧

Note

the only key that will be used to find a device is 'uuid'. All other keys will be ignored.

🚧

Check the permissions

Your device must exist in the other device's discoverWhitelist or no device will be returned.

Response

[
  "device",
  {
    "uuid": "26de691f-8068-4cdc-907a-4cb5961a1aba",
    "online": true,
    "color": "green"
  }
]