From fcb3e92b9203dbd3144d1787197f8b6a8c0e99ea Mon Sep 17 00:00:00 2001 From: Cossid Date: Sat, 16 Sep 2023 12:23:38 -0500 Subject: [PATCH] Update device - Correct schema for Qiachip FLC-220VFLC-110V Light and Fan Controller --- ...220vflc-110v-light-and-fan-controller.json | 350 ++---------------- ...220vflc-110v-light-and-fan-controller.jpg} | Bin 2 files changed, 37 insertions(+), 313 deletions(-) rename images/{qiachip-light-fan-controller-flc-220vflc-110v.jpg => qiachip-flc-220vflc-110v-light-and-fan-controller.jpg} (100%) diff --git a/devices/qiachip-flc-220vflc-110v-light-and-fan-controller.json b/devices/qiachip-flc-220vflc-110v-light-and-fan-controller.json index c06660dd..30441322 100644 --- a/devices/qiachip-flc-220vflc-110v-light-and-fan-controller.json +++ b/devices/qiachip-flc-220vflc-110v-light-and-fan-controller.json @@ -1,370 +1,94 @@ { "manufacturer": "Qiachip", "name": "FLC-220VFLC-110V Light and Fan Controller", + "key": "fcldsaadc3hzf9ey", + "ap_ssid": "SmartLife", "github_issues": [ 86 ], "image_urls": [ - "qiachip-light-fan-controller-flc-220vflc-110v.jpg" + "qiachip-flc-220vflc-110v-light-and-fan-controller.jpg" ], "profiles": [ "bk7231n-common-user-config-ty-2.0.2-sdk-2.3.1-40.00" ], "schemas": { - "000003ku5l": [ + "0000001lpc": [ { - "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": { - "type": "bool" - }, - "id": 4 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "type": "bool" - }, - "id": 5 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "type": "bool" - }, - "id": 6 - }, - { - "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": { - "min": 0, - "max": 86400, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 11 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "min": 0, - "max": 86400, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 12 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "min": 0, - "max": 86400, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 13 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "min": 0, - "max": 86400, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 14 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 50000, - "scale": 3, - "step": 100, - "type": "value" - }, - "id": 17 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 30000, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 18 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 50000, - "scale": 1, - "step": 1, - "type": "value" - }, - "id": 19 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 5000, - "scale": 1, - "step": 1, - "type": "value" - }, - "id": 20 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 5, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 21 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 1000000, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 22 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 1000000, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 23 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 1000000, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 24 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "min": 0, - "max": 1000000, - "scale": 0, - "step": 1, - "type": "value" - }, - "id": 25 - }, - { - "type": "obj", - "mode": "ro", - "property": { - "type": "bitmap", - "maxlen": 1 - }, - "id": 26 + "id": 1, + "type": "obj" }, { - "type": "obj", "mode": "rw", "property": { "range": [ - "0", "1", - "2" - ], - "type": "enum" - }, - "id": 38 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "range": [ - "none", - "relay", - "pos" + "2", + "3" ], "type": "enum" }, - "id": 39 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "type": "string", - "maxlen": 255 - }, - "id": 41 - }, - { - "type": "obj", - "mode": "rw", - "property": { - "type": "string", - "maxlen": 255 - }, - "id": 42 - }, - { - "mode": "rw", - "property": { - "type": "string", - "maxlen": 255 - }, - "id": 43, - "type": "obj" - }, - { - "mode": "rw", - "property": { - "type": "bool" - }, - "id": 44, + "id": 3, "type": "obj" }, { "mode": "rw", "property": { "range": [ - "off", - "level_1", - "level_2", - "level_3", - "level_4", - "level_5" + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "16" ], "type": "enum" }, - "id": 45, + "id": 6, "type": "obj" }, { - "mode": "rw", + "mode": "ro", "property": { "min": 0, - "max": 86400, + "max": 960, "scale": 0, "step": 1, "type": "value" }, - "id": 46, + "id": 7, "type": "obj" }, { "mode": "rw", "property": { - "range": [ - "flip", - "sync", - "button" - ], - "type": "enum" + "type": "bool" }, - "id": 47, + "id": 9, "type": "obj" }, { "mode": "rw", - "id": 48, - "type": "raw" - }, - { - "mode": "rw", - "id": 49, - "type": "raw" - }, - { - "mode": "rw", - "id": 50, - "type": "raw" + "property": { + "type": "bool" + }, + "id": 17, + "type": "obj" } ] } diff --git a/images/qiachip-light-fan-controller-flc-220vflc-110v.jpg b/images/qiachip-flc-220vflc-110v-light-and-fan-controller.jpg similarity index 100% rename from images/qiachip-light-fan-controller-flc-220vflc-110v.jpg rename to images/qiachip-flc-220vflc-110v-light-and-fan-controller.jpg