Skip to content

Commit

Permalink
New device - Tuya Generic 3-Gang Light Switch v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Nov 1, 2024
1 parent b955156 commit 625783f
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 0 deletions.
263 changes: 263 additions & 0 deletions devices/tuya-generic-3-gang-light-switch-v1.0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
{
"manufacturer": "Tuya Generic",
"name": "3-Gang Light Switch v1.0.1",
"key": "keyfk4gt95hqky4p",
"ap_ssid": "SmartLife",
"github_issues": [],
"image_urls": [
"tuya-generic-3-gang-light-switch-v1.0.1.jpg"
],
"profiles": [
"oem-bk7231n-switch-remote-1.0.1-sdk-2.3.1-40.00"
],
"schemas": {
"000004cnb1": [
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 1,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 2,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 3,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 7,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 8,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 9,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"off",
"on",
"memory"
],
"type": "enum"
},
"id": 14,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"none",
"relay",
"pos"
],
"type": "enum"
},
"id": 15,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 16,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 17,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 18,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 19,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"switch",
"linkage_control"
],
"type": "enum"
},
"id": 35,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"switch",
"linkage_control"
],
"type": "enum"
},
"id": 36,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"switch",
"linkage_control"
],
"type": "enum"
},
"id": 37,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"single_click",
"double_click",
"long_press"
],
"type": "enum"
},
"id": 41,
"trigger": "direct",
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"single_click",
"double_click",
"long_press"
],
"type": "enum"
},
"id": 42,
"trigger": "direct",
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"single_click",
"double_click",
"long_press"
],
"type": "enum"
},
"id": 43,
"trigger": "direct",
"type": "obj"
}
]
},
"device_configuration": {
"backlit_dp": 16,
"backlit_io_lv": 1,
"backlit_io_pin": 28,
"backlit_select": 1,
"bt1_lv": 0,
"bt1_pin": 6,
"bt2_lv": 0,
"bt2_pin": 9,
"bt3_lv": 0,
"bt3_pin": 16,
"bt_type": 1,
"cd_flag2": 1,
"ch_cddpid1": 7,
"ch_cddpid2": 8,
"ch_cddpid3": 9,
"ch_dpid1": 1,
"ch_dpid2": 2,
"ch_dpid3": 3,
"ch_flag1": 1,
"ch_flag3": 1,
"ch_num": 3,
"crc": 123,
"cyc_dpid": 17,
"inch_dp": 19,
"init_conf": 14,
"jv": "1.0.0",
"led1_lv": 1,
"led1_pin": 8,
"led2_lv": 1,
"led2_pin": 15,
"led3_lv": 1,
"led3_pin": 26,
"led_dp": 15,
"light_status_select": 1,
"module": "CBU",
"net_trig": 4,
"rand_dpid": 18,
"reset_t": 6,
"rl1_lv": 1,
"rl1_pin": 7,
"rl2_lv": 1,
"rl2_pin": 14,
"rl3_lv": 1,
"rl3_pin": 17,
"total_stat": 2
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions profiles/oem-bk7231n-switch-remote-1.0.1-sdk-2.3.1-40.00.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "1.0.1 - BK7231N",
"sub_name": "oem_bk7231n_switch_remote",
"type": "CLASSIC",
"icon": "toggle-switch-outline",
"firmware": {
"chip": "BK7231N",
"name": "oem_bk7231n_switch_remote",
"version": "1.0.1",
"sdk": "2.3.1-40.00",
"key": "keyfk4gt95hqky4p"
},
"data": {
"address_finish": "0x1B5AF",
"address_ssid": "0xC63C5",
"address_ssid_padding": 4
}
}

0 comments on commit 625783f

Please sign in to comment.