بنقرة واحدة
tuya
Control Tuya devices via local Home Assistant (tuya-local) or Tuya Cloud using the tuya-hub Go CLI.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Control Tuya devices via local Home Assistant (tuya-local) or Tuya Cloud using the tuya-hub Go CLI.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Automate chill.institute torrent/magnet ingestion into put.io. Use when asked to search, scan, or fetch torrent/magnet links from chill.institute and add them to put.io, or when troubleshooting the chill/put.io ingestion pipeline (cookies, profiles, put.io token).
Dashlane CLI for vault access and automation.
Manage Eufy Security (HomeBase S380 + SoloCam S340/E340) from the `eufy` CLI—capture snapshots, forward alarms to the Tuya hub, and change guard/alarm modes through eufy-security-ws.
GitHub CLI for repos, PRs, issues, and Actions.
Manage Tailscale VPN, Serve, and Funnel from the CLI.
Automated Twitter bookmark processor with YAML-configurable categories and smart routing
| name | tuya |
| description | Control Tuya devices via local Home Assistant (tuya-local) or Tuya Cloud using the tuya-hub Go CLI. |
| metadata | {"clawdis":{"emoji":"🏠","requires":{"bins":["tuya"]}}} |
Use this skill when the user wants to discover, poll, or control Tuya devices.
go build -o bin/tuya ./cmd/tuya
./bin/tuya or install to PATH and set TUYA_BIN.Default config: ~/.config/tuya-hub/config.yaml
Quick setup (guided wizard):
./bin/tuya config --backend cloud
Important: cloud.userId must be the UID from Devices → Link Tuya App Account (not the token UID).
Find linked app users (helps set the right userId):
./bin/tuya users --try-common
./bin/tuya users --schema smartlife
Minimum for Home Assistant backend:
backend: ha
homeAssistant:
url: "http://homeassistant.local:8123"
token: "YOUR_LONG_LIVED_ACCESS_TOKEN"
Minimum for Tuya Cloud backend:
backend: cloud
cloud:
accessId: "YOUR_TUYA_ACCESS_ID"
accessKey: "YOUR_TUYA_ACCESS_KEY"
endpoint: "https://openapi.tuyaeu.com"
schema: "" # optional; used for user lookup
userId: "" # UID from Link Tuya App Account
Env overrides:
TUYA_BACKEND=ha|cloudTUYA_HA_URLTUYA_HA_TOKENTUYA_CLOUD_ACCESS_IDTUYA_CLOUD_ACCESS_KEYTUYA_CLOUD_ENDPOINTTUYA_CLOUD_SCHEMATUYA_CLOUD_USER_IDDiscover devices
./bin/tuya discover
Poll temperature sensors
./bin/tuya poll --kind temperature
Get a device state
./bin/tuya get --entity sensor.kitchen_temperature
Turn a device on/off
./bin/tuya set --entity switch.garden_lights --state on
Call any HA service
./bin/tuya call --service light.turn_on --data {"entity_id":"light.patio"}
Discover devices
./bin/tuya discover --backend cloud
Poll temperature sensors (scaled)
./bin/tuya poll --backend cloud --kind temperature
Values are auto-scaled (tenths) when detected; raw value is in value_raw for JSON output.
Get device status
./bin/tuya get --backend cloud --id <device_id>
./bin/tuya get --backend cloud --id <device_id> --code <status_code>
Switch / light on-off
switch / switch_1 / switch_2):./bin/tuya get --backend cloud --id <device_id>
./bin/tuya set --backend cloud --id <device_id> --code switch_1 --value true
./bin/tuya set --backend cloud --id <device_id> --code switch_1 --value false
permission deny, the app account UID is wrong or not linked to the project.