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

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):



Included is a capacitor, referred to rather oddly by the vendors as an 'adapter', and an instruction manual:

The manual is in our language, the seller has already taken care of that:





The manual describes pairing with Tuya, but I have other plans....
Interior 72-087 .
Removing the front panel:

The same PCB is used by the three versions of the switch - single, double and triple.

The switch is based on the CB3S module (similar to the WB3S):

PCB designation: A-1011WL3B2-REV A0 2022-08-18

This large component in the SOIC is the touch button controller.
A second PCB remains:

Designation of the second PCB: DS-101JL-3A-1 REV (A), 20221026.


On the board there is a small power supply in flyback topology and one relay. From underneath I can see additional electronics:




The power supply is based on the S7142S:

What I don't know is why these NP3095s are there?

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):


Flasher correctly reads GPIO configurations:

JSON Tuya:
Code: JSON
OBK template:
Code: JSON
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.
Comments
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]
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]
. j.w. i have a whole carton of these, not used apart from 1 for testing. I will download them tomorrow. [Read more]
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]
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]
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]
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]
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]
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]
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]
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]
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]
. These Brazilian ones were the first 2 I bought, I didn't even know they were different from the rest :) @up attached [Read more]
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]
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]
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]
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]
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]
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]