🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Tuya Cloud

by @minshi-veyt

Read sensor data and control Tuya IoT devices via Tuya Cloud API or local LAN. Use when the user wants to list devices, read temperature, humidity, soil mois...

Versionv1.0.5
Installs2
βš™οΈ Configuration

Add credentials to .env:

TUYA_ACCESS_ID=your_access_id
TUYA_ACCESS_SECRET=your_access_secret
TUYA_API_ENDPOINT=https://openapi.tuyaeu.com  # default: tuyaus.com (US)

Regional endpoints: EU tuyaeu.com Β· US tuyaus.com Β· CN tuyacn.com Β· IN tuyain.com

Enable IoT Core service in your Tuya IoT Platform project, and grant devices controllable permission (read-only by default).

πŸ“‹ Tips & Best Practices

| Error | Fix | |---|---| | "Data center is not enabled" | Enable IoT Core in Tuya IoT Platform β†’ Service API | | "Permission denied" | Subscribe to IoT Core and enable Device Status Notification | | Device offline | online: false; soil moisture returns null | | Wrong endpoint | Match TUYA_API_ENDPOINT to your account region | | Local scan finds nothing | Check firewall; UDP broadcast may be blocked on some networks | | Local control fails for Zigbee devices | Zigbee sub-devices must be controlled via their gateway (use gateway ID + cid) |

View on ClawHub
TERMINAL
clawhub install tuya-cloud

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’