Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602, LN882H, Realtek chips and more
Introduction
OpenBK7231T/OpenBeken is a Tasmota/ESPHome alternative for modern Tuya-based modules, offering MQTT and Home Assistant compatibility.
Although this repository is named OpenBK7231T_App, it has evolved into a multi-platform application, supporting builds for multiple chipsets from various vendors, including ESWIN, Transa Semi, Lightning Semi, Espressif, Beken, WinnerMicro, Xradiotech/Allwinner, Realtek, and Bouffalo Lab.
- BK7231T (eg WB3S, WB2S, WB2L)
- BK7231N (eg CB2S, CB2L, WB2L_M1)
- BK7231M, this is a non-Tuya version of BK7231N with
00000000 keys, sometimes labelled as Belon BL2028. example1 example2
- T34 (flash as if standard BK7231N), see flashing trick
- BL2028N (BL2028N is a Belon version of BK7231N)
- BK7236
- BK7238 (eg XH-CB3S) (see tutorial for 1$ board)
- BK7239N (eg HLK-B300)
- T1 (eg T1-3S, T1-U), see BK7238
- T2 (eg T2-U), see BK7231N
- T3 (eg T3-3S, T3-U), see BK7236
- T7 (eg T7-U), see BK7239N
- BK7231S/BK7231U - BK7231S is the original non-Tuya version of BK7231T. BK7231U is a version intended for cameras/displays. Usually comes with 00000000 keys. If flashing via SPI, can be updated to use BK7231T firmware built with zero keys. (eg C-8133U LED driver boards, HLK-B30 Dev Board)
- XR809 (eg XR3) (Example)
- XR806 (eg T103C-HL, WXU, Allwinner Dev Board, see development thread)
- BL602 (eg SM-028_V1.3, BW2L), see also BL602 flash OBK via OTA tutorial (Magic Home devices only). For 2MB BL602 use latest toml in BLDevCube.
- LF686 (LeapFive BL602. Flash as if standard BL602). BL602 factory firmware backup/restore guide1 guide2. For 2MB BL602 use latest toml in BLDevCube.
- TG7100C (T-Mall BL602. Flash as if standard BL602). BL602 factory firmware backup/restore guide1 guide2 (eg TL7100C) (Example). For 2MB BL602 use latest toml in BLDevCube.
- W800 (W800-C400, WinnerMicro WiFi & Bluetooth), W801, W803
- W600 (WinnerMicro chip), W601 (WIS600, ESP-01W, TW-02, TW-03, etc)
- T6605 Flash as WinnerMicro W600
- LN882H by Lightning Semi - datasheet, see flashing how-to, see sample device teardown and flashing, see new flash tool, see dev board
- Windows, via simulator
- ESP32 (original), ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C5, ESP32-C6, ESP32-C61 development topic)
- ESP8266/ESP8285 (1MB variant without OTA, 2MB or more with OTA)
- RTL8711AM (Ameba1 family, with SDRAM only. Can't be flashed via UART, only JTAG or SPI) (eg WRG1, see development thread)
- RTL8710B (AmebaZ family) (eg T102_V1.0, W302/T102_V1.0, T112_V1.1, WR2, WR3E, BW14)
- RTL8710C/RTL8720C (AmebaZ2 family) (eg BW15, W701, W701H, W701M, W701P, WBR2, WBR3, CR3L, CRG1) (see guide)
- RTL8720D (AmebaD family) (eg BW16, BW16E, W701D, W701DH, WBR3D, WBR3T)
- RTL872xCSM/RTL8720CS (AmebaCS family, firmware is compatible with RTL8720D) (eg WBRG1 (see Zigbee gateway guide), WBR3N, WBR3S)
- RTL87x1DA (AmebaDplus family, not compatible with AmebaD/RTL8720D) (eg BW20, WR11-U, WR11-2S)
- RTL87x0E (AmebaLite family) (eg PKM8710ECF)
- TR6260 (eg HLK-M20, XY-WE2S-A V1.1) (see guide)
- ECR6600 (eg AXYU, AXY2S, WG236, DSM-036, CDI-WX56600A-00, BL-M6600XT1, HF-LPT6200 (see guide)
- TXW81X (eg TXW817-810, see development thread)
- RDA5981 (eg RDA5981AM, RDA5981BM, WRD2L, TYWRD3S, HLK-M50, see development thread, see guide)
- LN8825B (eg SCW-T503)
- BL616/BL618 (eg Ai-M62-12F, Ai-M61-32S)
- GD32VW553 (eg GD32VW553-MINI, GD32VW553-UNIFI)
Please use automatically compiled binaries from the Releases tab. To build OpenBeken yourself for any supported platform, fork our version of the submodule SDK first, and then check out this app repository alongside it. Details further down. Alternatively consider using the easier override method.
See our guides in Russian: BK7231N/T34, and BL602 RGB, and Youtube guide for BK7231/T34
For general information about the BK7231 family, available datasheets, pinout, peripherals, consult our docs topic.
TXW81X Camera Sensor Support
OpenTXW81x camera sensor support is defined at build time (see project_config.h).
Supported sensors (enabled in the current config):
- GalaxyCore: GC0308, GC0309, GC0311, GC0312, GC0328, GC0329
- OmniVision: OV2640, OV7660, OV7670, OV7725
- BYD: BF3A03, BF30A2, BF2013, BF3703, BF3720
- Hynix: HI704
- SuperPix: SP0A19, SP0828, SP0A20, SP0718
- Other: XC7011_GC1054, XC7011_H63, XC7016_H63, XCG532
In Progress
To varying degrees, support for the following is in development.
We have our own interactive devices database that is maintained by users.
The database is also accessible from inside our firmware (but requires internet connection to fetch).
Have device not yet listed? HELP US, submit a teardown here and get free SD card and gadgets set ! Thanks to cooperation with Elektroda.com, if you submit a detailed teardown/article/review, we can send you this set of gadgets for free (shipping with normal letter).
NOTE: Obviously almost any device with supported chip (BK7231, BL602, W600, etc is potentially supported and it's not possible to list all available devices in the market, so feel free to try, even if your device is not listed - we are here to help and guide you step-by-step!)
Our Youtube Channel (See step-by-step guides for flashing and setup)
We have our own Youtube channel with OBK-related guides. Please see our playlists: