The Chinese smart home platform "Tuya" is now widely used in many devices from China. While it was previously mostly used with ESP8266 and ESP32, Tuya now also offers its own hardware. This is bad news for hobbyists, as it can no longer be freed from the manufacturer's cloud using alternative ESP firmware like Tasmota or ESPHome. Fortunately, the OpenBeken project, also known as OpenBK7231T, promises a solution.
While it was previously mostly used with ESP8266 and ESP32, Tuya now also offers its own hardware. Contents:
00:00 Diagram
01:43 Disassembly
02:43 Installed Module
05:23 Pinout and Flash Wiring
14:40 Original Mode
15:43 Flashing with BK7231GUIFlashTool
19:38 Setting up OpenBeken
21:42 Additional Output
25:00 5V Relay: NPN vs. PNP
28:19 Conclusion
Related Links:
OpenBeken @ GitHub: https://github.com/openshwprojects/Op...
CB2S Developer Information: https://developer.tuya.com/en/docs/io...
Notes and Additions:
OpenBeken is based on Tasmota. Those who prefer ESPHome might want to take a look at LibreTuya (https://docs.libretuya.ml/docs/projec....
In many cases, the firmware can also be installed without disassembling the device using TuyaCloudcutter (https://github.com/tuya-cloudcutter/t.... Thanks, Wired Life!
Transparency:
The devices shown were purchased and paid for by me. If you have the option, I recommend choosing devices with a "classic" ESP8266 or ESP32, as these have significantly broader software support.