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.
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.
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
command*||||||||||||||||||||||||||||||||||||||||||||||OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//thermostats/string/commands' \ -H 'Content-Type: application/json' \ -d '{ "command": { "type": "reboot" }}'nullList Thermostat Commands GET
Lists a thermostat's commands and how far each is confirmed, newest first.
Discard Thermostat Command POST
Discards an unconfirmed desired value, which is then no longer sent, or an action that was not sent yet. What the device already received stays. Needs the permissions that sending the command needs.