Plugs and switches · Tuya
Tuya and Smart Life devices
Behind hundreds of cheap brands. They talk to a cloud by default, but the local protocol is known and many chips take open firmware.
ModelsSmart plugsBulbsLED stripsSwitchesSensors
Saved in this browser, no account.
What it can become
What owners already do with it, easiest first.
An evening~45 minNo risk
Control it without the cloud
Fetch each device's local key once from Tuya's developer site, then control it on your network from Home Assistant or a script.
Hands-on~1.5 hCan brick it
Flash open firmware
Many Tuya devices run on Beken or ESP chips that take OpenBeken or Tasmota. Some flash over a serial adapter, which means opening the case.
Everything built for it
60 projects from the index, most active first.
- arendst/TasmotaAlternative firmware for ESP8266/ESP32 smart devices with local MQTT/HTTP controlActive★ 24.9K
- rospogrigio/localtuyaHome Assistant integration for local control of Tuya devices without the cloudActive★ 4K
- make-all/tuya-localHome Assistant integration for local Tuya device control with per-device configsActive★ 3.6K
- openshwprojects/OpenBK7231T_AppTasmota-like open firmware for BK7231, BL602, W800 and other IoT chipsActive★ 2.3K
- codetheweb/tuyapiNode.js API for Tuya smart devices using the reverse-engineered local protocolActive★ 2.3K
- jasonacox/tinytuyaPython API and command line tool for Tuya WiFi smart devices using a direct local area network (LAN) connection or...Active★ 1.8K
- xZetsubou/hass-localtuyaMaintained LocalTuya fork with protocol 3.5 and auto-configuration supportActive★ 1.3K
- pvvx/ZigbeeTLcCustom Zigbee 3.0 firmware for Xiaomi, Tuya and other TLSR825x-based sensorsActive★ 810
- romasku/tuya-zigbee-switchCustom firmware for Tuya Telink/Silabs Zigbee switches, modules and socketsActive★ 694
- libretiny-eu/libretinyArduino/PlatformIO support for Beken/Realtek chips used in Tuya and other IoT devicesActive★ 550
- openshwprojects/BK7231GUIFlashToolFlash and back up BK7231 and other Tuya-module chipsActive★ 450
- TuyaAPI/cliCLI for controlling Tuya devices over the local reverse-engineered LAN protocolActive★ 305
Show all 60
- libretiny-eu/ltchiptoolGUI and CLI flashing and dumping tool for BK7231, RTL8710B and RTL8720C chips in Tuya devicesActive★ 228
- slacky1965/tuya_thermostat_zrdCustom TLSR8258 Zigbee firmware for Tuya floor heating thermostatsActive★ 217
- xiasi0/ha-huawei-smarthomeHome Assistant integration for Huawei Smart Life (HiLink) devicesActive★ 163
- ClusterM/localtuya_rcTuya IR/RF universal remotes controlled locally over the Tuya LAN protocolActive★ 117
- seydx/tuya-ipc-terminalCLI tool to stream Tuya smart cameras via RTSPActive★ 112
- syssi/esphome-zb-gw03ESPHome custom firmware for the Tuya ZB-GW03 Zigbee gateway, exposing its EFR32 coordinator over the networkActive★ 112
- damacus/robovacEufy RoboVac vacuums controlled locally over the Tuya-based protocolActive★ 108
- slacky1965/ts0201_tz3000_zedCustom firmware for the Tuya TS0201 Zigbee temperature and humidity sensorActive★ 80
- slacky1965/tuya_mini_relay_zrdCustom Zigbee firmware for Tuya mini relay modules on TLSR8258Active★ 73
- s60sc/ESP32-Tuya_DeviceReplaces the Tuya Wi-Fi module with an ESP32-C3 that speaks the Tuya MCU serial protocolActive★ 64
- oven-lab/tuya_cloud_map_extractorRenders Tuya robot-vacuum maps by decoding Tuya's reverse-engineered cloud map formatActive★ 40
- christiaanderidder/esphome-create-wind-calmGuide and config for converting the Create Wind Calm ceiling fan to ESPHomeActive★ 40
- kkossev/HubitatHubitat drivers for Tuya Zigbee devices with undocumented clustersActive★ 38
- jurgenmahn/ha_tuya_doorbellLocal Home Assistant integration for LSC and other Tuya video doorbells; learns datapoints, no cloudActive★ 36
- berobloom/LSCIndoorCameraLocal1080pLocal, cloud-free control for the Tuya-based LSC Smart Connect 1080p indoor cameraActive★ 35
- carlborg/tuya-pet-feeder-reverse-engineeringDe-clouding a Tuya WBR3 pet feeder for local Home Assistant controlActive★ 31
- Brokly/ESPHome-Thermostate-Moes-BHT-002ESPHome external component for Moes BHT-002 Tuya thermostats via the Tuya MCU protocolActive★ 28
- jaidenlabelle/tuya-vacuum-mapsTuya robot vacuum maps decoded from the reverse-engineered Tuya map formatActive★ 28
- haraldapp/SGS01BTHomeCustom firmware for the Tuya SGS01 soil sensor to send data in standard BTHome formatActive★ 28
- libretiny-eu/upk2esphomeGenerates ESPHome configs for Tuya devices from their stored user-param key dataActive★ 28
- Xenomes/Domoticz-TinyTUYA-PluginDomoticz bridge for Tuya devices using TinyTuya local protocol controlActive★ 26
- retsimx/tlsr8266_meshTools and Rust firmware to reprogram Tuya TYBT1 BLE lights based on the TLSR8266 MCUActive★ 22
- birdslikewires/hubitatHubitat drivers for AlertMe, Hive, IKEA, Lidl, Tuya and Xiaomi Zigbee devicesActive★ 19
- home-assistant-plugins/tuya2matterBridges Tuya devices into Matter using local LAN controlActive★ 17
- reetamdan/smartlife-app-tuyaUnofficial reverse-engineered API for the Tuya Smart Life appActive★ 13
- berobloom/LSC-1080p-Anyka-DecloudCloud-free RTSP and ONVIF firmware mod for the LSC 1080p Anyka-based Tuya cameraActive★ 13
- hms-homelab/hms-esp-tuya-bleESP32-C3 BLE-to-MQTT bridge for Tuya BLE circuit breakersActive★ 12
- home-assistant-plugins/tuya-smart-lifeHome Assistant Smart Life/Tuya local LAN control via mobile-app API login, no IoT Cloud accountActive★ 11
- iRayanKhan/homebridge-tuyaHomebridge plugin to control Tuya devices locally over their LAN protocolSlow★ 438
- klausahrenberg/WThermostatBecaESP8266 replacement firmware for Tuya-based Beca thermostats, speaking the Tuya MCU serial protocolSlow★ 410
- jacekk015/zha_quirksZHA quirks for undocumented Tuya and other Zigbee device clusters in one placeSlow★ 186
- redphx/tuya-local-key-extractorGets a Tuya device's local keySlow★ 64
- M4GNV5/esphome-SK20-Nebula-LightCustom firmware flashing and ESPHome config for the Tuya SK20 nebula lightSlow★ 53
- FrBerger83/EspTuyaESP32/ESP8266 Arduino code to control Tuya Wi-Fi devices locally without cloudSlow★ 22
- Rjevski/esphome-eufy-robovac-g10-hybridESPHome replacement for the Tuya module in the Eufy Robovac G10 Hybrid with reverse-engineering notesSlow★ 11
- TheAgentK/tuya-mqttBridges Tuya devices to MQTT via the local tuyapi protocolDormant★ 184
- jasonacox/tuyapowerPython module reading state and energy data from Tuya Wi-Fi plugs over the local protocolDormant★ 158
- nalajcie/tuya-sign-hackingReverse engineering of the Tuya API signing algorithmDormant★ 142
- mitchellrj/eufy_robovacControl Eufy RoboVac via the local Tuya protocolDormant★ 109
- yaourdt/tasmota-to-mgosMinimal OTA firmware for flashing Mongoose OS back from Tasmota or Tuya stock firmwareDormant★ 72
- brandond/esphome-tuya_pirESPHome support for cheap Tuya Wi-Fi PIR sensors via the Tuya MCU protocolDormant★ 69
- Geri-Borbas/.NET.Library.TuyaKit.NET library controlling Tuya devices over the local TCP protocolDormant★ 50
- redphx/python-tuya-blePython library for the proprietary Tuya BLE protocolDormant★ 32
- subzero79/node-red-contrib-tuya-localNode-RED nodes for local control of Tuya devices without the cloudDormant★ 29
- dlarrick/alen-mqttReads an Alen (Tuya) air purifier locally and publishes values over MQTTDormant★ 14
- PaulAnnekov/tuyahaPython client for Tuya's undocumented Home Assistant cloud APIArchived★ 144
- acortelyou/ArduinoTuyaArduino/ESP8266 library for direct local control of Tuya smart plugsArchived★ 21
- codetheweb/homebridge-tuya-outletHomebridge plugin for Tuya outlets over the local protocolArchived★ 14