Documentation

← Back to site

List timers for a subdevice

Last updated on April 27, 2015 11:10

This method lists all timers configured for a specific subdevice.

URL

/api/v1/timers/list

Parameters

  • subdevice_id - the ID of the subdevice whose timers we should manage.

Response

This method returns an array of timers for the selected subdevice. See the 'create' API call for information about the available fields.

[
  {
    "subdevice_id": 69,
    "id": 1,
    "parent_id": null,
    "run_at": "2000-01-01T14:09:52.000Z",
    "last_run_at": "2015-04-24T13:13:24.000Z",
    "days_active": 1,
    "action": "set_target_temperature",
    "value": "20"
  }
]