mini smart switch - Belon BL2028N
mini smart switch - Native module firmware for working without a cloud, via mqtt service.
In the application from Tuya, it looks like this:
The case is assembled on 4 latches, it is opened with a mediator or a plastic card or nails
we start from the slot from the corner with contacts.
Inside is a quite decent 16 amp relay and an unknown module a la Tuya
The module has a chip from Belon BL2028N
Not enough information, for example
We will flash it as a BK7231N chip
To read data and firmware, it is enough to connect an external power supply 3.3v and uart
All pins are accessible without desoldering the module.
Thanks to the developers - you can not look for anything, everything is signed on the board:
we need 3.3v, GND, RX1, TX1
TP CS is obviously not a select chip, but CEN (reset), see photo from the front, but we don’t need it.
It is better to flash according to the instructions from https://github.com/openshwprojects/OpenBK7231T_App#flashing-for-bk7231n
You need Python installed and flasher archiver
But for starters, it is useful to save the current firmware. switches -r --unprotect --startaddr 0x0 --length 200000 (--baudrate 115200 if your port can't 921600 all described here: https://github.com/OpenBekenIOT/hid_download_py )
The method of reading (firmware) is connected to the port, we start the flash driver for reading (writing) and we supply power to the chip. If everything starts up, the flash driver will begin to cheerfully draw different numbers on the screen. If it doesn't start, repeat. If you get a 2mb file at the output - you have a backup of poppies, calibrations and firmware from the manufacturer - you can always roll back.
On the project page
take the latest release
We need BK7231N UART Flash
We flash:
At the end of the firmware, the chip will reboot and an open access point will rise. We connect, open the address 192.168.4.1 in the browser
We set up a connection to wifi, mqtt, and set the chip pin settings:
We send discovery
and get in HA:
Russian version


In the application from Tuya, it looks like this:


The case is assembled on 4 latches, it is opened with a mediator or a plastic card or nails

Inside is a quite decent 16 amp relay and an unknown module a la Tuya

The module has a chip from Belon BL2028N

Not enough information, for example
We will flash it as a BK7231N chip
To read data and firmware, it is enough to connect an external power supply 3.3v and uart
All pins are accessible without desoldering the module.

Thanks to the developers - you can not look for anything, everything is signed on the board:

we need 3.3v, GND, RX1, TX1
TP CS is obviously not a select chip, but CEN (reset), see photo from the front, but we don’t need it.

It is better to flash according to the instructions from https://github.com/openshwprojects/OpenBK7231T_App#flashing-for-bk7231n
You need Python installed and flasher archiver
But for starters, it is useful to save the current firmware. switches -r --unprotect --startaddr 0x0 --length 200000 (--baudrate 115200 if your port can't 921600 all described here: https://github.com/OpenBekenIOT/hid_download_py )
The method of reading (firmware) is connected to the port, we start the flash driver for reading (writing) and we supply power to the chip. If everything starts up, the flash driver will begin to cheerfully draw different numbers on the screen. If it doesn't start, repeat. If you get a 2mb file at the output - you have a backup of poppies, calibrations and firmware from the manufacturer - you can always roll back.
On the project page
take the latest release
We need BK7231N UART Flash
We flash:
python uartprogram c:\temp\OpenBK7231N_QIO_1.14.104.bin --unprotect -d com10 -w --startaddr 0x0
At the end of the firmware, the chip will reboot and an open access point will rise. We connect, open the address 192.168.4.1 in the browser
We set up a connection to wifi, mqtt, and set the chip pin settings:

We send discovery

and get in HA:

Russian version
Comments
Add a commentThis is great discovery. I haven't ever seen a FL_M99_V1 module yet. Great job. Hmm, Belon BL2028N... I remember seeing Belon name somewhere. I think it was here: https://obrazki.elektroda.pl/6374864200_1667298394_thumb.jpg... [Read more]
I got one of these https://www.aliexpress.com/item/1005003162960608.html?spm=a2g0o.order_list.0.0.76f11802vbkD5g and inside I found Belon BL2028N with FL_M95_V1 (not 100% sure, hard to read) I couldn't... [Read more]
Hello, this is an interesting finding. Now you should find VDD (3.3V) and GND. GND will be connected to the ground of electrolytic capacitors on the board. Even to the ground pin of the 400V capacitor.... [Read more]
I succeeded in flashing openbeken to these lights, mostly through trial. I found GND and assumes 3v3 would be next to it based on similar board. I took some closeup pictures. https://obrazki.elektroda.pl/5330815800_1668014590_thumb.jpg... [Read more]
Great job. Feel free to create new thread, also maybe attach there some screenshot from the page offer where you bought the LED, etc. We will add this to devices database later. Regarding 9W... well,... [Read more]
Absolutely doesn't take 9W from the mains, only about 3 watts for white and seems to be a bit less with warms. So only 5-6W for whites, RGB's probably add up to 9W but I didn't test it. Also, all the... [Read more]
seeml like i found a special version of this smart switch. flashing worked like descripted but pins are different. https://obrazki.elektroda.pl/3574245600_1684176608_thumb.jpg https://obrazki.elektroda.pl/3387007500_1684176608_thumb.jpg... [Read more]
Please post JSON template from Web App as well, thanks! [Read more]
here it is: { "vendor": "Tuya", "bDetailed": "0", "name": "Wi-Fi DIY Smart Switch", "model": "Mini WiFi Smart Switch", "chip": "Belon BL2028N", "board": "TODO", "flags": "1024", ... [Read more]
What do you mean by "upload", to our database? You can open Pull Request here: https://github.com/OpenBekenIOT/webapp but I can also add this template later myself, if that's needed [Read more]
opened a pull request. hope i did i the right way. https://github.com/btsimonh/oldopenbekenwebpages/pull/4 but i cant upload the json file there? [Read more]
Sorry, but this pull request is not correct. 1. you are opening pull request to wrong repository 2. the pull request does not contain update of devices.json file 3. the pull request should not contain... [Read more]
I have the same version of this, but the pinout listed doesn't toggle the relay. Does anyone know if there is yet another variant with the Rel on another pin? [Read more]
So maybe do the GPIO extraction like in our tutorial? [Read more]
I am trying to flash a mini smart switch - Belon BL2028N and I saw you can flash it and I tried but it doesn't work. I don't know if I soldered it wrong or not that I can't flash it https://obrazki.elektroda.pl/4359788000_1723177882_thumb.jpg... [Read more]
Try BK7231N mode. This is a standard Beken key. [Read more]
Thanks a lot!!! I tried it and it worked [Read more]