/install fully-local-tuya-light-control-skill-lsc-connect-app-devices
This skill may be installed outside the Tuya project directory, so do not assume the project root is relative to this SKILL.md.
Use these default project locations first:
- This Maschine - Windows:
C:\Users\1111\.openclaw\workspace uya-lights - Windows:
%USERPROFILE%\.openclaw\workspace uya-lights - Linux / Android / Termux:
~/src/tuya-lights
If the local installation uses a different location, adjust this SKILL.md to match the actual project path.
Prefer the Go CLI variant:
- Windows:
lampctl.exe - Linux / Android / Termux:
lampctl
Use Python only as fallback when the CLI binary is not available.
Source of truth
- Registry:
tuya_lamps.json - Preferred CLI:
lampctl.exe(Windows) orlampctl(Linux/Android) - Python fallback:
lamp_control.py - Single-device probe:
tuya_test_lamp.py - Recovery notes:
KEY_EXTRACTION.md - New-device flow:
ONBOARDING.md
Command patterns
Windows PowerShell / CMD (ohne cd, direkt mit .):
.\lampctl.exe stehlampe on
.\lampctl.exe stehlampe brightness --value 50
.\lampctl.exe stehlampe color --value rot
.\lampctl.exe kitchen off
.\lampctl.exe all off
.\lampctl.exe vorzimmer on
# Linux / Android / Termux (mit cd)
cd ~/src/tuya-lights && lampctl stehlampe on
cd ~/src/tuya-lights && lampctl stehlampe brightness --value 50
cd ~/src/tuya-lights && lampctl stehlampe color --value red
cd ~/src/tuya-lights && lampctl küche off
cd ~/src/tuya-lights && lampctl all off
cd ~/src/tuya-lights && lampctl vorzimmer on
# Python fallback only if CLI is unavailable
python lamp_control.py stehlampe on
Natural language mapping
an->onaus->off50%->brightness --value 50rot/blau/grün/...->color --value \x3Cname>warmweiß->warmwhitekaltweiß->coldwhitealle Lampen-> groupallVorzimmer-> groupvorzimmer
Onboarding / repair
If a lamp was repaired, re-paired, or moved to another network, assume the local_key may have changed. Read KEY_EXTRACTION.md and ONBOARDING.md, refresh the key, test with the preferred CLI first (lampctl \x3Clamp> status), then use tuya_test_lamp.py --probe if Python fallback is needed, and finally update tuya_lamps.json.
Portability note
This skill intentionally prefers explicit standard project paths so it can still work after being copied into a separate OpenClaw skills directory. If a local installation uses a different layout, update this SKILL.md so the binary and project paths match that environment.
Current live lamps
kitchenlivingroom_floorvorzimmer1vorzimmer2vorzimmer3vorzimmer4
Live groups
allvorzimmer
Discover devices
lampctl discover
- Beispiel für diese Maschiene:
C:\Users\1111\.openclaw\workspace uya-lights\lampctl.exe" stehlampe off
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fully-local-tuya-light-control-skill-lsc-connect-app-devices - 安装完成后,直接呼叫该 Skill 的名称或使用
/fully-local-tuya-light-control-skill-lsc-connect-app-devices触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Local Tuya Light Control 是什么?
Control local LSC/Tuya lamps and groups to turn on/off, set brightness, colors, white modes, query status, or onboard after repair or network changes. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。
如何安装 Local Tuya Light Control?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fully-local-tuya-light-control-skill-lsc-connect-app-devices」即可一键安装,无需额外配置。
Local Tuya Light Control 是免费的吗?
是的,Local Tuya Light Control 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Local Tuya Light Control 支持哪些平台?
Local Tuya Light Control 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Local Tuya Light Control?
由 ooxtcoo(@ooxtcoo)开发并维护,当前版本 v1.0.0。