From 22b0db24904509b5535b84e99a1be39a391761ee Mon Sep 17 00:00:00 2001 From: Cossid Date: Tue, 17 Dec 2024 21:10:12 -0600 Subject: [PATCH] New device - Tuya Generic RGBCT Bulb v1.3.20 --- devices/tuya-generic-rgbct-bulb-v1.3.20.json | 207 ++++++++++++++++++ ...7231n-light-ty-1.3.20-sdk-2.3.3-40.00.json | 18 ++ 2 files changed, 225 insertions(+) create mode 100644 devices/tuya-generic-rgbct-bulb-v1.3.20.json create mode 100644 profiles/oem-bk7231n-light-ty-1.3.20-sdk-2.3.3-40.00.json diff --git a/devices/tuya-generic-rgbct-bulb-v1.3.20.json b/devices/tuya-generic-rgbct-bulb-v1.3.20.json new file mode 100644 index 00000000..4617008c --- /dev/null +++ b/devices/tuya-generic-rgbct-bulb-v1.3.20.json @@ -0,0 +1,207 @@ +{ + "manufacturer": "Tuya Generic", + "name": "RGBCT Bulb v1.3.20", + "key": "key8u54q9dtru5jw", + "ap_ssid": "SmartLife", + "github_issues": [], + "image_urls": [], + "profiles": [ + "oem-bk7231n-light-ty-1.3.20-sdk-2.3.3-40.00" + ], + "schemas": { + "0000035lwi": [ + { + "type": "obj", + "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": "rw", + "property": { + "min": 0, + "max": 86400, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 26 + }, + { + "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": "string", + "maxlen": 255 + }, + "id": 29 + }, + { + "mode": "rw", + "id": 30, + "type": "raw" + }, + { + "mode": "rw", + "id": 31, + "type": "raw" + }, + { + "mode": "rw", + "id": 32, + "type": "raw" + }, + { + "mode": "rw", + "id": 33, + "type": "raw" + }, + { + "type": "obj", + "mode": "rw", + "property": { + "type": "bool" + }, + "id": 34 + }, + { + "mode": "rw", + "id": 209, + "type": "raw" + }, + { + "mode": "rw", + "id": 210, + "type": "raw" + } + ] + }, + "device_configuration": { + "Jsonver": "1.0.0", + "b_lv": 1, + "b_pin": 7, + "brightmax": 100, + "brightmin": 10, + "c_lv": 1, + "c_pin": 26, + "cagt": 20, + "category": "0505", + "cmod": "rgbcw", + "colormax": 100, + "colormin": 10, + "colorpfun": 0, + "crc": 48, + "cwmaxp": 100, + "cwtype": 0, + "defbright": 100, + "defcolor": "c", + "deftemp": 100, + "dmod": 0, + "g_lv": 1, + "g_pin": 24, + "gmkb": 60, + "gmkg": 60, + "gmkr": 80, + "gmwb": 75, + "gmwg": 70, + "gmwr": 100, + "mixway": 0, + "module": "CBU", + "notdisturb": 0, + "onoffmode": 0, + "pmemory": 1, + "prodagain": 1, + "pwmhz": 5000, + "r_lv": 1, + "r_pin": 8, + "remdmode": 0, + "rgbt": 10, + "rstbr": 50, + "rstcor": "c", + "rstnum": 5, + "rsttemp": 100, + "title20": 0, + "w_lv": 1, + "w_pin": 6, + "wfcfg": "spcl_auto", + "wfct": 3, + "wt": 20 + } +} diff --git a/profiles/oem-bk7231n-light-ty-1.3.20-sdk-2.3.3-40.00.json b/profiles/oem-bk7231n-light-ty-1.3.20-sdk-2.3.3-40.00.json new file mode 100644 index 00000000..84092240 --- /dev/null +++ b/profiles/oem-bk7231n-light-ty-1.3.20-sdk-2.3.3-40.00.json @@ -0,0 +1,18 @@ +{ + "name": "1.3.20 - BK7231N", + "sub_name": "oem_bk7231n_light_ty", + "type": "CLASSIC", + "icon": "lightbulb-outline", + "firmware": { + "chip": "BK7231N", + "name": "oem_bk7231n_light_ty", + "version": "1.3.20", + "sdk": "2.3.3-40.00", + "key": "key8u54q9dtru5jw" + }, + "data": { + "address_finish": "0x1B59B", + "address_ssid": "0xD7A09", + "address_ssid_padding": 4 + } +}