tuya

Discover, poll, and control Tuya devices via tuya-hub CLI.

3|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/mbelinky/clawdis-skills --skill tuya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tuya
Source: https://github.com/mbelinky/clawdis-skills/tree/main/tuya
Command: npx skills add https://github.com/mbelinky/clawdis-skills --skill tuya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Control Tuya devices via local Home Assistant (tuya-local) or Tuya Cloud using the tuya-hub Go CLI.

Core Features & Use Cases

  • Discover and manage Tuya devices in both Home Assistant and Tuya Cloud environments.
  • Poll device statuses and read values from either local or cloud backends.
  • Send commands to devices (e.g., turn on/off) from a single, unified CLI interface.
  • Use case: streamline onboarding and verification of Tuya devices across multiple backends.

Quick Start

Install and run the tuya-hub CLI to discover devices, poll their status, and issue commands.

Frequently Asked Questions about tuya

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Tuya device control via Home Assistant or the cloud?

You can automate Tuya device control by running the tuya-hub CLI, which supports both local Home Assistant (tuya-local) and Tuya Cloud backends to discover devices, poll statuses, and execute commands.

Can I discover and poll Tuya devices locally without relying on the cloud?

Yes, you can discover and poll Tuya devices locally using the Home Assistant (tuya-local) backend, which allows you to read device statuses and send commands without requiring Tuya Cloud credentials.

What do I need to set up before managing Tuya devices with this CLI?

You need a configured config.yaml file and the tuya-hub binary installed to run the CLI. Optional cloud or Home Assistant credentials are required depending on your chosen backend.

Does this approach support sending commands to Tuya devices across multiple backends?

Yes, the CLI supports sending commands like turning devices on or off across multiple backends, providing a unified interface to execute actions on Tuya devices managed via either Home Assistant or the cloud.

What is the best way to streamline onboarding and verification of Tuya devices?

The best way to streamline onboarding and verification is using the tuya-hub CLI to discover devices, poll their status, and issue commands across both Home Assistant and Tuya Cloud environments from a single interface.

Why does managing Tuya devices require a configured config.yaml file?

A configured config.yaml file is required because the tuya-hub binary relies on it to load backend settings and optional credentials, ensuring it can properly connect to either your Home Assistant or Tuya Cloud environment.