Home / Vendors / Tuya

59 open-source Tuya projects built by reverse engineering

Open-source projects that exist because someone reverse engineered Tuya Smart Life devices. 36 of 59 had a commit in the last 12 months. Most-starred: LocalTuya, tuya-local, tuyapi, tinytuya, hass-localtuya.

Search and filter in the full index →
  1. LocalTuya★ 4,031 · active · Python

    Home Assistant integration for local control of Tuya devices without the cloud

  2. tuya-local★ 3,761 · active · Python

    Home Assistant integration for local Tuya device control with per-device configs

  3. tuyapi★ 2,343 · active · JavaScript

    Node.js API for Tuya smart devices using the reverse-engineered local protocol

  4. tinytuya★ 1,813 · active · Python

    Python API and command line tool for Tuya WiFi smart devices using a direct local area network (LAN) connection or...

  5. hass-localtuya★ 1,278 · active · Python

    Maintained LocalTuya fork with protocol 3.5 and auto-configuration support

  6. ZigbeeTLc★ 821 · active · C

    Custom Zigbee 3.0 firmware for Xiaomi, Tuya and other TLSR825x-based sensors

  7. tuya-zigbee-switch★ 739 · active · JavaScript

    Custom firmware for Tuya Telink/Silabs Zigbee switches, modules and sockets

  8. THB2★ 601 · slowing · C

    Custom firmware for Tuya BLE sensors on the PHY622x2 chipset

  9. LibreTiny★ 553 · active · C

    Arduino/PlatformIO support for Beken/Realtek chips used in Tuya and other IoT devices

  10. BK7231GUIFlashTool★ 458 · active · C#

    Flash and back up BK7231 and other Tuya-module chips

  11. homebridge-tuya★ 438 · slowing · JavaScript

    Homebridge plugin to control Tuya devices locally over their LAN protocol

  12. WThermostatBeca★ 413 · slowing · C++

    ESP8266 replacement firmware for Tuya-based Beca thermostats, speaking the Tuya MCU serial protocol

  13. cli★ 304 · active · JavaScript

    CLI for controlling Tuya devices over the local reverse-engineered LAN protocol

  14. humidity-temperature-sensor-TH05F★ 240 · slowing · C

    Custom firmware for Tuya TH05F sensors based on the PHY622x2 chipset

  15. ltchiptool★ 235 · active · Python

    GUI and CLI flashing and dumping tool for BK7231, RTL8710B and RTL8720C chips in Tuya devices

  16. tuya_thermostat_zrd★ 227 · active · C

    Custom TLSR8258 Zigbee firmware for Tuya floor heating thermostats

  17. zha_quirks★ 186 · slowing · Python

    ZHA quirks for undocumented Tuya and other Zigbee device clusters in one place

  18. tuya-mqtt★ 184 · dormant · JavaScript

    Bridges Tuya devices to MQTT via the local tuyapi protocol

  19. tuyapower★ 159 · dormant · Python

    Python module reading state and energy data from Tuya Wi-Fi plugs over the local protocol

  20. tuyaha★ 144 · archived · Python

    Python client for Tuya's undocumented Home Assistant cloud API

  21. tuya-sign-hacking★ 142 · dormant · C

    Reverse engineering of the Tuya API signing algorithm

  22. localtuya_rc★ 121 · active · Python

    Tuya IR/RF universal remotes controlled locally over the Tuya LAN protocol

  23. tuya-ipc-terminal★ 115 · active · Go

    CLI tool to stream Tuya smart cameras via RTSP

  24. esphome-zb-gw03★ 112 · active

    ESPHome custom firmware for the Tuya ZB-GW03 Zigbee gateway, exposing its EFR32 coordinator over the network

  25. robovac★ 110 · active · Python

    Eufy RoboVac vacuums controlled locally over the Tuya-based protocol

  26. eufy_robovac★ 109 · dormant · Python

    Control Eufy RoboVac via the local Tuya protocol

  27. ts0201_tz3000_zed★ 83 · active · C

    Custom firmware for the Tuya TS0201 Zigbee temperature and humidity sensor

  28. tuya_mini_relay_zrd★ 80 · slowing · C

    Custom Zigbee firmware for Tuya mini relay modules on TLSR8258

  29. tasmota-to-mgos★ 72 · dormant · C

    Minimal OTA firmware for flashing Mongoose OS back from Tasmota or Tuya stock firmware

  30. esphome-tuya_pir★ 70 · dormant · C++

    ESPHome support for cheap Tuya Wi-Fi PIR sensors via the Tuya MCU protocol

  31. ESP32-Tuya_Device★ 64 · active · C++

    Replaces the Tuya Wi-Fi module with an ESP32-C3 that speaks the Tuya MCU serial protocol

  32. tuya-local-key-extractor★ 64 · slowing · Python

    Gets a Tuya device's local key

  33. esphome-SK20-Nebula-Light★ 53 · slowing

    Custom firmware flashing and ESPHome config for the Tuya SK20 nebula light

  34. .NET.Library.TuyaKit★ 51 · dormant · C#

    .NET library controlling Tuya devices over the local TCP protocol

  35. tuya_cloud_map_extractor★ 40 · active · Python

    Renders Tuya robot-vacuum maps by decoding Tuya's reverse-engineered cloud map format

  36. tuya_rf★ 40 · active · C

    ESPHome component for the Tuya RF and IR bridge radio

  37. ha_tuya_doorbell★ 39 · active · Python

    Local Home Assistant integration for LSC and other Tuya video doorbells; learns datapoints, no cloud

  38. Hubitat★ 38 · active · Groovy

    Hubitat drivers for Tuya Zigbee devices with undocumented clusters

  39. LSCIndoorCameraLocal1080p★ 35 · active · Python

    Local, cloud-free control for the Tuya-based LSC Smart Connect 1080p indoor camera

  40. python-tuya-ble★ 32 · dormant

    Python library for the proprietary Tuya BLE protocol

  41. tuya-pet-feeder-reverse-engineering★ 32 · active

    De-clouding a Tuya WBR3 pet feeder for local Home Assistant control

  42. SGS01BTHome★ 30 · active · C

    Custom firmware for the Tuya SGS01 soil sensor to send data in standard BTHome format

  43. ESPHome-Thermostate-Moes-BHT-002★ 29 · active · C++

    ESPHome external component for Moes BHT-002 Tuya thermostats via the Tuya MCU protocol

  44. node-red-contrib-tuya-local★ 29 · dormant · JavaScript

    Node-RED nodes for local control of Tuya devices without the cloud

  45. upk2esphome★ 28 · active · Python

    Generates ESPHome configs for Tuya devices from their stored user-param key data

  46. tuya-vacuum-maps★ 27 · active · Python

    Tuya robot vacuum maps decoded from the reverse-engineered Tuya map format

  47. Domoticz-TinyTUYA-Plugin★ 26 · active · Python

    Domoticz bridge for Tuya devices using TinyTuya local protocol control

  48. tlsr8266_mesh★ 23 · active · Rust

    Tools and Rust firmware to reprogram Tuya TYBT1 BLE lights based on the TLSR8266 MCU

  49. EspTuya★ 22 · slowing · C++

    ESP32/ESP8266 Arduino code to control Tuya Wi-Fi devices locally without cloud

  50. ArduinoTuya★ 21 · archived · C++

    Arduino/ESP8266 library for direct local control of Tuya smart plugs

  51. hubitat★ 20 · active · Groovy

    Hubitat drivers for AlertMe, Hive, IKEA, Lidl, Tuya and Xiaomi Zigbee devices

  52. tuya2matter★ 16 · active · TypeScript

    Bridges Tuya devices into Matter using local LAN control

  53. LSC-1080p-Anyka-Decloud★ 15 · active · Shell

    Cloud-free RTSP and ONVIF firmware mod for the LSC 1080p Anyka-based Tuya camera

  54. alen-mqtt★ 14 · dormant · Python

    Reads an Alen (Tuya) air purifier locally and publishes values over MQTT

  55. homebridge-tuya-outlet★ 14 · archived · JavaScript

    Homebridge plugin for Tuya outlets over the local protocol

  56. smartlife-app-tuya★ 14 · active · Python

    Unofficial reverse-engineered API for the Tuya Smart Life app

  57. esphome-eufy-robovac-g10-hybrid★ 13 · slowing

    ESPHome replacement for the Tuya module in the Eufy Robovac G10 Hybrid with reverse-engineering notes

  58. hms-esp-tuya-ble★ 13 · active · C

    ESP32-C3 BLE-to-MQTT bridge for Tuya BLE circuit breakers

  59. tuya-smart-life★ 12 · active · Python

    Home Assistant Smart Life/Tuya local LAN control via mobile-app API login, no IoT Cloud account