logo elektroda
logo elektroda
X
logo elektroda

[BK7231N/CB3S] Mhcozy TYWRA-RF Relay Module (Dry Contact) Configuration & Setup Guide

wassimsarghini 
Hello everyone,

First of all thanks to the community.

I flashed a relay module (dry contact) that uses a CB3S chip

Brand : Mhcozy
Model : TYWRA-RF

I just wanted to share with you the config, in order to save time

Here is the config:



Code: JSON
Log in, to see the code


hope this helps someone

Greeting

About Author
wassimsarghini wrote 1 posts with rating 3 , helped 1 times. Been with us since 2023 year.

Comments

xinetic 05 Nov 2023 20:40

Yes thnx this wil help, but now it is just a wifi controlled relais, how can i learn a new RF remote control? [Read more]

fitor 18 Nov 2024 14:58

Hi, did anyone solve this problem? Thanx [Read more]

divadiow 18 Nov 2024 16:11

are you sure RF matching must be done through software? I notice the manual only makes mention of the app method, but my experience with the switches I have with RF capability is that a long-push of one... [Read more]

fitor 18 Nov 2024 20:03

Hi, I have the instructions manual. But xinetic mentioned that the RF transmitter cannot be learned after flash, so far I relay not flash because I want to keep the RF function. I will try to pick up... [Read more]

fitor 18 Nov 2024 22:34

I flashed the relay successfully, it connects to wifi but cannot connect to the web interface :-( It's there way to reach settings in another way? [Read more]

fitor 20 Nov 2024 13:25

Hi, does anyone have experience with this problem. The relay has an address assigned to it by the router, but i cannot connect to it after entering the address into the browser. I can change the parameters... [Read more]

GastonL 28 Nov 2024 12:50

Hi, I have the same smart switch. Can you tell me how you flashed it? Did you connect an uart/usb device, and if so, how did you wire it? [Read more]

fitor 28 Nov 2024 20:07

Hi, standard conection via UART, module CB3S: PIN1 - CEN PIN8 - Vcc PIN9 - GND PIN15 - RX PIN16 - TX { "rl1_lv":"1", "on_off_cnt":"10", "onoff_rst_m":"0", "led1_pin":"9", "onoff_clear_t":"6", "rand_dpid":"42", "net_trig":"4", "netled1_lv":"0", "jv":"100", "onoff_rst_type":"2", "total_bt_pin":"6", "nety_led":"0", "total_stat":"0", "reset_t":"5", "netled1_pin":"8", "remote_add_dp":"49", "remote_list_dp":"50", "net_type":"0", "inch_dp":"44", "rf_width":"345", "module":"CB3S", "ch_cddpid1":"9", "remote_io":"26", "onoff1":"14", "init_conf":"38", "led1_lv":"0", "zero_select":"0", "onoff_type":"0", "series_ctrl":"0", "total_bt_lv":"0", "cyc_dpid":"43", "remote_select":"1", "ch_num":"1", "rl1_pin":"24", "netn_led":"0", "ch_dpid1":"1", "crc":"16" } Device... [Read more]

GastonL 28 Nov 2024 21:21

That's how I connected it, but I did not unsoldier the cb3s. I tried to reset through pin 1 (reset) and pin 3 (cen), but without luck. Do I have to unsoldier the cb3s for that? I measured voltage over... [Read more]

fitor 29 Nov 2024 07:57

That's weird. If you have a weak 3V3 power supply on the UART, you can use an external stabilizer. But the easiest way is to just connect Rx, Tx and GND and power the relay through its micro USB port.... [Read more]

GastonL 29 Nov 2024 19:31

Your suggestion did help me, but it works differently for me. Steps I did: 1. wire TX, RX and GND 2. connect USB/UART to computer 3. start (windows) BK7231 UART flasher 4. connect switch to USB for... [Read more]

fitor 29 Nov 2024 20:33

After flash, choose Read only OBK config, then Change OBK settings and here put wifi SSID and password, then Write only OBK config. For wifi is not necesary to tick any flags. [Read more]

GastonL 29 Nov 2024 22:48

That was easy, but I think I fried the AMS 1117 voltage regulator, because the led is on with a fast flicker, there is no WIFI and there is no response from buttons or relay (the AMS started smoking... [Read more]

fitor 29 Nov 2024 23:06

Swapping Tx and Rx will not destroy the chip. You must have switched the polarity of the power supply. [Read more]

GastonL 30 Nov 2024 22:06

I agree that it's unlikely to destroy the chip with swapping Tx and Rx. But it's also unlikely to swap polarity using a USB cable to power the switch. I found a AMS1117 on a step down converter and tried... [Read more]

fitor 30 Nov 2024 23:37

Didn't you use a 5V power supply instead of 3V3? [Read more]

GastonL 01 Dec 2024 00:03

I used the uart on 3v and the USB is the regular way to power the switch (which is 5v of course). Apart from Tx and Rx I don't think anything was connected wrong. But we will never be sure [Read more]

%}