diff --git a/DEVICES/tuya/dump/devices.json b/DEVICES/tuya/dump/devices.json new file mode 100644 index 0000000..66e0596 --- /dev/null +++ b/DEVICES/tuya/dump/devices.json @@ -0,0 +1,2250 @@ +[ + { + "name": "Plug", + "id": "4707834434ab951e83f0", + "key": "UxXEd0:L3t+!UF6T", + "mac": "34:ab:95:1e:83:f0", + "uuid": "4707834434ab951e83f0", + "category": "cz", + "product_name": "\u667a\u80fd\u63d2\u5ea7", + "product_id": "fe5favgtml4nx1ga", + "biz_type": 18, + "model": "", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1677130922441Tlce/acdb4bdc1d84c23482a33fb31f7d3657.png", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "17": { + "code": "add_ele", + "type": "Integer", + "values": { + "unit": "kwh", + "min": 0, + "max": 50000, + "scale": 3, + "step": 100 + } + }, + "18": { + "code": "cur_current", + "type": "Integer", + "values": { + "unit": "mA", + "min": 0, + "max": 30000, + "scale": 0, + "step": 1 + } + }, + "19": { + "code": "cur_power", + "type": "Integer", + "values": { + "unit": "W", + "min": 0, + "max": 50000, + "scale": 1, + "step": 1 + } + }, + "20": { + "code": "cur_voltage", + "type": "Integer", + "values": { + "unit": "V", + "min": 0, + "max": 5000, + "scale": 1, + "step": 1 + } + } + } + }, + { + "name": "entry", + "id": "bf129639527a091dc7hl7w", + "key": "23791f6e9cbd7452", + "mac": "1c:90:ff:2e:ca:50", + "uuid": "b279b8d87541f19d", + "category": "dj", + "product_name": "Smart Bulb", + "product_id": "k3okx0w3bsgmindp", + "biz_type": 18, + "model": "cb2l", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "name": "Office", + "id": "bf3b1af26e735e8e824rvv", + "key": "}r+o4jkIVIWOVObr", + "mac": "c4:82:e1:89:8c:d6", + "uuid": "40740a95987f7048", + "category": "cz", + "product_name": "Smart plug", + "product_id": "laxfewv8usuzamsg", + "biz_type": 18, + "model": "", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/ay1531122507771gALCb/8d552954b42256ef280f6351dfbec704.png", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "17": { + "code": "add_ele", + "type": "Integer", + "values": { + "unit": "kwh", + "min": 0, + "max": 50000, + "scale": 3, + "step": 100 + } + }, + "18": { + "code": "cur_current", + "type": "Integer", + "values": { + "unit": "mA", + "min": 0, + "max": 30000, + "scale": 0, + "step": 1 + } + }, + "19": { + "code": "cur_power", + "type": "Integer", + "values": { + "unit": "W", + "min": 0, + "max": 50000, + "scale": 1, + "step": 1 + } + }, + "20": { + "code": "cur_voltage", + "type": "Integer", + "values": { + "unit": "V", + "min": 0, + "max": 5000, + "scale": 1, + "step": 1 + } + } + } + }, + { + "name": "grow office", + "id": "bf20f7fc5e91e534c5n4l6", + "key": "Q5TR]eK]Ty15/ova", + "mac": "1c:90:ff:2f:02:7a", + "uuid": "af1db62bfcdfe88a", + "category": "dj", + "product_name": "Smart Bulb", + "product_id": "k3okx0w3bsgmindp", + "biz_type": 18, + "model": "cb2l", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "name": "office side", + "id": "bf2cdc48a1f291ac9doyte", + "key": "4f6f6426f789832a", + "mac": "10:5a:17:71:85:72", + "uuid": "45535e7e2e5d7d24", + "sn": "CCHIPTY210000707A", + "category": "dj", + "product_name": "Smart Bulb", + "product_id": "k3okx0w3bsgmindp", + "biz_type": 18, + "model": "cb2l", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "name": "couch suspension", + "id": "bf325fc2c829e74e98ylc9", + "key": "?&L*%7>c(dQ?|v^o", + "mac": "1c:90:ff:53:3c:30", + "uuid": "29379910e4ba6f75", + "category": "dj", + "product_name": "Smart Bulb", + "product_id": "k3okx0w3bsgmindp", + "biz_type": 18, + "model": "cb2l", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "name": "Aubess Smart Switch 1-gang 2", + "id": "bf91cdd72624206ba5nqps", + "key": "Z7drOvHOO~BPVv|p", + "mac": "c4:82:e1:3e:7a:95", + "uuid": "12c6269dbb5de598", + "category": "tdq", + "product_name": "Aubess Smart Switch 1-gang", + "product_id": "asinhxudouvo32mi", + "biz_type": 18, + "model": "Aubess Smart Switch WZ-cob", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1624869296421wDFy/33b52ad8e30c7919bfd1ac69705f80f8.png", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "38": { + "code": "relay_status", + "type": "Enum", + "values": { + "range": [ + "0", + "1", + "2" + ] + } + }, + "42": { + "code": "random_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "43": { + "code": "cycle_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "44": { + "code": "switch_inching", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "47": { + "code": "switch_type", + "type": "Enum", + "values": { + "range": [ + "flip", + "sync", + "button" + ] + } + } + } + }, + { + "name": "Smart IR", + "id": "bfa98006ee9f9b0861f2or", + "key": "){$R", + "mac": "c4:82:e1:1e:00:a8", + "uuid": "eba6caa85441b946", + "category": "tdq", + "product_name": "Mini Smart switch", + "product_id": "vs4ksbpax2dwwm6a", + "biz_type": 18, + "model": "Mini Smart switch", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/ay15107356719526e3ps/2bde95de02bc8bb76a5c15e675226825.jpg", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "38": { + "code": "relay_status", + "type": "Enum", + "values": { + "range": [ + "0", + "1", + "2" + ] + } + }, + "42": { + "code": "random_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "43": { + "code": "cycle_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "44": { + "code": "switch_inching", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "47": { + "code": "switch_type", + "type": "Enum", + "values": { + "range": [ + "flip", + "sync", + "button" + ] + } + } + } + }, + { + "name": "Bluetooth Temperature Humidity Sensor", + "id": "bfdd6aslz8pmlsn5", + "key": "s|>#n&QBHo.fPI;*", + "mac": "DC:23:4F:D9:BF:8C", + "uuid": "uuid2598abfc0ccc", + "category": "wsdcg", + "product_name": "Bluetooth Temperature Humidity Sensor", + "product_id": "iv7hudlj", + "biz_type": 18, + "model": "UA660-WL-B0", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/ay1497491823009SFeNH/a5180b7191119f5edbf621a7ba21b084.png", + "mapping": { + "1": { + "code": "va_temperature", + "type": "Integer", + "values": { + "unit": "\u00b0C", + "min": -99, + "max": 600, + "scale": 1, + "step": 1 + } + }, + "2": { + "code": "va_humidity", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "4": { + "code": "battery_percentage", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "9": { + "code": "temp_unit_convert", + "type": "Enum", + "values": { + "range": [ + "c", + "f" + ] + } + }, + "10": { + "code": "maxtemp_set", + "type": "Integer", + "values": { + "unit": "\u00b0C", + "min": -99, + "max": 600, + "scale": 1, + "step": 1 + } + }, + "11": { + "code": "minitemp_set", + "type": "Integer", + "values": { + "unit": "\u00b0C", + "min": -99, + "max": 600, + "scale": 1, + "step": 1 + } + }, + "12": { + "code": "maxhum_set", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "13": { + "code": "minihum_set", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "14": { + "code": "temp_alarm", + "type": "Enum", + "values": { + "range": [ + "loweralarm", + "upperalarm", + "cancel" + ] + } + }, + "15": { + "code": "hum_alarm", + "type": "Enum", + "values": { + "range": [ + "loweralarm", + "upperalarm", + "cancel" + ] + } + } + } + }, + { + "name": "grow light", + "id": "bff0d3f8599613016d3u1b", + "key": "a972b05382a56bd3", + "mac": "a0:92:08:3b:d7:41", + "uuid": "433dac9068285c46", + "sn": "KCPDF28PX0065A", + "category": "dj", + "product_name": "Smart Light RGBCW", + "product_id": "xbusjbpn9nbsjfjo", + "biz_type": 18, + "model": "Smart Light RGBCW", + "sub": false, + "icon": "https://images.tuyaeu.com/smart/icon/bay1614221897694mnu5/1656576021d3e1b8d747a.jpg", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "41": { + "code": "remote_switch", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + } +] \ No newline at end of file diff --git a/DEVICES/tuya/dump/snapshot.json b/DEVICES/tuya/dump/snapshot.json new file mode 100644 index 0000000..f595195 --- /dev/null +++ b/DEVICES/tuya/dump/snapshot.json @@ -0,0 +1,4 @@ +{ + "timestamp": 1705696635.3939228, + "devices": [] +} \ No newline at end of file diff --git a/DEVICES/tuya/dump/tinytuya.json b/DEVICES/tuya/dump/tinytuya.json new file mode 100644 index 0000000..c9bc221 --- /dev/null +++ b/DEVICES/tuya/dump/tinytuya.json @@ -0,0 +1,6 @@ +{ + "apiKey": "sgmmetqkkcpgjgadwq9d", + "apiSecret": "d2933bb80a584449ad4a6c857c72a76f", + "apiRegion": "eu", + "apiDeviceID": "bfe8d5f621ce8a05e6yaw4" +} \ No newline at end of file diff --git a/DEVICES/tuya/dump/tuya-raw.json b/DEVICES/tuya/dump/tuya-raw.json new file mode 100644 index 0000000..15b004a --- /dev/null +++ b/DEVICES/tuya/dump/tuya-raw.json @@ -0,0 +1,2981 @@ +{ + "result": [ + { + "active_time": 1703963451, + "biz_type": 18, + "category": "cz", + "create_time": 1703963451, + "icon": "smart/icon/bay1677130922441Tlce/acdb4bdc1d84c23482a33fb31f7d3657.png", + "id": "4707834434ab951e83f0", + "ip": "92.247.170.10", + "lat": "42.6500", + "local_key": "UxXEd0:L3t+!UF6T", + "lon": "23.3400", + "model": "", + "name": "Plug", + "online": true, + "owner_id": "81282274", + "product_id": "fe5favgtml4nx1ga", + "product_name": "\u667a\u80fd\u63d2\u5ea7", + "status": [ + { + "code": "switch_1", + "value": false + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "add_ele", + "value": 0 + }, + { + "code": "cur_current", + "value": 0 + }, + { + "code": "cur_power", + "value": 0 + }, + { + "code": "cur_voltage", + "value": 0 + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705694980, + "uuid": "4707834434ab951e83f0", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "17": { + "code": "add_ele", + "type": "Integer", + "values": { + "unit": "kwh", + "min": 0, + "max": 50000, + "scale": 3, + "step": 100 + } + }, + "18": { + "code": "cur_current", + "type": "Integer", + "values": { + "unit": "mA", + "min": 0, + "max": 30000, + "scale": 0, + "step": 1 + } + }, + "19": { + "code": "cur_power", + "type": "Integer", + "values": { + "unit": "W", + "min": 0, + "max": 50000, + "scale": 1, + "step": 1 + } + }, + "20": { + "code": "cur_voltage", + "type": "Integer", + "values": { + "unit": "V", + "min": 0, + "max": 5000, + "scale": 1, + "step": 1 + } + } + } + }, + { + "active_time": 1678032633, + "biz_type": 18, + "category": "dj", + "create_time": 1678032633, + "icon": "smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "id": "bf129639527a091dc7hl7w", + "ip": "92.247.170.10", + "lat": "42.6500", + "local_key": "23791f6e9cbd7452", + "lon": "23.3400", + "model": "cb2l", + "name": "entry", + "online": true, + "owner_id": "81282274", + "product_id": "k3okx0w3bsgmindp", + "product_name": "Smart Bulb", + "status": [ + { + "code": "switch_led", + "value": false + }, + { + "code": "work_mode", + "value": "white" + }, + { + "code": "bright_value_v2", + "value": 1000 + }, + { + "code": "temp_value_v2", + "value": 1000 + }, + { + "code": "colour_data_v2", + "value": "{\"h\":0,\"s\":1000,\"v\":1000}" + }, + { + "code": "scene_data_v2", + "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}" + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "music_data", + "value": "" + }, + { + "code": "control_data", + "value": "" + }, + { + "code": "rhythm_mode", + "value": "AAAAAAA=" + }, + { + "code": "sleep_mode", + "value": "AAA=" + }, + { + "code": "wakeup_mode", + "value": "AAA=" + }, + { + "code": "power_memory", + "value": "AAEAAAPoA+gD6APo" + }, + { + "code": "do_not_disturb", + "value": false + }, + { + "code": "cycle_timing", + "value": "AAAA" + }, + { + "code": "random_timing", + "value": "AAAA" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705694979, + "uuid": "b279b8d87541f19d", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "active_time": 1703965976, + "biz_type": 18, + "category": "cz", + "create_time": 1703965976, + "icon": "smart/icon/ay1531122507771gALCb/8d552954b42256ef280f6351dfbec704.png", + "id": "bf3b1af26e735e8e824rvv", + "ip": "92.247.170.10", + "lat": "42.6500", + "local_key": "}r+o4jkIVIWOVObr", + "lon": "23.3400", + "model": "", + "name": "Office", + "online": true, + "owner_id": "81282274", + "product_id": "laxfewv8usuzamsg", + "product_name": "Smart plug", + "status": [ + { + "code": "switch_1", + "value": true + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "add_ele", + "value": 61 + }, + { + "code": "cur_current", + "value": 565 + }, + { + "code": "cur_power", + "value": 1154 + }, + { + "code": "cur_voltage", + "value": 2403 + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705694979, + "uuid": "40740a95987f7048", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "17": { + "code": "add_ele", + "type": "Integer", + "values": { + "unit": "kwh", + "min": 0, + "max": 50000, + "scale": 3, + "step": 100 + } + }, + "18": { + "code": "cur_current", + "type": "Integer", + "values": { + "unit": "mA", + "min": 0, + "max": 30000, + "scale": 0, + "step": 1 + } + }, + "19": { + "code": "cur_power", + "type": "Integer", + "values": { + "unit": "W", + "min": 0, + "max": 50000, + "scale": 1, + "step": 1 + } + }, + "20": { + "code": "cur_voltage", + "type": "Integer", + "values": { + "unit": "V", + "min": 0, + "max": 5000, + "scale": 1, + "step": 1 + } + } + } + }, + { + "active_time": 1699780329, + "biz_type": 18, + "category": "dj", + "create_time": 1679333936, + "icon": "smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "id": "bf20f7fc5e91e534c5n4l6", + "ip": "92.247.170.10", + "lat": "42.6500", + "local_key": "Q5TR]eK]Ty15/ova", + "lon": "23.3400", + "model": "cb2l", + "name": "grow office", + "online": true, + "owner_id": "81282274", + "product_id": "k3okx0w3bsgmindp", + "product_name": "Smart Bulb", + "status": [ + { + "code": "switch_led", + "value": false + }, + { + "code": "work_mode", + "value": "white" + }, + { + "code": "bright_value_v2", + "value": 1000 + }, + { + "code": "temp_value_v2", + "value": 506 + }, + { + "code": "colour_data_v2", + "value": "{\"h\":0,\"s\":1000,\"v\":1000}" + }, + { + "code": "scene_data_v2", + "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}" + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "music_data", + "value": "" + }, + { + "code": "control_data", + "value": "" + }, + { + "code": "rhythm_mode", + "value": "AAAAAAA=" + }, + { + "code": "sleep_mode", + "value": "AAA=" + }, + { + "code": "wakeup_mode", + "value": "AAA=" + }, + { + "code": "power_memory", + "value": "AAEAAAPoA+gD6AH6" + }, + { + "code": "do_not_disturb", + "value": false + }, + { + "code": "cycle_timing", + "value": "AAAA" + }, + { + "code": "random_timing", + "value": "AAAA" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705694978, + "uuid": "af1db62bfcdfe88a", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "active_time": 1676064764, + "biz_type": 18, + "category": "dj", + "create_time": 1676064764, + "icon": "smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "id": "bf2cdc48a1f291ac9doyte", + "ip": "92.247.170.10", + "lat": "42.6500", + "local_key": "4f6f6426f789832a", + "lon": "23.3400", + "model": "cb2l", + "name": "office side", + "online": true, + "owner_id": "81282274", + "product_id": "k3okx0w3bsgmindp", + "product_name": "Smart Bulb", + "status": [ + { + "code": "switch_led", + "value": true + }, + { + "code": "work_mode", + "value": "white" + }, + { + "code": "bright_value_v2", + "value": 128 + }, + { + "code": "temp_value_v2", + "value": 236 + }, + { + "code": "colour_data_v2", + "value": "{\"h\":54,\"s\":1000,\"v\":10}" + }, + { + "code": "scene_data_v2", + "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}" + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "music_data", + "value": "" + }, + { + "code": "control_data", + "value": "" + }, + { + "code": "rhythm_mode", + "value": "AAAAAAA=" + }, + { + "code": "sleep_mode", + "value": "AAA=" + }, + { + "code": "wakeup_mode", + "value": "AAA=" + }, + { + "code": "power_memory", + "value": "AAEANgPoAAoAgADs" + }, + { + "code": "do_not_disturb", + "value": false + }, + { + "code": "cycle_timing", + "value": "AAAA" + }, + { + "code": "random_timing", + "value": "AAAA" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705694976, + "uuid": "45535e7e2e5d7d24", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "active_time": 1695756447, + "biz_type": 18, + "category": "dj", + "create_time": 1677533078, + "icon": "smart/icon/bay1628652352170c2wS/ebc84cdd571f2750d5263fb3148f4799.jpg", + "id": "bf325fc2c829e74e98ylc9", + "ip": "92.247.170.10", + "lat": "42.6538", + "local_key": "?&L*%7>c(dQ?|v^o", + "lon": "23.3400", + "model": "cb2l", + "name": "couch suspension", + "online": true, + "owner_id": "81282274", + "product_id": "k3okx0w3bsgmindp", + "product_name": "Smart Bulb", + "status": [ + { + "code": "switch_led", + "value": true + }, + { + "code": "work_mode", + "value": "white" + }, + { + "code": "bright_value_v2", + "value": 722 + }, + { + "code": "temp_value_v2", + "value": 501 + }, + { + "code": "colour_data_v2", + "value": "{\"h\":33,\"s\":1000,\"v\":1000}" + }, + { + "code": "scene_data_v2", + "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}" + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "music_data", + "value": "" + }, + { + "code": "control_data", + "value": "" + }, + { + "code": "rhythm_mode", + "value": "AAAAAAA=" + }, + { + "code": "sleep_mode", + "value": "AAA=" + }, + { + "code": "wakeup_mode", + "value": "AAA=" + }, + { + "code": "power_memory", + "value": "AAEAIQPoA+gC0gH1" + }, + { + "code": "do_not_disturb", + "value": false + }, + { + "code": "cycle_timing", + "value": "AAAA" + }, + { + "code": "random_timing", + "value": "AAAA" + } + ], + "sub": false, + "time_zone": "+03:00", + "uid": "eu1676064647613e996s", + "update_time": 1705694973, + "uuid": "29379910e4ba6f75", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + }, + { + "active_time": 1705527839, + "biz_type": 18, + "category": "tdq", + "create_time": 1705527839, + "icon": "smart/icon/bay1624869296421wDFy/33b52ad8e30c7919bfd1ac69705f80f8.png", + "id": "bf91cdd72624206ba5nqps", + "ip": "92.247.170.10", + "lat": "42.6538", + "local_key": "Z7drOvHOO~BPVv|p", + "lon": "23.3390", + "model": "Aubess Smart Switch WZ-cob", + "name": "Aubess Smart Switch 1-gang 2", + "online": false, + "owner_id": "81282274", + "product_id": "asinhxudouvo32mi", + "product_name": "Aubess Smart Switch 1-gang", + "status": [ + { + "code": "switch_1", + "value": true + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "relay_status", + "value": "0" + }, + { + "code": "random_time", + "value": "" + }, + { + "code": "cycle_time", + "value": "" + }, + { + "code": "switch_inching", + "value": "AAAC" + }, + { + "code": "switch_type", + "value": "flip" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705679612, + "uuid": "12c6269dbb5de598", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "38": { + "code": "relay_status", + "type": "Enum", + "values": { + "range": [ + "0", + "1", + "2" + ] + } + }, + "42": { + "code": "random_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "43": { + "code": "cycle_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "44": { + "code": "switch_inching", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "47": { + "code": "switch_type", + "type": "Enum", + "values": { + "range": [ + "flip", + "sync", + "button" + ] + } + } + } + }, + { + "active_time": 1705621457, + "biz_type": 18, + "category": "wnykq", + "create_time": 1705621457, + "icon": "smart/icon/ay1525749833414yotNt/a9f2147012c7571b3bb094216853d2ba.png", + "id": "bfa98006ee9f9b0861f2or", + "ip": "92.247.170.10", + "lat": "42.6538", + "local_key": "){$R", + "lon": "23.3390", + "model": "Mini Smart switch", + "name": "Mini Smart switch", + "online": false, + "owner_id": "81282274", + "product_id": "vs4ksbpax2dwwm6a", + "product_name": "Mini Smart switch", + "status": [ + { + "code": "switch_1", + "value": false + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "relay_status", + "value": "2" + }, + { + "code": "random_time", + "value": "" + }, + { + "code": "cycle_time", + "value": "" + }, + { + "code": "switch_inching", + "value": "AAAC" + }, + { + "code": "switch_type", + "value": "flip" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1705368397, + "uuid": "eba6caa85441b946", + "mapping": { + "1": { + "code": "switch_1", + "type": "Boolean", + "values": {} + }, + "9": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "38": { + "code": "relay_status", + "type": "Enum", + "values": { + "range": [ + "0", + "1", + "2" + ] + } + }, + "42": { + "code": "random_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "43": { + "code": "cycle_time", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "44": { + "code": "switch_inching", + "type": "String", + "values": "{\"maxlen\":255}" + }, + "47": { + "code": "switch_type", + "type": "Enum", + "values": { + "range": [ + "flip", + "sync", + "button" + ] + } + } + } + }, + { + "active_time": 1703359963, + "biz_type": 18, + "category": "wsdcg", + "create_time": 1703359963, + "icon": "smart/icon/ay1497491823009SFeNH/a5180b7191119f5edbf621a7ba21b084.png", + "id": "bfdd6aslz8pmlsn5", + "ip": "", + "lat": "42.6538", + "local_key": "s|>#n&QBHo.fPI;*", + "lon": "23.3390", + "model": "UA660-WL-B0", + "name": "Bluetooth Temperature Humidity Sensor", + "online": false, + "owner_id": "81282274", + "product_id": "iv7hudlj", + "product_name": "Bluetooth Temperature Humidity Sensor", + "status": [ + { + "code": "va_temperature", + "value": 236 + }, + { + "code": "va_humidity", + "value": 34 + }, + { + "code": "battery_percentage", + "value": 86 + }, + { + "code": "temp_unit_convert", + "value": "c" + }, + { + "code": "maxtemp_set", + "value": 270 + }, + { + "code": "minitemp_set", + "value": 180 + }, + { + "code": "maxhum_set", + "value": 85 + }, + { + "code": "minihum_set", + "value": 20 + }, + { + "code": "temp_alarm", + "value": "cancel" + }, + { + "code": "hum_alarm", + "value": "cancel" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1703359964, + "uuid": "uuid2598abfc0ccc", + "mapping": { + "1": { + "code": "va_temperature", + "type": "Integer", + "values": { + "unit": "\u00b0C", + "min": -99, + "max": 600, + "scale": 1, + "step": 1 + } + }, + "2": { + "code": "va_humidity", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "4": { + "code": "battery_percentage", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "9": { + "code": "temp_unit_convert", + "type": "Enum", + "values": { + "range": [ + "c", + "f" + ] + } + }, + "10": { + "code": "maxtemp_set", + "type": "Integer", + "values": { + "unit": "\u00b0C", + "min": -99, + "max": 600, + "scale": 1, + "step": 1 + } + }, + "11": { + "code": "minitemp_set", + "type": "Integer", + "values": { + "unit": "\u00b0C", + "min": -99, + "max": 600, + "scale": 1, + "step": 1 + } + }, + "12": { + "code": "maxhum_set", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "13": { + "code": "minihum_set", + "type": "Integer", + "values": { + "unit": "%", + "min": 0, + "max": 100, + "scale": 0, + "step": 1 + } + }, + "14": { + "code": "temp_alarm", + "type": "Enum", + "values": { + "range": [ + "loweralarm", + "upperalarm", + "cancel" + ] + } + }, + "15": { + "code": "hum_alarm", + "type": "Enum", + "values": { + "range": [ + "loweralarm", + "upperalarm", + "cancel" + ] + } + } + } + }, + { + "active_time": 1677531832, + "biz_type": 18, + "category": "dj", + "create_time": 1677531832, + "icon": "smart/icon/bay1614221897694mnu5/1656576021d3e1b8d747a.jpg", + "id": "bff0d3f8599613016d3u1b", + "ip": "92.247.170.10", + "lat": "42.6538", + "local_key": "a972b05382a56bd3", + "lon": "23.3390", + "model": "Smart Light RGBCW", + "name": "grow light", + "online": false, + "owner_id": "81282274", + "product_id": "xbusjbpn9nbsjfjo", + "product_name": "Smart Light RGBCW", + "status": [ + { + "code": "switch_led", + "value": true + }, + { + "code": "work_mode", + "value": "white" + }, + { + "code": "bright_value_v2", + "value": 1000 + }, + { + "code": "temp_value_v2", + "value": 1000 + }, + { + "code": "colour_data_v2", + "value": "{\"h\":0,\"s\":1000,\"v\":1000}" + }, + { + "code": "scene_data_v2", + "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}" + }, + { + "code": "countdown_1", + "value": 0 + }, + { + "code": "music_data", + "value": "" + }, + { + "code": "control_data", + "value": "" + }, + { + "code": "rhythm_mode", + "value": "AAAAAAA=" + }, + { + "code": "sleep_mode", + "value": "AAA=" + }, + { + "code": "wakeup_mode", + "value": "AAA=" + }, + { + "code": "power_memory", + "value": "AAEAAAPoA+gD6APo" + }, + { + "code": "do_not_disturb", + "value": false + }, + { + "code": "remote_switch", + "value": true + }, + { + "code": "cycle_timing", + "value": "AAAA" + }, + { + "code": "random_timing", + "value": "AAAA" + } + ], + "sub": false, + "time_zone": "+02:00", + "uid": "eu1676064647613e996s", + "update_time": 1677531859, + "uuid": "433dac9068285c46", + "mapping": { + "20": { + "code": "switch_led", + "type": "Boolean", + "values": {} + }, + "21": { + "code": "work_mode", + "type": "Enum", + "values": { + "range": [ + "white", + "colour", + "scene", + "music" + ] + } + }, + "22": { + "code": "bright_value_v2", + "type": "Integer", + "values": { + "min": 10, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "23": { + "code": "temp_value_v2", + "type": "Integer", + "values": { + "min": 0, + "max": 1000, + "scale": 0, + "step": 1 + } + }, + "24": { + "code": "colour_data_v2", + "type": "Json", + "raw_values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}", + "values": { + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + }, + "25": { + "code": "scene_data_v2", + "type": "Json", + "raw_values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}", + "values": { + "scene_num": { + "min": 1, + "scale": 0, + "max": 8, + "step": 1 + }, + "scene_units": { + "unit_change_mode": { + "range": [ + "static", + "jump", + "gradient" + ] + }, + "unit_switch_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "unit_gradient_duration": { + "min": 0, + "scale": 0, + "max": 100, + "step": 1 + }, + "bright": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + } + } + } + }, + "26": { + "code": "countdown_1", + "type": "Integer", + "values": { + "unit": "s", + "min": 0, + "max": 86400, + "scale": 0, + "step": 1 + } + }, + "27": { + "code": "music_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "28": { + "code": "control_data", + "type": "Json", + "raw_values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}", + "values": { + "change_mode": { + "range": [ + "direct", + "gradient" + ] + }, + "bright": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "temperature": { + "min": 0, + "scale": 0, + "unit": "", + "max": 1000, + "step": 1 + }, + "h": { + "min": 0, + "scale": 0, + "unit": "", + "max": 360, + "step": 1 + }, + "s": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + }, + "v": { + "min": 0, + "scale": 0, + "unit": "", + "max": 255, + "step": 1 + } + } + }, + "30": { + "code": "rhythm_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "31": { + "code": "sleep_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "32": { + "code": "wakeup_mode", + "type": "Raw", + "values": { + "maxlen": "255" + } + }, + "33": { + "code": "power_memory", + "type": "Raw", + "values": {} + }, + "34": { + "code": "do_not_disturb", + "type": "Boolean", + "values": {} + }, + "41": { + "code": "remote_switch", + "type": "Boolean", + "values": {} + }, + "209": { + "code": "cycle_timing", + "type": "Raw", + "values": {} + }, + "210": { + "code": "random_timing", + "type": "Raw", + "values": {} + } + } + } + ], + "success": true, + "t": 1705696526559, + "tid": "46ed9ac2b70a11eeb846e2ba4cc47aff", + "file": { + "name": "tuya-raw.json", + "description": "Full raw list of Tuya devices.", + "account": "sgmmetqkkcpgjgadwq9d", + "date": "2024-01-19T20:36:57.342717", + "tinytuya": "1.13.1" + } +} \ No newline at end of file