# ct-Open-Source/tuya-convert

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

Repository: https://github.com/ct-Open-Source/tuya-convert
Canonical: https://ross.abutalabs.com/products/tuya-convert
Language: Python
License: MIT
License Family: permissive
Topics: tuya, tuya-smart, smarthome, iot, 35c3, esp8266, mqtt
Last push: 2024-09-06T16:02:36+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2786, "days_push": 726, "days_rel": 726, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5073, forks 523 (observed 2026-08-28T04:09:09.369015+00:00)

## What it is
A collection of Python scripts that flash Tuya-based smart home IoT devices (mostly ESP8266-based) with alternative open-source firmware over WiFi, without soldering. It backs up the original firmware and lets users free their devices from the Tuya cloud.

## Use cases
- flash tuya smart plugs with tasmota or esphome without soldering
- backup original firmware from a tuya wifi device
- free smart home devices from the tuya cloud
- convert tuya-based bulbs and switches to local control with mqtt
- reflash esp8266 smart devices over wifi

## When to choose
- you own Tuya/ESP8266-based smart devices and want open firmware like Tasmota or ESPHome
- you want local MQTT control instead of the vendor cloud
- you have a Linux machine with WiFi and want a solder-free flashing process

## When to avoid
- your device uses a newer Tuya chipset not exploitable by this method
- you need guaranteed support or a risk-free process - flashing can brick devices
- you need help with the alternative firmware itself, which this project does not maintain

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, iot, developer-tools
- domain: iot, security, self-hosted
- platform: cli, python
- tags: tuya, esp8266, firmware-flashing, smart-home, mqtt, esp-home, wifi, automation, linux

## Member repositories
- ct-Open-Source/tuya-convert (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.369015+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:47.539780+00:00, confidence not recorded.
  - readme: https://github.com/ct-Open-Source/tuya-convert (fetched 2026-08-28T04:09:09.369015+00:00, sha 8090a6c31965)
- Data as of 2026-08-30T08:39:29.467469+00:00.
