Python Tuya

Open-source Python projects categorized as Tuya

Top 8 Python Tuya Projects

  • tuya-convert

    A collection of scripts to flash Tuya IoT devices to alternative firmwares

    Project mention: OTA flashing a Tuya device - advice needed | | 2023-03-22

    First of all I've tried Tuya-Convert but it was never able to find the device. I've also tried TuyOTA with similar results, it just seems like it can't detect the device at all - neither in pairing mode, nor in normal operation mode.

  • localtuya

    local handling for Tuya devices

    Project mention: Looking for a few products and ideas Lighting/Plugs mostly. | | 2023-05-03

    Tuya devices, and the Tuya-based Monster, Greeni, etc stuff can be connected to HA using the Tuya Integration, or converted to local-only using Tuya Cloudcutter and connected to HA using Local Tuya, or even flashed with Tasmota, ESPHome/Libre Tiny, or OpenBeken.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • tuya-home-assistant

    Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.

    Project mention: Setting up Tuya IoT | | 2022-11-21

    Check which data center you need to use, it may not be as obvious as you'd think it is:

  • better_thermostat

    This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.

    Project mention: Aqara as thermostat for radiator | | 2023-02-11

    This is what I do, and it works great. I use

  • tuya-local

    Local support for Tuya devices in Home Assistant

    Project mention: Hi, I tested a cheap Moes Smart Zigbee Thermostat | | 2022-09-27

    IF you use Home Assistant, this integration (local-tuya) lists the BHT-002 as a supported device for local control. I have NOT tested it though, and in my opinion it is not worth it.

  • tuyagateway

    Local Python Gateway for Tuya devices (by TradeFace)


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • Status-Light

    A basic status light that will show when I'm available or not.

    Project mention: Dell T320 vs T620 Idle Power | | 2023-03-28

    Custom status light because I work from home

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-03.

Python Tuya related posts


What are some of the best open-source Tuya projects in Python? This list will help you:

Project Stars
1 tuya-convert 4,100
2 localtuya 1,883
3 tuya-home-assistant 759
4 better_thermostat 432
5 tuya-local 410
6 tuyagateway 104
7 tuyaos-link-sdk-python 11
8 Status-Light 5
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.