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
Control SwitchBot smart home devices (curtains, plugs, lights, locks, etc.) via SwitchBot Cloud API. Use when user asks to open/close curtains, turn on/off lights/plugs, check temperature/humidity, or control any SwitchBot device.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install daaab/switchbot打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Control SwitchBot devices through the Cloud API v1.1.
Guide your human through these steps:
Ask your human to:
mkdir -p ~/.config/switchbot
chmod 700 ~/.config/switchbot
cat > ~/.config/switchbot/credentials.json << 'EOF'
{
"token": "YOUR_TOKEN_HERE",
"secret": "YOUR_SECRET_HERE"
}
EOF
chmod 600 ~/.config/switchbot/credentials.json
Run the discovery script to find all devices:
python3 <skill_path>/scripts/switchbot.py list
After discovery, note your device IDs in TOOLS.md for quick reference:
## SwitchBot Devices
| Device | ID | Type |
|--------|-----|------|
| Living Room Curtain | ABC123 | Curtain3 |
| Bedroom Light | DEF456 | Plug Mini |
python3 <skill_path>/scripts/switchbot.py list
# Open curtain (position 0 = fully open)
python3 <skill_path>/scripts/switchbot.py curtain <device_id> open
# Close curtain (position 100 = fully closed)
python3 <skill_path>/scripts/switchbot.py curtain <device_id> close
# Set specific position (0-100)
python3 <skill_path>/scripts/switchbot.py curtain <device_id> 50
python3 <skill_path>/scripts/switchbot.py plug <device_id> on
python3 <skill_path>/scripts/switchbot.py plug <device_id> off
python3 <skill_path>/scripts/switchbot.py status <device_id>
python3 <skill_path>/scripts/switchbot.py command <device_id> <command> [parameter]
| Device Type | Commands |
|---|---|
| Curtain / Curtain3 | open... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# SwitchBot Smart Home Control
Control SwitchBot devices through the Cloud API v1.1.
## First-Time Setup
**Guide your human through these steps:**
### 1. Get API Credentials
Ask your human to:
1. Open **SwitchBot App** on their phone
2. Go to **Profile** (bottom right)
3. Tap **Preferences** (or Settings)
4. Find **About** → **Developer Options**
5. Copy **Token** and **Secret Key**
### 2. Store Credentials Securely
```bash
mkdir -p ~/.config/switchbot
chmod 700 ~/.config/switchbot
cat > ~/.config/switchbot/credentials.json << 'EOF'
{
"token": "YOUR_TOKEN_HERE",
"secret": "YOUR_SECRET_HERE"
}
EOF
chmod 600 ~/.config/switchbot/credentials.json
```
### 3. Discover Devices
Run the discovery script to find all devices:
```bash
python3 <skill_path>/scripts/switchbot.py list
```
### 4. Update Your TOOLS.md
After discovery, note your device IDs in TOOLS.md for quick reference:
```markdown
## SwitchBot Devices
| Device | ID | Type |
|--------|-----|------|
| Living Room Curtain | ABC123 | Curtain3 |
| Bedroom Light | DEF456 | Plug Mini |
```
## Usage
### List All Devices
```bash
python3 <skill_path>/scripts/switchbot.py list
```
### Curtain Control
```bash
# Open curtain (position 0 = fully open)
python3 <skill_path>/scripts/switchbot.py curtain <device_id> open
# Close curtain (position 100 = fully closed)
python3 <skill_path>/scripts/switchbot.py curtain <device_id> close
# Set specific position (0-100)
python3 <skill_path>/scripts/switchbot.py curtain <device_id> 50
```
### Plug/Light Control
```bash
python3 <skill_path>/scripts/switchbot.py plug <device_id> on
python3 <skill_path>/scripts/switchbot.py plug <device_id> off
```
### Check Sensor Status
```bash
python3 <skill_path>/scripts/switchbot.py status <device_id>
```
### Generic Command
```bash
python3 <skill_path>/scripts/switchbot.py command <device_id> <command> [parameter]
```
## Supported Devices
| Device Type | Commands |
|-------------|----------|
| Curtain / Curtain3 | `open`...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.