Associating a Sensor with a Task
Associating a Sensor with a Task

Associating a Sensor with a Task

The ID on an enrolled Sensor must be available before attempting the following procedure.
The user can associate multiple sensors with a task at a time
  1. Expand the POST/environmental/task/{taskId}/sensors method screen.
  2. Click
    Try It Out
    .
  3. Enter the returned task ID in the in the taskId path field.
  4. Enter the returned sensor ID from Listing the Sensor in the Sensor ID array in the Request Object field.
  5. Click
    Execute
    . If successful, a response with an HTTP Status code of 200 is returned. A JSON object with the sensor_id and sensor_task_id association is returned.
  6. Press the button on the Sensor and hold for 10 seconds until the LED blinks orange. After the Sensor blinks green, the task has started.
    If the Sensor LED does not blink green, move the Sensor closer to the Bridge.