{"categories":[{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"}],"enrichment":{"capability":"Controls and monitors Tuya WiFi smart devices (plugs, switches, lights, covers) over local network or cloud API using Tuya Protocols 3.1\u20133.5.","skillfed_tags":["iot-device-control","smart-home","local-network"],"use_cases":["Automate smart plugs and switches in a home or office without relying on cloud-only interfaces.","Build local-network monitoring dashboards that poll device status without internet dependency.","Integrate Tuya devices into custom home automation scripts or larger IoT orchestration systems.","Discover and inventory Tuya devices on a network using the built-in scanner.","Control window covers, lights, and other stateful devices programmatically from Python applications."],"what_it_does":"TinyTuya is a Python library for controlling Tuya-compatible smart home devices\u2014plugs, switches, lights, window covers, and similar IoT hardware\u2014either directly over your local network or through Tuya's cloud API. It communicates with devices using Tuya Protocols 3.1 through 3.5 and serves as a replacement for the older pytuya module. The library handles device discovery via built-in network scanning, retrieves device status, and sends commands to change state or settings.\n\nThe package depends on requests for cloud operations, colorama for terminal output formatting, and cryptography for secure device communication. It can run on space-limited systems like OpenWRT routers by installing without automatic dependencies and choosing an alternative cryptography library (PyCryptodome, pyaes, or PyCrypto). Setup requires obtaining a local key for each device through Tuya's IoT platform or the built-in setup wizard, which links your Smart Life app account to retrieve device credentials.","worth_installing":"Yes, if you own Tuya smart devices and want local control without cloud dependency. The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers both local and cloud modes. Requires upfront setup (device pairing, credential retrieval) but is straightforward for developers familiar with IoT device provisioning."},"id":"tinytuya","links":{"html":"https://skillfed.io/packages/tinytuya","md":"https://skillfed.io/packages/tinytuya.md","pypi":"https://pypi.org/project/tinytuya/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-06","license_spdx":null,"license_treatment":"permissive","name":"tinytuya","python_support":"unspecified","summary":"Python module to interface with Tuya WiFi smart devices"},"popularity":{"monthly_downloads":687853,"position":5343,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.20.0"}
