# Send tado-thermostat to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tado-thermostat",
    "name": "tado-thermostat",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/davek-dev/tado-thermostat",
    "canonicalUrl": "https://clawhub.ai/davek-dev/tado-thermostat",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/tado-thermostat",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tado-thermostat",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tado-thermostat"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tado-thermostat",
    "downloadUrl": "https://openagent3.xyz/downloads/tado-thermostat",
    "agentUrl": "https://openagent3.xyz/skills/tado-thermostat/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tado-thermostat/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tado-thermostat/agent.md"
  }
}
```
## Documentation

### Tado Skill

Use the Tado API to control your smart thermostat.

### Authentication

Tado uses OAuth2 device code flow. You'll need:

Client ID: 1bb50063-6b0c-4d11-bd99-387f4a91cc46
Token endpoint: https://login.tado.com/oauth2/token

### Step 1: Get Device Code

curl -s -X POST "https://login.tado.com/oauth2/device_authorize" \\
  -d "client_id=1bb50063-6b0c-4d11-bd99-387f4a91cc46" \\
  -d "scope=offline_access"

Response:

{
  "device_code": "XXX_code_XXX",
  "expires_in": 300,
  "interval": 5,
  "user_code": "7BQ5ZQ",
  "verification_uri_complete": "https://login.tado.com/oauth2/device?user_code=7BQ5ZQ"
}

### Step 2: User Authenticates

Visit the verification_uri_complete URL and enter the user code. The user must log into their Tado account.

### Step 3: Poll for Token

curl -s -X POST "https://login.tado.com/oauth2/token" \\
  -d "client_id=1bb50063-6b0c-4d11-bd99-387f4a91cc46" \\
  -d "device_code=YOUR_DEVICE_CODE" \\
  -d "grant_type=urn:ietf:params:oauth:grant-type:device_code"

Response:

{
  "access_token": "...",
  "refresh_token": "...",
  "expires_in": 600,
  "token_type": "Bearer"
}

### Step 4: Refresh Token

Access tokens expire in ~10 minutes. Use the refresh token to get a new one:

curl -s -X POST "https://login.tado.com/oauth2/token" \\
  -d "client_id=1bb50063-6b0c-4d11-bd99-387f4a91cc46" \\
  -d "grant_type=refresh_token" \\
  -d "refresh_token=YOUR_REFRESH_TOKEN"

### Environment Variables

Store these securely (not in the skill):

export TADO_TOKEN="your-access-token"
export TADO_REFRESH_TOKEN="your-refresh-token"
export TADO_HOME_ID="your-home-id"

### Get Home ID

curl -s "https://my.tado.com/api/v2/me" -H "Authorization: Bearer $TADO_TOKEN"

Returns: {"homes":[{"id":123456,...}]}

### List Zones

curl -s "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones" -H "Authorization: Bearer $TADO_TOKEN"

### Get Zone State

curl -s "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones/$ZONE_ID/state" -H "Authorization: Bearer $TADO_TOKEN"

### Get All Zones Summary

This script gets the current temperature, target temperature, and heating % for all zones:

#!/usr/bin/env python3
import os
import requests

TOKEN = os.environ.get("TADO_TOKEN")
HOME_ID = os.environ.get("TADO_HOME_ID")

headers = {"Authorization": f"Bearer {TOKEN}"}

# Get zones
zones = requests.get(f"https://my.tado.com/api/v2/homes/{HOME_ID}/zones", headers=headers).json()

print("Zone           | Current | Target | Heating")
print("---------------|---------|--------|-------")

for zone in zones:
    zid = zone["id"]
    name = zone["name"]
    state = requests.get(f"https://my.tado.com/api/v2/homes/{HOME_ID}/zones/{zid}/state", headers=headers).json()
    
    # Current temperature from sensorDataPoints
    current = state.get("sensorDataPoints", {}).get("insideTemperature", {}).get("celsius")
    # Target temperature from setting
    target = state.get("setting", {}).get("temperature", {}).get("celsius")
    # Actual heating % from activityDataPoints (not from setting!)
    heating = state.get("activityDataPoints", {}).get("heatingPower", {}).get("percentage", 0)
    
    c = f"{current:.1f}°C" if current else "N/A"
    t = f"{target:.0f}°C" if target else "-"
    h = f"{heating:.0f}%" if heating else "OFF"
    
    print(f"{name:14} | {c:7} | {t:6} | {h:>6}")

Example output:

Zone           | Current | Target | Heating
---------------|---------|--------|-------
Kitchen        | 18.2°C  | 18°C   | 45%
Living Room    | 16.8°C  | 17°C   | 0%
Downstairs Off | 15.2°C  | 14°C   | 78%
Master Bedroom | 17.1°C  | 14°C   | 0%
Cora's Room    | 17.7°C  | 16°C   | 23%
Upstairs Office| 19.1°C  | 19°C   | OFF
Spare Bedroom  | 19.6°C  | -      | OFF

Note: Use activityDataPoints.heatingPower.percentage to get actual heating status, not setting.power which only shows the target.

### Set Temperature

Until next schedule change:

curl -s -X PUT "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones/$ZONE_ID/overlay" \\
  -H "Authorization: Bearer $TADO_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{"setting":{"type":"HEATING","power":"ON","temperature":{"celsius":21}},"termination":{"type":"UNTIL_NEXT_TIME_BLOCK"}}'

With timer (e.g., 2 hours):

curl -s -X PUT "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones/$ZONE_ID/overlay" \\
  -H "Authorization: Bearer $TADO_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{"setting":{"type":"HEATING","power":"ON","temperature":{"celsius":22}},"termination":{"type":"TIMER","durationInSeconds":7200}}'

Permanent:

curl -s -X PUT "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones/$ZONE_ID/overlay" \\
  -H "Authorization: Bearer $TADO_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{"setting":{"type":"HEATING","power":"ON","temperature":{"celsius":20}},"termination":{"type":"MANUAL"}}'

### Clear Override

curl -s -X DELETE "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones/$ZONE_ID/overlay" \\
  -H "Authorization: Bearer $TADO_TOKEN"

### Get Energy Usage

curl -s "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/energyUsage" -H "Authorization: Bearer $TADO_TOKEN"

### Termination Types

TypeDescriptionUNTIL_NEXT_TIME_BLOCKReverts at next scheduled changeTIMERTemporary (max 12 hours / 43200 seconds)MANUALPermanent until cancelled
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: davek-dev
- Version: 1.2.3
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/tado-thermostat)
- [Send to Agent page](https://openagent3.xyz/skills/tado-thermostat/agent)
- [JSON manifest](https://openagent3.xyz/skills/tado-thermostat/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/tado-thermostat/agent.md)
- [Download page](https://openagent3.xyz/downloads/tado-thermostat)