简介
通过 ThinQ API 远程控制 LG 智能家电,支持冰箱温控、快冷模式、洗衣机状态监控及空调调节
原始描述
Control LG smart appliances via ThinQ API. Use when user asks about their fridge, washer, dryer, AC, or other LG appliances. Supports checking status, changing temperature, toggling modes (express, eco), and monitoring door status.
通过你的 Agent 添加
安装目录:lg-thinq/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: lg-thinq description: "Control LG smart appliances via ThinQ API. Use when user asks about their fridge, washer, dryer, AC, or other LG appliances. Supports checking status, changing temperature, toggling modes (express, eco), and monitoring door status." metadata: {"version":"1.0.0","clawdbot":{"emoji":"🧊","os":["darwin","linux"]}}
LG ThinQ Skill
Control LG smart home appliances via the ThinQ Connect API.
Setup
- Get a Personal Access Token from https://connect-pat.lgthinq.com
- Store token:
echo "YOUR_TOKEN" > ~/.config/lg-thinq/token - Store country code:
echo "MX" > ~/.config/lg-thinq/country
Quick Commands
All scripts are in the skill's scripts/ directory. Activate venv first:
cd ~/clawd && source .venv/bin/activate
List Devices
python3 skills/lg-thinq/scripts/thinq.py devices
Get Device Status
python3 skills/lg-thinq/scripts/thinq.py status <device_id>
python3 skills/lg-thinq/scripts/thinq.py status fridge # alias
Control Refrigerator
# Set fridge temperature (0-6°C)
python3 skills/lg-thinq/scripts/thinq.py fridge-temp 3
# Set freezer temperature (-24 to -14°C typical)
python3 skills/lg-thinq/scripts/thinq.py freezer-temp -15
# Toggle express fridge
python3 skills/lg-thinq/scripts/thinq.py express-fridge on|off
# Toggle express freeze
python3 skills/lg-thinq/scripts/thinq.py express-freeze on|off
# Toggle eco mode
python3 skills/lg-thinq/scripts/thinq.py eco on|off
Washer/Dryer Status
python3 skills/lg-thinq/scripts/thinq.py status washer
python3 skills/lg-thinq/scripts/thinq.py status dryer
Supported Devices
| Device | Status | Control |
|---|---|---|
| Refrigerator | ✅ temp, door, modes | ✅ temp, express, eco |
| WashTower Washer | ✅ state, time | ⚠️ limited |
| WashTower Dryer | ✅ state, time | ⚠️ limited |
| Air Conditioner | ✅ temp, mode | ✅ temp, mode, fan |
Temperature Ranges
- Fridge: 0°C to 6°C
- Freezer: -24°C to -14°C (varies by model)
Error Handling
NOT_CONNECTED_DEVICE: Device offline, check WiFi or open ThinQ appINVALID_COMMAND_ERROR: Wrong command format or value out of rangeNOT_PROVIDED_FEATURE: Feature not supported by this model
Natural Language Examples
User says → Action:
- "check my fridge" →
status fridge - "set fridge to 5 degrees" →
fridge-temp 5 - "turn on express freeze" →
express-freeze on - "is the fridge door open?" →
status fridge(check doorStatus) - "how's the washer doing?" →
status washer
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。