Hello, I have problems with new noName Tuya device from AliExpress


It has a one way switch and is coupled with RF433 also to switch the relay. It has a BK7231N chip on PCB.
I successfully flashed OpenBK from the solder pads with TTL flasher for this chip, but it was sometimes "laggy" and sometimes unstable on the WiFi connection.
I figured out safe, that PIN 7 is the Relay, PIN 26 is the WiFi LED and (not sure) maybe P10 is the toggleOnOff and PIN 23 is the PCB Button.
Back to the original flash binary it works stable and normal with Tuya app.
But Tuya configs are in a different memory allocation as mentioned. I found this at 0x1D4000 to 0x1D41CD in the backup file.
{rl1_lv:1,on_off_cnt:10,onoff_rst_m:1,onoff_clear_t:10,rand_dpid:42,net_trig:4,onoff_n:3,netled1_lv:1,jv:102,onoff_rst_type:2,total_bt_pin:23,nety_led:2,total_stat:2,reset_t:5,netled1_pin:26,remote_add_dp:49,remote_list_dp:50,net_type:0,inch_dp:44,rf_width:359,module:CB2S,ch_cddpid1:9,remote_io:8,onoff1:6,clean_t:5,init_conf:38,zero_select:0,onoff_type:0,series_ctrl:0,total_bt_lv:0,cyc_dpid:43,remote_select:1,ch_num:1,rl1_pin:7,netn_led:2,ch_dpid1:1,crc:81,}
Any ideas or complete ready to deploy Templates?
Regards
zyklop



It has a one way switch and is coupled with RF433 also to switch the relay. It has a BK7231N chip on PCB.
I successfully flashed OpenBK from the solder pads with TTL flasher for this chip, but it was sometimes "laggy" and sometimes unstable on the WiFi connection.
I figured out safe, that PIN 7 is the Relay, PIN 26 is the WiFi LED and (not sure) maybe P10 is the toggleOnOff and PIN 23 is the PCB Button.
Back to the original flash binary it works stable and normal with Tuya app.
But Tuya configs are in a different memory allocation as mentioned. I found this at 0x1D4000 to 0x1D41CD in the backup file.
{rl1_lv:1,on_off_cnt:10,onoff_rst_m:1,onoff_clear_t:10,rand_dpid:42,net_trig:4,onoff_n:3,netled1_lv:1,jv:102,onoff_rst_type:2,total_bt_pin:23,nety_led:2,total_stat:2,reset_t:5,netled1_pin:26,remote_add_dp:49,remote_list_dp:50,net_type:0,inch_dp:44,rf_width:359,module:CB2S,ch_cddpid1:9,remote_io:8,onoff1:6,clean_t:5,init_conf:38,zero_select:0,onoff_type:0,series_ctrl:0,total_bt_lv:0,cyc_dpid:43,remote_select:1,ch_num:1,rl1_pin:7,netn_led:2,ch_dpid1:1,crc:81,}
Any ideas or complete ready to deploy Templates?
Regards
zyklop