tuya-smart-control
Installation
SKILL.md
Tuya Smart Home Device Control Skill
Basic Information
- Official Website: https://www.tuya.com/
- Source Code: https://github.com/tuya/tuya-openclaw-skills
- Authentication: Via Header
Authorization: Bearer {Api-key} - Credentials: Read from environment variable
TUYA_API_KEY. Base URL is auto-detected from API key prefix. Seereferences/api-conventions.mdfor the prefix-to-region mapping table. You can override by settingTUYA_BASE_URL. - API Reference: See individual files under
references/ - Python SDK: See
scripts/tuya_api.py - Device Message Client: See
scripts/tuya_device_mq_client.py(real-time WebSocket subscription)
Environment Variable Configuration
Set the following environment variable before use: