jasonacox/tinytuya
Python API and command line tool for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API). observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 93
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 23.5
- age_days: 2190
- days_rel: 58
- days_push: 46
- n_releases_24m: 15
Adoption not part of the score
1720 stars · 265 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TinyTuya is a Python module and command line tool for controlling and reading the state of Tuya-compatible WiFi smart devices such as plugs, switches, and lights. It supports both direct local area network (LAN) connections and the Tuya Cloud API, covering Tuya protocols 3.1 through 3.5.
Use cases
- control tuya smart plugs from python
- poll status of smart home devices over local network
- turn lights on and off without the tuya cloud
- manage tuya devices via the tuya cloud api
- discover tuya devices on my lan
- replace pytuya library for smart device control
- script automation for wifi smart switches
When to choose
- you need to control Tuya WiFi smart devices programmatically from Python
- you want local LAN control of devices without relying on the cloud
- you need a drop-in replacement for the deprecated pytuya module
- you want both a Python API and a command line tool in one package
When to avoid
- your smart devices are not Tuya-based or do not use the Tuya protocol
- you need a graphical app rather than a Python library or CLI
- you require official vendor support or guaranteed compatibility with all Tuya device categories
Facets
library · maturity active
sdk http-client cli developer-tools iot developer-tools python cross-platform cli tuya smarthome iot-devices local-network-control cloud-api device-control automation
2 sources
- readme: https://github.com/jasonacox/tinytuya · fetched 2026-08-28 · 69ad4ebc80ce
- registry_pypi: https://pypi.org/pypi/tinytuya/json · fetched 2026-08-29 · 479ad74bc40c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jasonacox/tinytuya | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="jasonacox/tinytuya")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem