[Youtube] How to flash BK7231T smart 2gang switch and free it from the cloud - video guide

The video presents a summary of the firmware change in the Tuya switch for WiFi 2.4GHz based on BK7231T (here WB3S). This particular switch, in order to change the firmware, required desoldering the touch button controller chip in the SOIC housing, because it occupied the UART line needed for programming. This problem does not always occur, sometimes the manufacturer will leave the UART port free, and sometimes even lead it to marked pads, but there was no such comfort here.
Fortunately, the problematic circuit can be desoldered with the cheapest Chinese soldering iron, all you need is the right method, flux, additional binder and attention not to overheat the path:
The video was prepared with the help of my assistant (thank you for helping me with the film) and sped up accordingly.
Even products on ESP sometimes encounter similar problems. Another solution would be to cut the paths or (if possible) to put the problematic system (e.g. the second microcontroller, from TuyaMCU) into the RESET state.
The purpose of the firmware change is to free the product from the cloud and from the manufacturer's servers, as well as to enable free control and connection to Home Assistant (and not only, OpenBeken even supports SSDP and even Windows devices "see" such programmed switches).
The video contains English subtitles, because it is also aimed at our English-speaking users (ultimately, the thumbnail and perhaps the lector will be changed and it will also be placed on elektroda.com).
The firmware used, OpenBeken, supports the BK7231T, BK7231N, XR809, BL602, W600 and W800 (and similar) platforms, on all the operations are quite similar, although the tools for uploading the batch differ to some extent. Details in the project readme.
https://github.com/openshwprojects/OpenBK7231T_App
Used firmware - OpenBeken - ready binaries for supported platforms:
https://github.com/openshwprojects/OpenBK7231T_App/releases
A simple Windows program for uploading/reading a batch - bkWriter 1.60:
https://github.com/openshwprojects/OpenBK7231T/blob/master/bk_writer1.60.zip
A more complex batch upload/download program written in Python - hid_download_py:
https://github.com/OpenBekenIOT/hid_download_py/issues
Previous video about the relay:
[Youtube] Firmware change in Tuya relay with busy UART lines
Previous video about the LED "bulb":
[Youtube] Removing the SMD module and changing the BK7231 firmware in the RGBCW LED lamp
And the contest:
Present your own construction or send an article and receive a 64GB SD card
It also applies to topics placed in " Equipment indoors ", i.e. descriptions of e.g. IoT gadgets, but not only.
Side news/organizational matters:
1. The BK7231N platform in OpenBeken received a patch last month that significantly improved stability with a large number of MQTT events (problems were reported by several users, they are now fixed)
2. OpenBeken recently supports Home Assistant Discovery, so you don't have to manually copy the configuration. Config->Generate Home Assistant CFG and there you need to click the new button:

3. OpenBeken already supports the W600 and W601 WinnerMicro platform (thanks to the help of one of the contributors).
4. OpenBeken has recently supported an online device database (Launch Web Application->Config):

The database contains photos of devices, their templates, settings and scripts as well as links to Elektroda. Do you have any new device? Anyone can add them via pull request to:
https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json
Here you can see the database of devices in an accessible form:
https://openbekeniot.github.io/webapp/devicesList.html
Comments
Is this device available for sale in Poland and does it have a distributor, or does it have to be individually imported from abroad? [Read more]
Your question can be answered in two ways. This particular switch was bought on eBay, but this type of products floods various types of shops also in Poland and on our Polish auction portal you can also... [Read more]
Lots of unknowns. In addition, the manufacturer himself may want to start blocking the possibility of changing the software to other than "company" at some point. I am thinking here of changes in electronic... [Read more]
I do not know a single case of "blocking by the manufacturer" ESP8266 or BK7231T or BK7231N. Even if you break the bootloader in BK, you can get to the system via SPI. The only thing "blocked" is tuya-convert... [Read more]
I wrote about one or another manufacturer of the entire device. However, it is obvious to change the software of the module itself, which is designed with the intention of freely uploading new software... [Read more]
There are a few "internal boards" of WiFi modules, but they all have pads that are also probably used in the factory for testing. Rather, it would not be profitable for them to make a version absolutely... [Read more]
Entire device = switch. I did not and I do not mean the component itself, which is the Wi-Fi module. [Read more]
If by "internal board" you mean the PCB of the switch and not the WiFi module, this is the smallest problem. After all, the paths to the touch buttons and relays, and possibly the WiFi LED, can be traced... [Read more]
There is no need for any design changes on the PCB. It is enough for the manufacturer to make the same number as Makita; https://obrazki.elektroda.pl/7755291100_1668462622_thumb.jpg That is, it... [Read more]
It's quite possible, but nothing suggests it yet. They may introduce a new WiFi chip soon, either completely "unavailable" or simply without SDK. It was similar when no one knew that Beken could be... [Read more]
Which items to choose from the store shelf? [Read more]
That's how I read this article. But generally I meant something like this; https://obrazki.elektroda.pl/5375082800_1668507764_thumb.jpg Personally, in the place of the manufacturer, if I would... [Read more]
May this practice end as soon as possible, just like standardization to USB-C in the case of chargers for smartphones and laptops in the EU. So far, you can come across 3D models of adapters between different... [Read more]
Let me tell you that Makita is one of the few brands that exaggerates so much with these locks, because security is an obvious thing. In other brands, even Bosch does not block. Yes, there is a balancer,... [Read more]
There doesn't have to be any extreme activity. It is enough, for example, considering this particular model, to change the button controller to a different type. [Read more]
Interesting way of desoldering. I usually sucked as much binder as possible from the pads with a braid and then removed the chip after heating it with hot-air. Of course, this method is not always possible.... [Read more]
A colleague, the author, presented this method for the first time in a different topic ... I will say that in this way it is normal to drive virtually any SMD chips, only I have to buy a high-lead binder... [Read more]
If indeed IoT devices are on the "black dots", it is known that it will be difficult to do anything sensible. Fortunately, that's not likely to happen yet. The desoldering method was also presented... [Read more]
And what binder do you use for SMD desoldering? What is your Sn to Pb ratio? [Read more]