# tuya-cloudcutter/tuya-cloudcutter

A tool that disconnects Tuya IoT devices from the cloud, allowing them to run completely locally.

Repository: https://github.com/tuya-cloudcutter/tuya-cloudcutter
Canonical: https://ross.abutalabs.com/products/tuya-cloudcutter
Language: Python
License: MIT
License Family: permissive
Topics: bk7231n, bk7231t, hacktoberfest, tuya-convert, iot
Last push: 2026-06-04T02:17:58+00:00

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

## Adoption (not part of the score)
Stars 1887, forks 103 (observed 2026-08-28T04:05:48.992159+00:00)

## What it is
Tuya Cloudcutter is a Python-based toolchain that exploits a wireless vulnerability in Tuya smart devices using Beken BK7231 and Realtek chipsets to detach them from Tuya's cloud. It also supports flashing custom firmware over-the-air, enabling fully local operation of smart home devices.

## Use cases
- disconnect tuya smart devices from the cloud so they run locally
- flash custom firmware to tuya devices over the air
- jailbreak bk7231t or bk7231n smart plugs and bulbs
- cut tuya devices off from tuya servers and apps
- run smart home devices without any cloud dependency
- exploit wireless vulnerability in tuya iot devices

## When to choose
- you own unpatched Tuya devices with BK7231T, BK7231N, or RTL8710BN chipsets and want permanent local control
- you are willing to abandon Tuya's apps and cloud servers entirely
- you want to flash open-source firmware like Tasmota or ESPHome over-the-air without opening the device
- you have a Linux machine with a spare Wi-Fi adapter, NetworkManager, and Docker

## When to avoid
- you still want to use Tuya's official apps or cloud services, since detaching is irreversible
- your device has a patched firmware version that fixes the exploited vulnerability
- you need a supported chipset outside BK7231T/BK7231N/RTL8710BN or an SDK 2.0.0 RTL8710BN device
- you cannot run Docker or lack a dedicated Wi-Fi adapter and elevated privileges

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, iot, networking, cli
- domain: iot, security, embedded-systems, self-hosted
- platform: cli
- tags: tuya, firmware-flashing, iot-exploit, local-control, beken, wireless-exploit, smart-home, linux, docker

## Member repositories
- tuya-cloudcutter/tuya-cloudcutter (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.992159+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-30T03:13:33.738635+00:00, confidence not recorded.
  - readme: https://github.com/tuya-cloudcutter/tuya-cloudcutter (fetched 2026-08-28T04:05:48.992159+00:00, sha f1166bf8a313)
- Data as of 2026-08-30T08:39:29.467469+00:00.
