Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Tuya Smart Home

БесплатноНе проверен

Integrates with Tuya smart home devices using tinytuya, enabling control and monitoring for home automation scenarios like voice commands and energy optimizatio

GitHubEmbed

Описание

Integrates with Tuya smart home devices using tinytuya, enabling control and monitoring for home automation scenarios like voice commands and energy optimization.

README

This project provides a command-line interface (tuyactl) for controlling Tuya devices. It interacts with a separate Tuya Server (I'm still thinking a better way of doing that).

Requirements

  • uv: A fast and modern Python package installer and runner. Install it by following the instructions on the uv documentation site.
  • Tuya Local Keys: You will need the local keys for your Tuya devices. Follow the tinytuya setup wizard to obtain these.

Quick Start

  1. Install uv:

    Follow the official installation instructions on the uv documentation site. The recommended method is to use the standalone installer, which you can download and run with the following command:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  2. Obtain Tuya Local Keys:

    Follow the tinytuya setup wizard to get the local keys for your Tuya devices. Place the resulting snapshot.json file in your home directory (~). You can customize the location of this file using environment variables (see below).

  3. Run the server:

    nohup tuyad > tuyad.log 2>&1 &
    
  4. Run tuyactl:

    To see the available commands and options, run:

    tuyactl --help
    

    To execute a specific command, use the following syntax:

    tuyactl <command> [options]
    

    Replace <command> with one of the available commands: list, on, off, color, brightness, temperature, mode, music. Use the -- help option to see the available options for each command.

    For example, to list all your Tuya devices, run:

    tuyactl list
    

Configuration

  • snapshot.json Location: You can customize the location of the snapshot.json file (containing your Tuya device keys) using environment va riables. (Details on this to be added later).

from github.com/cabra-lat/tuyactl

Установка Tuya Smart Home

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/cabra-lat/tuyactl

FAQ

Tuya Smart Home MCP бесплатный?

Да, Tuya Smart Home MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Tuya Smart Home?

Нет, Tuya Smart Home работает без API-ключей и переменных окружения.

Tuya Smart Home — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Tuya Smart Home в Claude Desktop, Claude Code или Cursor?

Открой Tuya Smart Home на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Tuya Smart Home with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development