A cli tool to control Tuya devices based on tinytuya
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).
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
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).
Run the server:
nohup tuyad > tuyad.log 2>&1 &
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
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).A Python server implementation for WeCom (WeChat Work) bot that follows the Model Context Protocol (MCP). This server provides a standardized interface for handling automated messaging and context-aware interactions within enterprise WeChat environments.
A Model Context Protocol server that provides real-time hot trending topics from major Chinese social platforms and news sites.
An MCP server for chatting with your Lighthouse portfolio
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.