Skip to Content
Thermostats

Send Thermostat Command

Toegang

Lid van de organisatie met dit recht:

  • thermostats:control

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

POST
/orgs/{organizationId}/thermostats/{id}/commands

Saves a command and returns at once; it is sent right away, or once the previous downlink to the device is settled. A setting becomes the desired value, replaces the unconfirmed one before it and is sent again until the device confirms it; an action is sent once. Returns the saved commands: one per schedule slot, plan, button or other entry, and none when a setting is only set back to what the device reports before anything was sent. Commands that touch the installation also need thermostats:write.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
command*||||||||||||||||||||||||||||||||||||||||||||||

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//thermostats/string/commands' \  -H 'Content-Type: application/json' \  -d '{  "command": {    "type": "reboot"  }}'
Example Response
null