搜索

PythonReactSEOPDF
OpenClaw

Smarthome

SKILL.md universal smarthome 通用智能家居支配Skill Dominate your smart home with seamless control across Home Assistant and Tuya Smart. 通过Home Assistant(首选)和涂鸦智能(备选)操控全球品牌家电,支持模糊名称匹配。

airoom-ai0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install airoom-ai/smarthome

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

SKILL.md universal-smarthome 通用智能家居支配Skill Dominate your smart home with seamless control across Home Assistant and Tuya Smart. 通过Home Assistant(首选)和涂鸦智能(备选)操控全球品牌家电,支持模糊名称匹配。

Setup 设置 Option 1: Config File (Recommended) 选项1:配置文件(推荐) Create /.config/universal-smarthome/config.json: 创建/.config/universal-smarthome/config.json:

{ "homeassistant": { "url": "http://homeassistant.local:8123", "token": "your-long-lived-access-token" }, "tuya": { "access_id": "your-access-id", "access_secret": "your-access-secret", "endpoint": "https://openapi.tuyacn.com" } } Option 2: Environment Variables 选项2:环境变量 export HA_URL="http://homeassistant.local:8123" export HA_TOKEN="your-long-lived-access-token" export TUYA_ACCESS_ID="your-access-id" export TUYA_ACCESS_SECRET="your-access-secret" Getting Home Assistant Token 获取Home Assistant令牌 Open Home Assistant → Profile (bottom left) 打开Home Assistant → 个人资料(左下角) Scroll to "Long-Lived Access Tokens" 滚动到“长期访问令牌” Click "Create Token", name it (e.g., "Clawdbot") 点击“创建令牌”,将其命名(例如,“Clawdbot”) Copy the token immediately (shown only once) 立即复制令牌(仅显示一次) Getting Tuya Credentials 获取涂鸦凭据 Log in to Tuya Smart Platform (https://iot.tuya.com/) 登录涂鸦智能开放平台(https://iot.tuyacn.com/) Create a cloud project or navigate to "Cloud Development" 创建云项目或进入“云开发” Get access_id and access_secret from the project credentials 从项目凭据中获取access_id和access_secret Quick Reference 快速参考 Discovery 设备发现 python3 scripts/smart.py discovery Sync all devices from Home Assistant and Tuya to local cache. 从Home Assistant和涂鸦同步所有设备到本地缓存。

Control Devices 控制设备

Turn on device by name

python3 scripts/smart.py control "device_name" on

Turn off device by name

python3 scripts/smart.py control "device_name" off

The script automatically identifies the platform (HA or Tuya) based o...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/airoom-ai/smarthome
Version
—
Commit
91b4b7025d71edf0e437ef6f58ccdc79a3b4bbd0
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
SKILL.md
universal-smarthome
通用智能家居支配Skill
Dominate your smart home with seamless control across Home Assistant and Tuya Smart.
通过Home Assistant(首选)和涂鸦智能(备选)操控全球品牌家电,支持模糊名称匹配。

Setup
设置
Option 1: Config File (Recommended)
选项1:配置文件(推荐)
Create ~/.config/universal-smarthome/config.json:
创建~/.config/universal-smarthome/config.json:

{
  "homeassistant": {
    "url": "http://homeassistant.local:8123",
    "token": "your-long-lived-access-token"
  },
  "tuya": {
    "access_id": "your-access-id",
    "access_secret": "your-access-secret",
    "endpoint": "https://openapi.tuyacn.com"
  }
}
Option 2: Environment Variables
选项2:环境变量
export HA_URL="http://homeassistant.local:8123"
export HA_TOKEN="your-long-lived-access-token"
export TUYA_ACCESS_ID="your-access-id"
export TUYA_ACCESS_SECRET="your-access-secret"
Getting Home Assistant Token
获取Home Assistant令牌
Open Home Assistant → Profile (bottom left)
打开Home Assistant → 个人资料(左下角)
Scroll to "Long-Lived Access Tokens"
滚动到“长期访问令牌”
Click "Create Token", name it (e.g., "Clawdbot")
点击“创建令牌”,将其命名(例如,“Clawdbot”)
Copy the token immediately (shown only once)
立即复制令牌(仅显示一次)
Getting Tuya Credentials
获取涂鸦凭据
Log in to Tuya Smart Platform (https://iot.tuya.com/)
登录涂鸦智能开放平台(https://iot.tuyacn.com/)
Create a cloud project or navigate to "Cloud Development"
创建云项目或进入“云开发”
Get access_id and access_secret from the project credentials
从项目凭据中获取access_id和access_secret
Quick Reference
快速参考
Discovery
设备发现
python3 scripts/smart.py discovery
Sync all devices from Home Assistant and Tuya to local cache.
从Home Assistant和涂鸦同步所有设备到本地缓存。

Control Devices
控制设备
# Turn on device by name
python3 scripts/smart.py control "device_name" on

# Turn off device by name
python3 scripts/smart.py control "device_name" off

# The script automatically identifies the platform (HA or Tuya) based o...

相关技能

OpenClaw

1password

daggerkun007

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.