Manually Adding Devices

Adding devices manually to your Gateblu

In order to add a device to your gateblu you will need to modify Gateblu as well as the device.

1. Update Device Whitelists

Gateblu needs to be able to take action on behalf of your device. Given a gateblu uuid of a79a192e-c875-4299-8d2d-31abbf55206e, you must add gateblu to your sendAsWhitelist, receiveAsWhitelist, configureWhitelist, and discoverWhitelist.

{
  "sendAsWhitelist": ["a79a192e-c875-4299-8d2d-31abbf55206e"],
  "receiveAsWhitelist": ["a79a192e-c875-4299-8d2d-31abbf55206e"],
  "configureWhitelist": ["a79a192e-c875-4299-8d2d-31abbf55206e"],
  "discoverWhitelist": ["a79a192e-c875-4299-8d2d-31abbf55206e"]
}

2. Update Gateblu devices array

Gateblu needs to know how to find and configure your device. Given a device uuid of 938ff0d2-8143-4758-a283-726672b23ea4, your gateblu devices array must include the uuid, connector, and type attributes.

{
  "devices": [
    {
      "uuid": "938ff0d2-8143-4758-a283-726672b23ea4",
      "connector": "meshblu-hue",
      "type": "device:hue"
    }
  ]
}