/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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fully-local-tuya-light-control-skill-lsc-connect-app-devices - After installation, invoke the skill by name or use
/fully-local-tuya-light-control-skill-lsc-connect-app-devices - Provide required inputs per the skill's parameter spec and get structured output
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 64 downloads so far.
How do I install Local Tuya Light Control?
Run "/install fully-local-tuya-light-control-skill-lsc-connect-app-devices" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Local Tuya Light Control free?
Yes, Local Tuya Light Control is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Local Tuya Light Control support?
Local Tuya Light Control is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Local Tuya Light Control?
It is built and maintained by ooxtcoo (@ooxtcoo); the current version is v1.0.0.