Skip to content

Commit

Permalink
New device - Tuya Generic Plug v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Feb 10, 2024
1 parent 3f53c1d commit 08d50e9
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 0 deletions.
116 changes: 116 additions & 0 deletions devices/tuya-generic-plug-v2.0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"manufacturer": "Tuya Generic",
"name": "Plug v2.0.1",
"key": "keya4gvchmtapm8n",
"ap_ssid": "SmartLife",
"github_issues": [],
"image_urls": [],
"profiles": [
"oem-bk7231s-rnd-switch-2.0.1-sdk-2.0.0-30.05"
],
"schemas": {
"000002e3fu": [
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 1,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 2,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 9,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 10,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"off",
"on",
"memory"
],
"type": "enum"
},
"id": 38,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"relay",
"pos",
"none"
],
"type": "enum"
},
"id": 40,
"type": "obj"
}
]
},
"device_configuration": {
"bt_type": 0,
"ch_cddpid1": 9,
"ch_cddpid2": 10,
"ch_dpid1": 1,
"ch_dpid2": 2,
"ch_flag1": 1,
"ch_flag2": 1,
"ch_num": 2,
"crc": 14,
"cyc_dpid": 42,
"inch_dp": 44,
"init_conf": 38,
"jv": "1.0.8",
"led_dp": 40,
"lock_dp": 41,
"module": "WB2S",
"mxcl_led_m": 0,
"net_trig": 2,
"netled_lv": 0,
"netled_pin": 26,
"netn_led": 0,
"nety_led": 1,
"rand_dpid": 43,
"reset_t": 3,
"reuse_led_m": 0,
"rl1_lv": 1,
"rl1_pin": 24,
"rl2_lv": 1,
"rl2_pin": 8,
"rl_type": 0,
"total_bt_lv": 0,
"total_bt_pin": 6,
"total_stat": 2
}
}
17 changes: 17 additions & 0 deletions profiles/oem-bk7231s-rnd-switch-2.0.1-sdk-2.0.0-30.05.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "2.0.1 - BK7231T",
"sub_name": "oem_bk7231s_rnd_switch",
"type": "CLASSIC",
"icon": "toggle-switch-outline",
"firmware": {
"chip": "BK7231T",
"name": "oem_bk7231s_rnd_switch",
"version": "2.0.1",
"sdk": "2.0.0-30.05",
"key": "keya4gvchmtapm8n"
},
"data": {
"address_finish": "0x97537",
"address_datagram": "0x8C9DB"
}
}

0 comments on commit 08d50e9

Please sign in to comment.