{"repo":"jasonacox/tinytuya","free":true,"listed":false,"github":"https://github.com/jasonacox/tinytuya","clone":"git clone https://github.com/jasonacox/tinytuya.git","description":"Python API and command line tool for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).","language":"Python","stars":1710,"topics":["tuya","pytuya","smarthome","device","python","api","pythonmodule"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"TinyTuya Python module to interface with Tuya WiFi smart devices Description This python module controls and reads state of Tuya compatible WiFi Smart Devices (Plugs, Switches, Lights, Window Covers, etc.) using the local area network (LAN) or the cloud (TuyaCloud API). This is a compatible replacement for the pytuya PyPI module and currently supports Tuya Protocols 3.1, 3.2, 3.3, 3.4 and 3.5. Tuya devices are designed to communicate with the TuyaCloud but most also expose a local area network API. This allows us to directly control the devices without using the cloud. This python module provides a way to poll status and issue commands to these devices. TinyTuya can also connect to the Tuya Cloud to poll status and issue commands to Tuya devices. NOTE: Devices need to be activated by Smart Life App. TinyTuya Installation Pip will attempt to install cryptography , requests and colorama if not already installed. Alternate Install on Space- or Dependency-Limited Systems On systems with limited space (such as an OpenWRT router), or if you would like to use a different cryptography library, you can install TinyTuya without automatic dependencies and manually install them yourself. First, install a cryptography library. TinyTuya supports: cryptography - Newest, requires OpenSSL - python -m pip install cryptography PyCryptodome - Another good alternative, does not require OpenSSL, still actively developed - python -m pip install pycryptodome or python -m pip install pycryptodomex py","default_branch":null,"files":null,"tree":[],"storefront":"/r/jasonacox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jasonacox/tinytuya/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}