Hello,
I purchased a "WERYOU® illuminAIR Plafondventilator" and the one comes with tuya module
A CBU with a BK7231N chip inside,
I was able to load openbeken on it, but can't figure the pinout. or does it have a separate tuya-mcu. I don't know.
Is there anything I can do to figure this one out?
I do still have a backup of the original firmware
Some pictures of the module.
I also do have a export config with DP points.
I {
"gw_bi": {
"uuid": "38119fdcfb98e6ed",
"psk_key": "S7WD5vi1OdBsYtm4CWFBtzZsUIJoveqFHa1YT",
"auth_key": "DcWYk8Px0uutTiLuHbgcn3sejz1uKCve",
"ap_ssid": "SmartLife",
"ap_passwd": null,
"country_code": "CN",
"bt_mac": null,
"bt_hid": null,
"prod_test": false,
"fac_pin": "h3er2s8ba5fvjtsd"
},
"gw_di": {
"abi": 0,
"id": "bf59a9e1bad1a501bckwyx",
"swv": "1.0.8",
"bv": "40.00",
"pv": "2.2",
"lpv": "3.4",
"pk": "keycwqjct9fup7uv",
"firmk": "keycwqjct9fup7uv",
"cadv": "1.0.5",
"cdv": "1.0.0",
"dev_swv": "1.0.8",
"s_id": "e1nqfqbc",
"dtp": 0,
"sync": 0,
"attr_num": 1,
"mst_tp_0": 9,
"mst_ver_0": "1.0.8",
"mst_md5_0": null,
"mst_tp_1": 0,
"mst_ver_1": null,
"mst_md5_1": null,
"mst_tp_2": 0,
"mst_ver_2": null,
"mst_md5_2": null,
"mst_tp_3": 0,
"mst_ver_3": null,
"mst_md5_3": null
},
"rmt_ctrl_0": {
"no": 1,
"mac": "3CNTeYVs",
"grpid": 2,
"s2": "jh2ygu9sD8ylnnJJVxPiYQ==",
"sn": 1438,
"cld": 1,
"key_tp": 0,
"s1": "nmw="
},
"rmt_ctrl_1": {
"no": 2,
"mac": "3CNTeYPA",
"grpid": 2,
"s2": "FI2uunrnOWvJSZQtpmkeDg==",
"sn": 208,
"cld": 1,
"key_tp": 0,
"s1": "0cA="
},
"tls_ca_cnt": 0,
"gw_wsm": {
"nc_tp": 9,
"ssid": "a28td2lmaQ==",
"passwd": "eUVuNVZxYTlXVk1m",
"md": 0,
"random": 0,
"wfb64": 1,
"stat": 2,
"token": "4kSh3zVr",
"region": "EU",
"reg_key": "_Or1",
"dns_prio": 0
},
"wf_start_md": 3,
"is_stride": 0,
"gw_ai": {
"key": "kkBMTxcMX_xJA++q",
"lckey": "{1NivL;ga@UEPsdG",
"h_url": "http://a1-eu.lifeaiot.com/d.json",
"h_ip": "18.192.81.114",
"hs_url": null,
"hs_ip": null,
"hs_psk": "https://a3-eu.lifeaiot.com/d.json",
"hs_psk_ip": "18.158.227.228",
"mqs_url": null,
"mqs_ip": null,
"mq_url": "m1-eu.lifeaiot.com:1883",
"mq_ip": "18.156.58.194",
"ai_sp": null,
"ai_sp_ip": null,
"mq_psk": "m3-eu.lifeaiot.com:8883",
"mq_psk_ip": "3.65.184.32",
"lp_url": "baal.tuyaeu.com:443",
"lp_ip": "3.120.17.197",
"time_z": "+01:00",
"s_time_z": "[[1774746000,1792890000],[1806195600,1824944400]]",
"wx_app_id": null,
"wx_uuid": null,
"dy_tls_m": 2,
"cloud_cap": 1025,
"psk21_key": null
},
"e1nqfqbc": [
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 20,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"white",
"colour",
"scene",
"music"
],
"type": "enum"
},
"id": 21,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 10,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 22,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 23,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 24,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 25,
"type": "obj"
},
{
"mode": "wr",
"property": {
"type": "string",
"maxlen": 255
},
"id": 27,
"type": "obj"
},
{
"mode": "wr",
"property": {
"type": "string",
"maxlen": 255
},
"id": 28,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 34,
"type": "obj"
},
{
"mode": "rw",
"id": 52,
"type": "raw"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 54,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"white",
"colour",
"scene",
"music"
],
"type": "enum"
},
"id": 55,
"type": "obj"
},
{
"mode": "rw",
"id": 56,
"type": "raw"
},
{
"mode": "rw",
"id": 61,
"type": "raw"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 63,
"type": "obj"
},
{
"mode": "ro",
"property": {
"type": "bitmap",
"maxlen": 1
},
"id": 101,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 102,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 540,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 103,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"forward",
"reverse"
],
"type": "enum"
},
"id": 104,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 1,
"max": 6,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 105,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"fresh",
"nature"
],
"type": "enum"
},
"id": 106,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 107,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"mode1",
"mode2",
"mode3",
"mode4",
"mode5",
"mode6",
"mode7",
"mode8",
"mode9",
"mode10",
"mode11",
"mode12",
"music_mode1",
"music_mode2",
"music_mode3",
"music_mode5",
"music_mode6"
],
"type": "enum"
},
"id": 111,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 116,
"type": "obj"
},
{
"mode": "rw",
"id": 117,
"type": "raw"
}
],
"ble_beaconkey": "E91E1DD7A763799CB6F788B63D893835",
"em_sys_env": "bk7231n",
"astro_timer": {
"timestamp": 1786208723,
"index": 0
},
"mf_test_close": true
}
AI: Can you upload clear pictures of the whole main PCB, both sides if possible, showing where the CBU pins/traces go and whether there is another MCU chip on the board?
added
AI: In OpenBeken, have you tried checking UART activity or setting likely CBU pins as TuyaMCU RX/TX / Relay / PWM? If yes, which pins did you test and what happened?
couldn't get that to work
I purchased a "WERYOU® illuminAIR Plafondventilator" and the one comes with tuya module
A CBU with a BK7231N chip inside,
I was able to load openbeken on it, but can't figure the pinout. or does it have a separate tuya-mcu. I don't know.
Is there anything I can do to figure this one out?
I do still have a backup of the original firmware
Some pictures of the module.
I also do have a export config with DP points.
I {
"gw_bi": {
"uuid": "38119fdcfb98e6ed",
"psk_key": "S7WD5vi1OdBsYtm4CWFBtzZsUIJoveqFHa1YT",
"auth_key": "DcWYk8Px0uutTiLuHbgcn3sejz1uKCve",
"ap_ssid": "SmartLife",
"ap_passwd": null,
"country_code": "CN",
"bt_mac": null,
"bt_hid": null,
"prod_test": false,
"fac_pin": "h3er2s8ba5fvjtsd"
},
"gw_di": {
"abi": 0,
"id": "bf59a9e1bad1a501bckwyx",
"swv": "1.0.8",
"bv": "40.00",
"pv": "2.2",
"lpv": "3.4",
"pk": "keycwqjct9fup7uv",
"firmk": "keycwqjct9fup7uv",
"cadv": "1.0.5",
"cdv": "1.0.0",
"dev_swv": "1.0.8",
"s_id": "e1nqfqbc",
"dtp": 0,
"sync": 0,
"attr_num": 1,
"mst_tp_0": 9,
"mst_ver_0": "1.0.8",
"mst_md5_0": null,
"mst_tp_1": 0,
"mst_ver_1": null,
"mst_md5_1": null,
"mst_tp_2": 0,
"mst_ver_2": null,
"mst_md5_2": null,
"mst_tp_3": 0,
"mst_ver_3": null,
"mst_md5_3": null
},
"rmt_ctrl_0": {
"no": 1,
"mac": "3CNTeYVs",
"grpid": 2,
"s2": "jh2ygu9sD8ylnnJJVxPiYQ==",
"sn": 1438,
"cld": 1,
"key_tp": 0,
"s1": "nmw="
},
"rmt_ctrl_1": {
"no": 2,
"mac": "3CNTeYPA",
"grpid": 2,
"s2": "FI2uunrnOWvJSZQtpmkeDg==",
"sn": 208,
"cld": 1,
"key_tp": 0,
"s1": "0cA="
},
"tls_ca_cnt": 0,
"gw_wsm": {
"nc_tp": 9,
"ssid": "a28td2lmaQ==",
"passwd": "eUVuNVZxYTlXVk1m",
"md": 0,
"random": 0,
"wfb64": 1,
"stat": 2,
"token": "4kSh3zVr",
"region": "EU",
"reg_key": "_Or1",
"dns_prio": 0
},
"wf_start_md": 3,
"is_stride": 0,
"gw_ai": {
"key": "kkBMTxcMX_xJA++q",
"lckey": "{1NivL;ga@UEPsdG",
"h_url": "http://a1-eu.lifeaiot.com/d.json",
"h_ip": "18.192.81.114",
"hs_url": null,
"hs_ip": null,
"hs_psk": "https://a3-eu.lifeaiot.com/d.json",
"hs_psk_ip": "18.158.227.228",
"mqs_url": null,
"mqs_ip": null,
"mq_url": "m1-eu.lifeaiot.com:1883",
"mq_ip": "18.156.58.194",
"ai_sp": null,
"ai_sp_ip": null,
"mq_psk": "m3-eu.lifeaiot.com:8883",
"mq_psk_ip": "3.65.184.32",
"lp_url": "baal.tuyaeu.com:443",
"lp_ip": "3.120.17.197",
"time_z": "+01:00",
"s_time_z": "[[1774746000,1792890000],[1806195600,1824944400]]",
"wx_app_id": null,
"wx_uuid": null,
"dy_tls_m": 2,
"cloud_cap": 1025,
"psk21_key": null
},
"e1nqfqbc": [
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 20,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"white",
"colour",
"scene",
"music"
],
"type": "enum"
},
"id": 21,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 10,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 22,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 23,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 24,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 25,
"type": "obj"
},
{
"mode": "wr",
"property": {
"type": "string",
"maxlen": 255
},
"id": 27,
"type": "obj"
},
{
"mode": "wr",
"property": {
"type": "string",
"maxlen": 255
},
"id": 28,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 34,
"type": "obj"
},
{
"mode": "rw",
"id": 52,
"type": "raw"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 54,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"white",
"colour",
"scene",
"music"
],
"type": "enum"
},
"id": 55,
"type": "obj"
},
{
"mode": "rw",
"id": 56,
"type": "raw"
},
{
"mode": "rw",
"id": 61,
"type": "raw"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 63,
"type": "obj"
},
{
"mode": "ro",
"property": {
"type": "bitmap",
"maxlen": 1
},
"id": 101,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 102,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 540,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 103,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"forward",
"reverse"
],
"type": "enum"
},
"id": 104,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 1,
"max": 6,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 105,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"fresh",
"nature"
],
"type": "enum"
},
"id": 106,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 107,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"mode1",
"mode2",
"mode3",
"mode4",
"mode5",
"mode6",
"mode7",
"mode8",
"mode9",
"mode10",
"mode11",
"mode12",
"music_mode1",
"music_mode2",
"music_mode3",
"music_mode5",
"music_mode6"
],
"type": "enum"
},
"id": 111,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 116,
"type": "obj"
},
{
"mode": "rw",
"id": 117,
"type": "raw"
}
],
"ble_beaconkey": "E91E1DD7A763799CB6F788B63D893835",
"em_sys_env": "bk7231n",
"astro_timer": {
"timestamp": 1786208723,
"index": 0
},
"mf_test_close": true
}
AI: Can you upload clear pictures of the whole main PCB, both sides if possible, showing where the CBU pins/traces go and whether there is another MCU chip on the board?
added
AI: In OpenBeken, have you tried checking UART activity or setting likely CBU pins as TuyaMCU RX/TX / Relay / PWM? If yes, which pins did you test and what happened?
couldn't get that to work