Stopping a Task
Stopping a Task

Stopping a Task

At least one ZS300 Sensor must be enrolled, a task created, and one or more Sensors associated with a task before attempting the following procedure.
  1. Repeat the Listing the Sensors procedure.
  2. Note that the status field of the Sensor is SENSOR_STATUS_STOPPED.
    If you repeat the List the Sensors procedure again, the status changes to SENSOR_STATUS_ACTIVE.
  3. Allow the task to run for at least five minutes.
  4. Move the Sensor around to different temperature conditions.
  5. After five minutes, stop the task by expanding the POST/environmental/tasks/{taskId}/stop window.
  6. Click
    Try It Out
    .
  7. Enter the taskId in the path field.
  8. Click
    Execute
    . If successful, a response body with an HTTP Status Code of 200 is returned and the task is scheduled to stop. When all sensors associated with the task are within range of the bridge, then the task is stopped.
  9. Repeat the Listing the Sensors procedure to verify that the status field has returned to the SENSOR_STATUS_STOPPED status and the sensor task status is SENSOR_TASK_STATUS_COMPLETED.