Skip to content
Anna edited this page Nov 30, 2022 · 14 revisions

Introduction

OpenBK7231T/OpenBeken is a replacement firmware for Smart Home and IoT devices manufactured using Tuya's new modules based on chips than Espressif's ESPxxxx. We strive to be the best alternative to Tasmota or ESPHome, which do not support these new platforms at the moment.

Some of the totem pole features are MQTT support, Home Assistant compatibility, and support for Tasmota templates.

While this repository is named "OpenBK7231T_App", it has evolved into a multiplatform app supporting a wide spectrum of platforms from various manufacturers.

Supported platforms (chips):

Features

OpenBeken features:

  • Tasmota-like setup, configuration and experience
  • OTA firmware upgrades (for Beken chips)
  • Compatibility with Home Assistant
  • Support for multiple relays, buttons, leds, inputs and PWMs
  • Driver system for custom peripherals, including TuyaMCU, I2C bus and BL0942, BL0937 power metering chips
  • Supports multiple I2C devices, like TC74 temperature sensor, MCP23017 port expander, PCF8574T LCD 2x16 (or other?), etc
  • NTP time from network (can be used with TH06 and other TuyaMCU devices)
  • RGBCW LED lighting control compatible with Home Assistant (both PWM LEDs and SM2135 LEDs)
  • LittleFS integration for large files (resides in OTA memory, so you have to backup it every time you OTA)
  • Command line system for starting and configuring drivers
  • Short startup command (up to 512 characters) storage in flash config, so you can easily init your drivers (eg. BL0942) without LittleFS
  • Simple scripting and events system (allows you to mirror Tasmota rules, for example catch button click, double click, hold)
  • Automatic reconnect when WiFi network goes out
  • and much more
  • can't find what you are looking for? feel free to contribute and develop the feature yourself

Detailed Guides, More Info and Examples

Link

Easy development

In order to improve the workflow for developers building on top of OpenBeken, it's possible to build the OpenBeken HTTP server in a desktop Microsoft Windows environment. This build creates a Windows executable (.exe) for our HTTP server, so developers can create our configurator, etc, pages faster, without the need for a physical Tuya developer platform.

To learn more, please visit our [Developer Guide].

Futher reading

For technical insights and generic SDK information related to Bekken and XRadio modules, please refer:

https://www.elektroda.com/rtvforum/topic3850712.html

https://www.elektroda.com/rtvforum/topic3866123.html

https://www.elektroda.com/rtvforum/topic3806769.html

Support project

If you want to support project, please donate at: https://www.paypal.com/paypalme/openshwprojects

Special thanks for Tasmota/Esphome/etc contributors for making a great reference for implementing Tuya module drivers