10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
Interact with Tado smart thermostat. Use for reading temperature, setting heating with auto-revert, viewing energy usage, and controlling zones.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install davek-dev/tado-thermostat打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Use the Tado API to control your smart thermostat.
Tado uses OAuth2 device code flow. You'll need:
1bb50063-6b0c-4d11-bd99-387f4a91cc46
https://login.tado.com/oauth2/token
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"
}
Visit the verification_uri_complete URL and enter the user code. The user must log into their Tado account.
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"
}
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"
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"
curl -s "https://my.tado.com/api/v2/me" -H "Authorization: Bearer $TADO_TOKEN"
Returns: {"homes":[{"id":123456,...}]}
curl -s "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones" -H "Authorization: Bearer $TADO_TOKEN"
curl -s "https...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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
```bash
curl -s -X POST "https://login.tado.com/oauth2/device_authorize" \
-d "client_id=1bb50063-6b0c-4d11-bd99-387f4a91cc46" \
-d "scope=offline_access"
```
Response:
```json
{
"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
```bash
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:
```json
{
"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:
```bash
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):
```bash
export TADO_TOKEN="your-access-token"
export TADO_REFRESH_TOKEN="your-refresh-token"
export TADO_HOME_ID="your-home-id"
```
## Get Home ID
```bash
curl -s "https://my.tado.com/api/v2/me" -H "Authorization: Bearer $TADO_TOKEN"
```
Returns: `{"homes":[{"id":123456,...}]}`
## List Zones
```bash
curl -s "https://my.tado.com/api/v2/homes/$TADO_HOME_ID/zones" -H "Authorization: Bearer $TADO_TOKEN"
```
## Get Zone State
```bash
curl -s "https...generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.