diff --git a/devices/treatlife-nl10-bedside-lamp.json b/devices/treatlife-nl10-bedside-lamp-v2.0.6.json similarity index 96% rename from devices/treatlife-nl10-bedside-lamp.json rename to devices/treatlife-nl10-bedside-lamp-v2.0.6.json index 2a0913eb..58706008 100644 --- a/devices/treatlife-nl10-bedside-lamp.json +++ b/devices/treatlife-nl10-bedside-lamp-v2.0.6.json @@ -1,13 +1,13 @@ { "manufacturer": "Treatlife", - "name": "NL10 Bedside Lamp", + "name": "NL10 Bedside Lamp v2.0.6", "key": "dxkmsiimcumdkoxb", "ap_ssid": "TreatLife-SL", "github_issues": [ 35 ], "image_urls": [ - "treatlife-nl10.jpg" + "treatlife-nl10-bedside-lamp-v2.0.6.jpg" ], "profiles": [ "wb3s-rmd-night-light-2.0.6-sdk-2.0.0-30.06" diff --git a/devices/treatlife-nl10-bedside-lamp-v2.0.8.json b/devices/treatlife-nl10-bedside-lamp-v2.0.8.json new file mode 100644 index 00000000..326c2fff --- /dev/null +++ b/devices/treatlife-nl10-bedside-lamp-v2.0.8.json @@ -0,0 +1,161 @@ +{ + "manufacturer": "Treatlife", + "name": "NL10 Bedside Lamp v2.0.8", + "key": "dxkmsiimcumdkoxb", + "ap_ssid": "TreatLife-SL", + "github_issues": [], + "image_urls": [ + "treatlife-nl10-bedside-lamp-v2.0.8.jpg" + ], + "profiles": [ + "wb3s-rmd-night-light-2.0.8-sdk-2.0.0-30.06" + ], + "schemas": { + "000002jjjr": [ + { + "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 + }, + { + "mode": "rw", + "id": 30, + "type": "raw" + }, + { + "mode": "rw", + "id": 31, + "type": "raw" + }, + { + "mode": "rw", + "id": 32, + "type": "raw" + } + ] + }, + "device_configuration": { + "Jsonver": "1.1.0", + "b_lv": 1, + "b_pin": 26, + "brightmax": 100, + "brightmin": 10, + "c_lv": 1, + "c_pin": 8, + "cmod": "rgbcw", + "colormax": 100, + "colormin": 15, + "cwmaxp": 100, + "cwtype": 0, + "defbright": 100, + "defcolor": "c", + "deftemp": 100, + "dmod": 0, + "g_lv": 1, + "g_pin": 24, + "module": "WB3S", + "onoffmode": 0, + "pmemory": 1, + "pwmhz": 1000, + "r_lv": 1, + "r_pin": 9, + "rstbr": 50, + "rstcor": "c", + "rstmode": 0, + "rstnum": 3, + "rsttemp": 100, + "title20": 0, + "w_lv": 1, + "w_pin": 6, + "wfcfg": "spcl" + } +} diff --git a/images/treatlife-nl10.jpg b/images/treatlife-nl10-bedside-lamp-v2.0.6.jpg similarity index 100% rename from images/treatlife-nl10.jpg rename to images/treatlife-nl10-bedside-lamp-v2.0.6.jpg diff --git a/images/treatlife-nl10-bedside-lamp-v2.0.8.jpg b/images/treatlife-nl10-bedside-lamp-v2.0.8.jpg new file mode 100644 index 00000000..ea0df141 Binary files /dev/null and b/images/treatlife-nl10-bedside-lamp-v2.0.8.jpg differ diff --git a/profiles/wb3s-rmd-night-light-2.0.8-sdk-2.0.0-30.06.json b/profiles/wb3s-rmd-night-light-2.0.8-sdk-2.0.0-30.06.json new file mode 100644 index 00000000..468253ac --- /dev/null +++ b/profiles/wb3s-rmd-night-light-2.0.8-sdk-2.0.0-30.06.json @@ -0,0 +1,17 @@ +{ + "name": "2.0.8 - BK7231T", + "sub_name": "WB3S_RMD_Night_Light", + "type": "CLASSIC", + "icon": "memory", + "firmware": { + "chip": "BK7231T", + "name": "WB3S_RMD_Night_Light", + "version": "2.0.8", + "sdk": "2.0.0-30.06", + "key": "dxkmsiimcumdkoxb" + }, + "data": { + "address_finish": "0x9CCDF", + "address_datagram": "0x8F8FB" + } +}