From 9d6d8c42ca521a1bd8724269d74d95368be3cffe Mon Sep 17 00:00:00 2001 From: Cossid Date: Fri, 29 Nov 2024 09:54:41 -0600 Subject: [PATCH] Update split profile. --- ...sps5-smart-wifi-switch-3-gang-v1.0.5.json} | 2 +- ...lsps5-smart-wifi-switch-3-gang-v1.1.0.json | 160 ++++++++++++++++++ ...1n-dctrl-switch-1.0.5-sdk-2.3.1-40.00.json | 5 +- 3 files changed, 164 insertions(+), 3 deletions(-) rename devices/{tuya-generic-lsps5-smart-wifi-switch-3-gang.json => tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.0.5.json} (97%) create mode 100644 devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.1.0.json diff --git a/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang.json b/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.0.5.json similarity index 97% rename from devices/tuya-generic-lsps5-smart-wifi-switch-3-gang.json rename to devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.0.5.json index aeab2228..654dff1f 100644 --- a/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang.json +++ b/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.0.5.json @@ -1,6 +1,6 @@ { "manufacturer": "Tuya Generic", - "name": "LSPS5 Smart Wifi Switch 3-Gang", + "name": "LSPS5 Smart Wifi Switch 3-Gang v1.0.5", "key": "key5ckdnys3pqgec", "ap_ssid": "SmartLife", "github_issues": [ diff --git a/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.1.0.json b/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.1.0.json new file mode 100644 index 00000000..13f109d0 --- /dev/null +++ b/devices/tuya-generic-lsps5-smart-wifi-switch-3-gang-v1.1.0.json @@ -0,0 +1,160 @@ +{ + "manufacturer": "Tuya Generic", + "name": "LSPS5 Smart Wifi Switch 3-Gang v1.1.0", + "key": "key5ckdnys3pqgec", + "ap_ssid": "SmartLife", + "github_issues": [ + 59 + ], + "image_urls": [], + "profiles": [ + "oem-bk7231n-dctrl-switch-1.1.0-sdk-2.3.1-40.00" + ], + "schemas": { + "000003efws": [ + { + "type": "obj", + "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": { + "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 + } + ] + }, + "device_configuration": { + "backlit_dp": 16, + "backlit_select": 0, + "bt1_lv": 0, + "bt1_pin": 14, + "bt2_lv": 0, + "bt2_pin": 26, + "bt3_lv": 0, + "bt3_pin": 24, + "bt_type": 0, + "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": 111, + "cyc_dpid": 17, + "inch_dp": 19, + "init_conf": 14, + "jv": "1.0.0", + "led_dp": 15, + "light_status_select": 0, + "module": "CB3S", + "net_trig": 2, + "netled_lv": 0, + "netled_pin": 6, + "netn_led": 0, + "nety_led": 1, + "rand_dpid": 18, + "reset_t": 5, + "rl1_lv": 1, + "rl1_pin": 7, + "rl2_lv": 1, + "rl2_pin": 8, + "rl3_lv": 1, + "rl3_pin": 9, + "total_stat": 2 + } +} diff --git a/profiles/oem-bk7231n-dctrl-switch-1.0.5-sdk-2.3.1-40.00.json b/profiles/oem-bk7231n-dctrl-switch-1.0.5-sdk-2.3.1-40.00.json index 56bae1df..1f37ae25 100644 --- a/profiles/oem-bk7231n-dctrl-switch-1.0.5-sdk-2.3.1-40.00.json +++ b/profiles/oem-bk7231n-dctrl-switch-1.0.5-sdk-2.3.1-40.00.json @@ -2,7 +2,7 @@ "name": "1.0.5 - BK7231N", "sub_name": "oem_bk7231n_dctrl_switch", "type": "CLASSIC", - "icon": "light-switch-off", + "icon": "toggle-switch-outline", "firmware": { "chip": "BK7231N", "name": "oem_bk7231n_dctrl_switch", @@ -12,6 +12,7 @@ }, "data": { "address_finish": "0x1B4A3", - "address_ssid": "0xC9269" + "address_ssid": "0xC9269", + "address_ssid_padding": 4 } }