logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Which light switch for the Home Assistant? Single touch Blow 72-087, we flash CB3S

p.kaczmarek2  46 2637 Cool? (+1)
📢 Listen (AI):

TL;DR

  • The Blow 72-087 single touch light switch was flashed with new firmware to run locally with Home Assistant.
  • It uses a CB3S module and UART flashing, with BK7231GUIFlashTool and an OBK template replacing Tuya cloud firmware.
  • The whole set costs about 30 zlotys from China or roughly 60 zlotys locally.
  • Flashing worked, GPIO configurations were read correctly, and the switch was returned running locally with Home Assistant.
  • It turned out to be essentially a repainted DS101, so the exterior did not reveal the hardware family.
Generated by the language model.
Close-up image of the inside of a light switch showing the PCB and CB3S module. .
Here is another product that, after a firmware change, can be run 100% locally and linked to Home Assistant. This time it's a single light switch, appearing under vendor code 72-087#, but related models may also have designations: DS-101, DS-111, DS-151, DS-161, DS-1011ZC. Firmware is uploaded as usual via UART.

I got the product in a kit from a reader - I was changing the firmware for him at his request in exchange for the opportunity to take photos. I received a whole series of these gadgets, but for now we will discuss the switch. The whole set can be bought for a few dozen zlotys (from China you can even order for 30 zlotys, in our country more like 60):
Packaging of Blow smart WiFi light switch with labels. .
Packaging of a single light switch with technical specifications. .
Light switch packaging with model and function markings. .
Included is a capacitor, referred to rather oddly by the vendors as an 'adapter', and an instruction manual:
Smart WiFi light switch with accessories in a box. .
The manual is in our language, the seller has already taken care of that:
User manual for Blow WiFi smart light switch. .
Installation manual for light switch with capacitor and neutral wire. .
Light switch manual with installation instructions and QR codes. .
User manual for smart light switch .
Instruction manual for pairing a Tuya device with BLE feature. .
The manual describes pairing with Tuya, but I have other plans....

Interior 72-087 .
Removing the front panel:
Light switch with exposed PCB and visible touch panel. .
The same PCB is used by the three versions of the switch - single, double and triple.
Close-up of the PCB board of a single light switch with a CB3S module. .
The switch is based on the CB3S module (similar to the WB3S):
Electrical schematic and pinout of the CB3S module. .
PCB designation: A-1011WL3B2-REV A0 2022-08-18
Close-up view of the interior of a light switch with a CB3S module. .
This large component in the SOIC is the touch button controller.
A second PCB remains:
Printed circuit board in the DS-101 light switch. .
Designation of the second PCB: DS-101JL-3A-1 REV (A), 20221026.
Light switch PCB with visible capacitors and relay. .
Close-up of a PCB with a relay and capacitors. .
On the board there is a small power supply in flyback topology and one relay. From underneath I can see additional electronics:
PCB board of a switch with markings and electronic components. .
Close-up of a PCB with electronic components, including the S7142S integrated circuit. .
Close-up of a circuit board with electronic components. .
Close-up of a PCB marked DS-101JL-3A-1 REV A0. .
The power supply is based on the S7142S:
Diagram of a switching power supply based on S7141S/S7142S chip. .
What I don't know is why these NP3095s are there?
Datasheet for NP3095G transistor.

Firmware change 72-087 .
You will need a USB to UART converter. According to the flasher instructions:
https://github.com/openshwprojects/BK7231GUIFlashTool
Or according to our YT video:


.
Soldered wires (see pinout CB3S):
Light switch PCB with connected wires. .
PCB with attached wires and light switch. .
Flasher correctly reads GPIO configurations:
Firmware flashing tool screen displaying JSON files for device configuration.
JSON Tuya:
Code: JSON
Log in, to see the code

OBK template:
Code: JSON
Log in, to see the code

Import instructions:



Instructions for pairing with HA:



Copy of factory software:
https://github.com/openshwprojects/FlashDumps/commit/0d2ae0b9796aaf6172a2d76beac313c8526a474c

Summary .
The switch has been correctly programmed and returned to the reader. Along with this switch I got a bit more hardware, which I'll put in separate topics, but I'll already announce what's going to be in them - there's a topic getting ready about a garage door controller and an external socket, this time on an ESP8266.
The switch itself shown here turned out to be nothing new, essentially a repainted DS101, but from the outside I wasn't able to recognise it. In any case, freeing it from the manufacturer's cloud and connecting it to Home Assistant is seamless.

About Author
p.kaczmarek2
p.kaczmarek2 wrote 14257 posts with rating 12154 , helped 647 times. Been with us since 2014 year.

Comments

chemik_16 04 Feb 2025 22:20

hah, I think you're following me ;D I have unbranded ones from Ali, at ~$7 for 4p and $5 for 2p, and was just about to go for them too. https://obrazki.elektroda.pl/3587845700_1738704088_thumb.jpg... [Read more]

p.kaczmarek2 04 Feb 2025 22:23

Show and see if it's the same as it was on mine. If you didn't pair it with Tuya, you can also share the original 2MB batch. Otherwise, Tuya's JSON alone (extracted by flasher) will suffice. [Read more]

chemik_16 04 Feb 2025 22:24

. j.w. i have a whole carton of these, not used apart from 1 for testing. I will download them tomorrow. [Read more]

p.kaczmarek2 04 Feb 2025 22:43

Well, a substantial set. I look forward to seeing the results. Make a note of which dump and configuration from which device it is, these will come in handy to complete our list: https://openbekeniot.github.io/webapp/devicesList.html We'll... [Read more]

chemik_16 06 Feb 2025 12:26

here we go: 101JL-WHITE-04 CB3S readResult_BK7231N_QIO_2025-06-2-12-23-50.bin { "rl1_lv":"1", "netled_lv":"0", "bt_type":"0", "bt1_pin":"24", "net_trig":"4", "cd_flag2":"1", "backlit_select":"1", "nety_led":"0", "backlit_io_pin":"23", "netled_pin":"22", "total_stat":"2", "bt1_lv":"0", "module":"CB3S", "rl2_pin":"8", "light_status_select":"0", "cyc_dpid":"17", "bt2_lv":"0", "rl1_pin":"6", "rl4_lv":"1", "rl3_pin":"9", "rl3_lv":"1", "rand_dpid":"18", "led_dp":"15", "rl4_pin":"26", "jv":"1.0.0", "backlit_io_lv":"1", "bt3_lv":"0", "reset_t":"9", "rl2_lv":"1", "ch_flag1":"1", "ch_flag3":"1", "bt4_pin":"14", "ch_flag4":"1", "inch_dp":"19", "bt3_pin":"7", "ch_cddpid1":"7", "init_conf":"14", "bt4_lv":"0", "bt2_pin":"20", "ch_cddpid4":"10", "ch_cddpid2":"8", "ch_cddpid3":"9", "backlit_dp":"16", "ch_num":"4", "ch_dpid3":"3", "ch_dpid4":"4", "netn_led":"1", "ch_dpid1":"1", "ch_dpid2":"2", "crc":"40" }... [Read more]

p.kaczmarek2 06 Feb 2025 12:35

JSON for the above file from 101JL-WHITE-04 readResult_BK7231N_QIO_2025-06-2-12-23-50.bin: { "rl1_lv":"1", "netled_lv":"0", "bt_type":"0", "bt1_pin":"24", "net_trig":"4", "cd_flag2":"1", "backlit_select":"1", "nety_led":"0", "backlit_io_pin":"23", "netled_pin":"22", "total_stat":"2", "bt1_lv":"0", "module":"CB3S", "rl2_pin":"8", "light_status_select":"0", "cyc_dpid":"17", "bt2_lv":"0", "rl1_pin":"6", "rl4_lv":"1", "rl3_pin":"9", "rl3_lv":"1", "rand_dpid":"18", "led_dp":"15", "rl4_pin":"26", "jv":"1.0.0", "backlit_io_lv":"1", "bt3_lv":"0", "reset_t":"9", "rl2_lv":"1", "ch_flag1":"1", "ch_flag3":"1", "bt4_pin":"14", "ch_flag4":"1", "inch_dp":"19", "bt3_pin":"7", "ch_cddpid1":"7", "init_conf":"14", "bt4_lv":"0", "bt2_pin":"20", "ch_cddpid4":"10", "ch_cddpid2":"8", "ch_cddpid3":"9", "backlit_dp":"16", "ch_num":"4", "ch_dpid3":"3", "ch_dpid4":"4", "netn_led":"1", "ch_dpid1":"1", "ch_dpid2":"2", "crc":"40" } ... [Read more]

chemik_16 06 Feb 2025 12:38

This triple more interesting, T34 is bk ? TY-86-3W pcb - Wifi W6B https://obrazki.elektroda.pl/7594845700_1738841875_thumb.jpg https://obrazki.elektroda.pl/2446767500_1738841886_thumb.jpg... [Read more]

p.kaczmarek2 06 Feb 2025 12:40

It's also a BK7231N core, you flash the same way. I think the newer Tuya devices on T34 are becoming more common. But fart, a T34 with pads derived? Also rip a 2MB batch and you can upload OBK. We've... [Read more]

chemik_16 06 Feb 2025 12:47

attached, this is where the app failed to find json Failed to extract Tuya keys - no json start found Sorry, failed to extract keys from Tuya Config in backup binary. 2 ICs obliterated, but one is... [Read more]

p.kaczmarek2 06 Feb 2025 12:55

Flash tool is not yet perfect. I poked around on my side and got it: { "bt1_lv": 0, "bt1_pin": 16, "bt2_lv": 0, "bt2_pin": 14, "bt3_lv": 0, "bt3_pin":... [Read more]

chemik_16 06 Feb 2025 13:12

Another one, 4p ala brazil, but it fits into EU cans (I'm about to give one that doesn't fit as well ;D) I do not have a box from it, but I will see on ali edit: https://pl.aliexpress.com/item/1005007420510766.html ... [Read more]

p.kaczmarek2 06 Feb 2025 13:19

The WF480RA has already appeared on the forum https://www.elektroda.com/rtvforum/find.php?q=WF480RA I wouldn't worry about it though, here it is also connected to the button controller, so RF will continue... [Read more]

chemik_16 06 Feb 2025 13:21

. These Brazilian ones were the first 2 I bought, I didn't even know they were different from the rest :) @up attached [Read more]

p.kaczmarek2 06 Feb 2025 13:35

https://obrazki.elektroda.pl/6848632200_1738845218_thumb.jpg . Tuya JSON: { "rl1_lv":"1", "netled_lv":"0", "bt_type":"1", "bt1_pin":"9", "net_trig":"4", "cd_flag2":"1", "backlit_select":"1", "nety_led":"1", "backlit_io_pin":"23", "netled_pin":"11", "total_stat":"2", "bt1_lv":"0", "module":"CB3S", "rl2_pin":"24", "light_status_select":"0", "cyc_dpid":"17", "bt2_lv":"0", "rl1_pin":"26", "rl4_lv":"1", "rl3_pin":"14", "rl3_lv":"1", "rand_dpid":"18", "led_dp":"15", "rl4_pin":"6", "jv":"1.1.0", "backlit_io_lv":"1", "bt3_lv":"0", "reset_t":"5", "rl2_lv":"1", "ch_flag1":"1", "ch_flag3":"1", "bt4_pin":"10", "ch_flag4":"1", "inch_dp":"19", "bt3_pin":"7", "ch_cddpid1":"7", "init_conf":"14", "bt4_lv":"0", "zero_select":"0", "bt2_pin":"8", "ch_cddpid4":"10", "ch_cddpid2":"8", "ch_cddpid3":"9", "backlit_dp":"16", "ch_num":"4", "ch_dpid3":"3", "ch_dpid4":"4", "netn_led":"1", "ch_dpid1":"1", "ch_dpid2":"2", "crc":"52" } ... [Read more]

chemik_16 06 Feb 2025 13:38

That was my goal ;) and these 4p and 1p cost the same after coin discounts. I'll stick some icons on the buttons or laser engrave them. Next, brasil https://obrazki.elektroda.pl/7798805600_1738845493_thumb.jpg... [Read more]

p.kaczmarek2 06 Feb 2025 13:50

But is it BT alone or also with WiFi? XT-BL12 I see, which indicates BL602: Cozylife DS-1211AN 3Gang Touch Switch: 1MB BL602L10 [XT-BL12][DT-BL12] - Images, firmware ia . Worse, according to the... [Read more]

chemik_16 06 Feb 2025 13:57

well, i don't really care about the latter. i'll just solder esp8266 in there :D and that's it, i don't have any more switches, the rest is more 3p and 4p edit can't read it anyway . [Read more]

p.kaczmarek2 06 Feb 2025 14:25

And boot connect? I add previous devices to the list: https://openbekeniot.github.io/webapp/devicesList.html https://github.com/OpenBekenIOT/webapp/commit/361f3dce3bebcea26c3842a413da597a27a13c86 [Read more]

chemik_16 06 Feb 2025 21:09

btw, all of the above worked without the neutral wire, and I had a capacitor included in each too. Yours probably did too, as it's the same base. I.e. they worked is a slight overinterpretation, they... [Read more]

FAQ

TL;DR: 100 % local control in <5 min, prices from 30 PLN, “flashing over UART is trivial” [Elektroda, p.kaczmarek2, #21422555; #21425201]. Why it matters: Home-Assistant users can drop Tuya cloud, stop relay chatter, and keep RF remotes working—all with one open-source tool.

Quick Facts

• MCU: CB3S (BK7231N, 2 MB flash) in 72-087; T34-3 (BK7231T) or BL602 variants also appear [Elektroda, #21422555; #21427275]. • Street price: 30–60 PLN (≈ US $7–$14) per gang, shipped [Elektroda, #21422555; #21425161]. • Flash points: TX/RX, 3V3, GND, BOOT (IO0 on CB3S, IO8 on BL602) [Elektroda, #21422555; #21434649]. • OBK/OpenBeken supports >692 devices; templates live at devicesList.html [Elektroda, #21425201; #21427414]. • Edge case: tying IO8 high too long can brick BL602 modules [Elektroda, chemik_16, post #21440375]

How do I flash OpenBeken onto a CB3S-based switch?

  1. Solder 3 V3, GND, RX, TX and short BOOT (IO0) to GND.
  2. Connect a USB-UART at 115 200 bps and run BK7231GUIFlashTool; read backup first.
  3. Write the OBK binary, power-cycle, remove BOOT short, then pair in Home Assistant [Elektroda, 21422555]

What GPIO mapping should I use for 72-087 in OpenBeken?

Set P6 Rel;1, P20 Btn;1, P22 WifiLED_n;0, P26 LED;1 as per the OBK template supplied by the author [Elektroda, 21422555]

Can the switch run without a neutral wire?

Yes; the vendor ships a series capacitor to leak current, but LED bulbs may flicker for several minutes after power-up [Elektroda, chemik_16, post #21428051]

How can I auto-switch the relay off 20 s after pressing the touch button?

In the OBK console type: addChangeHandler Channel1==1 addRepeatingEvent 20 1 setChannel 1 0 This creates a one-shot timer that resets the relay 20 seconds after activation [Elektroda, p.kaczmarek2, post #21502747]

Are there silent Wi-Fi touch switches with no relay clicking?

Look for models that use triac output; one example is the QTouch Wi-Fi switch dissected on Elektroda, which toggles without mechanical noise [Elektroda, p.kaczmarek2, post #21500938]

Why does my 4-gang panel stop sensing touch once mounted behind glass?

Metal wall boxes or the tempered-glass frame can detune the capacitive sensor. Add insulation tape or re-calibrate sensitivity via the touch-IC pad if available. Keeping a 1 mm air gap often restores detection [installer experience; capacitive sensor datasheets].

How do I enter bootloader and back up a BL602-based wall switch?

Momentarily pull IO8 to 3 V3 through a 10 kΩ resistor, reset power, then read the 0x0–0xFFFFF range with BouffaloLab DevCube at 2 Mbaud. Always release IO8 before normal boot [Elektroda, #21434649; #21434181].

What’s the risk if I tie IO8 directly to 3 V3?

Long contact can lock the BL602 in boot mode or corrupt flash; one user’s board stopped responding after such a test [Elektroda, chemik_16, post #21440375]

Will the 433 MHz RF remote still work after I flash Wi-Fi firmware?

Yes. The RF receiver is a separate SOIC-8 chip wired to the key controller, so replacing CB3S firmware leaves RF functionality intact [Elektroda, p.kaczmarek2, post #21427275]

How much do multi-gang versions cost on AliExpress?

Chemik_16 paid about US $7 for 4-gang and US $5 for 2-gang units when buying in bulk [Elektroda, 21425161]

Do I need a resistor when pulling IO8 high on BL602?

A 10 kΩ resistor is recommended to limit current and avoid latch-up, as demonstrated in the YouTube guide shared by p.kaczmarek2 [Elektroda, 21434181]

What spec should I check to avoid relay noise?

Look for datasheets that specify SSR or triac output. If the listing mentions “no neutral” and includes a capacitor, it often uses a relay; ask the seller for triac model numbers like MQ-Txx series.
Generated by the language model.
%}