トゥヤクトル
このプロジェクトは、Tuyaデバイスを制御するためのコマンドラインインターフェース( tuyactl )を提供します。これは別のTuyaサーバーと連携します(より良い方法をまだ考えています)。
要件
**uv:**高速でモダンなPythonパッケージインストーラー兼ランナーです。uvドキュメントサイトの指示に従ってインストールしてください。
Tuya ローカルキー: Tuyaデバイスにはローカルキーが必要です。tinytuyaセットアップウィザードに従って取得してください。
クイックスタート
uvUVドキュメントサイトにある公式インストール手順に従ってください。推奨される方法は、スタンドアロンインストーラーを使用することです。スタンドアロンインストーラーは、以下のコマンドでダウンロードして実行できます。
curl -LsSf https://astral.sh/uv/install.sh | shTuya ローカル キーを入手します。
tinytuya セットアップウィザードに従って、Tuya デバイスのローカルキーを取得します。作成された
snapshot.jsonファイルをホームディレクトリ (~) に配置します。このファイルの場所は、環境変数を使用してカスタマイズできます (下記参照)。サーバーを実行します。
nohup tuyad > tuyad.log 2>&1 &tuyactl利用可能なコマンドとオプションを確認するには、次のコマンドを実行します。
tuyactl --help特定のコマンドを実行するには、次の構文を使用します。
tuyactl <command> [options]<command>、使用可能なコマンドのいずれかに置き換えてください:list、on、off、color、brightness、temperature、mode、music。各コマンドで使用可能なオプションを確認するには、-- helpオプションを使用してください。たとえば、すべての Tuya デバイスを一覧表示するには、次のコマンドを実行します。
tuyactl list
構成
**
snapshot.json場所:**環境変数を使用して、snapshot.jsonファイル (Tuya デバイス キーを含む) の場所をカスタマイズできます。(詳細は後日追加されます)。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
カスタム URI スキームを備えたメモ ストレージ システムを提供し、Tuya デバイスにメモを追加したり概要を生成したりするためのツールが含まれています。
Related Resources
Related MCP Servers
- -security-license-qualityFacilitates note storage and summarization through custom URIs, allowing users to manage, summarize, and update notes with varying detail levels in a collaborative environment.Last updated -
- Asecurity-licenseAqualityThis server provides a note storage system with a custom URI scheme, allowing users to add and summarize notes, with adjustable summary detail levels.Last updated -1
- Asecurity-licenseAqualityThis server enables users to store, manage, and summarize notes using a custom URI scheme, with functionality to add new notes and generate summaries with varying levels of detail.Last updated -3
- Asecurity-licenseAqualityA server for managing and summarizing notes using a custom URI scheme, with tools to add notes and create styled summaries.Last updated -46