![[BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch [BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch](https://obrazki.elektroda.pl/8878189300_1684163043_thumb.jpg)
![[BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch [BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch](https://obrazki.elektroda.pl/8962668500_1684163292_thumb.jpg)
![[BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch [BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch](https://obrazki.elektroda.pl/7818243400_1684163244_thumb.jpg)
![[BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch [BK7231T - WB3S] DS-101JL 3-Gang No Neutral Smart Switch](https://obrazki.elektroda.pl/4930533300_1684163744_thumb.jpg)
This was my first BK7231T Device, bought some time back.
Full description of the product is here in this post:
Link
I will pull them in to this post in next comment for easy reference
My first attempt to use cloudcutter is here:
Link
Since I was new to cloudcutter, I was naive to abandon it at that point.
However since I had since played with few more types of Tuya Beken devices and had success with them, I decided to revisit the device and found success!
I cannot recall when I refreshed the cloudcutter repository but I found that now there are two profiles which match firmware BK7231T 1.0.7 and the following profile did the trick.
1.0.7 - BK7231T / oem_bk7231s_rnd_switch
> 1.0.7 - BK7231T / oem_bk7231s_rnd_zero_dctrl_switch
[?] Select the brand of your device: Tuya Generic
DETA
> Tuya Generic
[?] Select the article number of your device: 2-CH Smart Relay
> 2-CH Smart Relay
GR-W-105 Water Shutoff Valve v1.0.7
Update 2023/06/03:
I had a second device, same model but had Tuya FW v1.1.15.
Following profile worked for this device:
1.1.5 - BK7231T / oem_bk7231s_4_speed_controller
> 1.1.5 - BK7231T / oem_bk7231s_rnd_zero_dctrl_switch
[?] Select the brand of your device: Lonsonho
> Lonsonho
Rabit
Tuya Generic
[?] Select the article number of your device: X801A 1-Gang Switch
> X801A 1-Gang Switch
X802A-L 2-Gang Switch
X804A 4 Gang Smart Wifi Switch
And the SSL PSK verion 02 issue was no longer observed
Using PSK v1 - Received PSK ID version 01
[I 230514 14:32:09 web:2271] 200 POST /v1/url_config (10.42.42.17) 96.55ms
[LOG] Client request PATH: /d.json - QS: a=tuya.device.active&et=1&t=51&uuid=qVeI94pcVtbt&v=4.4&sign=edb5e0e15ad1c03089e0daedc2b1ec13
Flashed the device using the profile
"device_slug": "tuya-generic-2-ch-smart-relay"
Update 2023/06/03:
For the device with Tuya FW v1.1.5 I used the following:
"device_slug": "lonsonho-x801a-1-gang-switch"
sudo ./run_flash.sh -p tuya-generic-2-ch-smart-relay -f OpenBK7231T_UG_1.17.113.bin
I now need help with configutaion of the device.
Since there is a TuyaMCU controlling the touch switches, I need some help with the autoexec.bat to confiure it.
I am new to this TuyaMCU stuff.
I have understood how the mapping works with following example:
// start MCU driver
startDriver TuyaMCU
tuyaMcu_setBaudRate 115200
// Switch 1 on/off channel
setChannelType 1 toggle
// map dpid1 to channel1, var type 1 (boolean)
linkTuyaMCUOutputToChannel 1 1 1
However I am clueless as to how to find dpid's from a particular MCU.
I tried starting the TuyaMCU as above but my status messages only contain:
ExtraDebug:TuyaMCU:TuyaMCU heartbeat_valid = 0, product_information_valid=0, self_processing_mode = 1, wifi_state_valid = 0, wifi_state_timer=0
Seems like the basic communication with the TuyaMCU is not yet working right?
Cool? Ranking DIY