|
|
@@ -0,0 +1,1625 @@
|
|
|
+[{
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "name": "0001",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 2,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "name": "0002",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 3,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "name": "0003",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 4,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "name": "0004",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 5,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "name": "0005",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 6,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "name": "0006",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 7,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "name": "0007",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 8,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "name": "0008",
|
|
|
+ "type": "light",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }, {
|
|
|
+ "name": "temp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "24"
|
|
|
+ }, {
|
|
|
+ "name": "mode",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "cool"
|
|
|
+ }, {
|
|
|
+ "name": "speed",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "auto"
|
|
|
+ }, {
|
|
|
+ "name": "ambientTemp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "24.0"
|
|
|
+ }, {
|
|
|
+ "name": "humidity",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "60"
|
|
|
+ }, {
|
|
|
+ "name": "modeList"
|
|
|
+ }, {
|
|
|
+ "name": "speedList",
|
|
|
+ "type": "STRING",
|
|
|
+ "value": "low,normal,high,auto"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": "central",
|
|
|
+ "name": "device_control",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": 2,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 69,
|
|
|
+ "name": "control_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 35,
|
|
|
+ "name": "control_channel",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 6,
|
|
|
+ "name": "temperature_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "temperature_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 10,
|
|
|
+ "name": "associated_sensor",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": "000A",
|
|
|
+ "name": "associated_sensor_sn",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "calibration",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": "fan,cool,heat",
|
|
|
+ "name": "modeList",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": "low,normal,high,auto",
|
|
|
+ "name": "speedList",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": 24,
|
|
|
+ "name": "temp",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "aircon_common",
|
|
|
+ "name": "0009",
|
|
|
+ "type": "aircon",
|
|
|
+ "displayName": "空调",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "stop"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "control_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 5,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 2,
|
|
|
+ "name": "control_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "name": "000D",
|
|
|
+ "type": "curtain",
|
|
|
+ "displayName": "窗帘1",
|
|
|
+ "gateway_id": 1
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "stop"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "control_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 5,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 3,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 4,
|
|
|
+ "name": "control_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "name": "000E",
|
|
|
+ "type": "curtain",
|
|
|
+ "displayName": "窗帘2",
|
|
|
+ "gateway_id": 1
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "stop"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "control_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 5,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 5,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 6,
|
|
|
+ "name": "control_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "name": "000F",
|
|
|
+ "type": "curtain",
|
|
|
+ "displayName": "窗帘3",
|
|
|
+ "gateway_id": 1
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "stop"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "control_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 5,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 7,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 8,
|
|
|
+ "name": "control_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "name": "0010",
|
|
|
+ "type": "curtain",
|
|
|
+ "displayName": "窗帘4",
|
|
|
+ "gateway_id": 1
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }, {
|
|
|
+ "name": "speed",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "auto"
|
|
|
+ }, {
|
|
|
+ "name": "mode",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "fan"
|
|
|
+ }, {
|
|
|
+ "name": "waterOutTemp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "0.0"
|
|
|
+ }, {
|
|
|
+ "name": "waterInTemp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "0.0"
|
|
|
+ }, {
|
|
|
+ "name": "airTemp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "0.0"
|
|
|
+ }, {
|
|
|
+ "name": "waterValve",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "0.0"
|
|
|
+ }, {
|
|
|
+ "name": "ambientTemp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "0.0"
|
|
|
+ }, {
|
|
|
+ "name": "humidity",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "0"
|
|
|
+ }, {
|
|
|
+ "name": "modeList",
|
|
|
+ "type": "STRING",
|
|
|
+ "value": "fan,fan_side"
|
|
|
+ }, {
|
|
|
+ "name": "speedList",
|
|
|
+ "type": "STRING",
|
|
|
+ "value": "low,normal,high,auto"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "calibration",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": "",
|
|
|
+ "name": "associated_sensor",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": "",
|
|
|
+ "name": "associated_sensor_sn",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": "fan,fan_side",
|
|
|
+ "name": "modeList",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": "low,normal,high,auto",
|
|
|
+ "name": "speedList",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": 26,
|
|
|
+ "name": "temp",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 3,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "control_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 35,
|
|
|
+ "name": "control_channel",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "airfresh_net_relay",
|
|
|
+ "name": "000B",
|
|
|
+ "type": "airfresh",
|
|
|
+ "displayName": "新风",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "off"
|
|
|
+ }, {
|
|
|
+ "name": "humidity",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "60"
|
|
|
+ }, {
|
|
|
+ "name": "ambientTemp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "24.0"
|
|
|
+ }, {
|
|
|
+ "name": "temp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ_WRITE",
|
|
|
+ "value": "26"
|
|
|
+ }, {
|
|
|
+ "name": "status",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "run"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "calibration",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 1,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 4,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 6,
|
|
|
+ "name": "temperature_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "temperature_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 10,
|
|
|
+ "name": "associated_sensor",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": "000A",
|
|
|
+ "name": "associated_sensor_sn",
|
|
|
+ "type": "STRING"
|
|
|
+ }, {
|
|
|
+ "value": 26,
|
|
|
+ "name": "temp",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "",
|
|
|
+ "name": "000C",
|
|
|
+ "type": "heater",
|
|
|
+ "displayName": "地暖",
|
|
|
+ "gateway_id": 1,
|
|
|
+ "status": "off"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "temp",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "24.0"
|
|
|
+ }, {
|
|
|
+ "name": "humidity",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "60"
|
|
|
+ }],
|
|
|
+ "configDesc": [{
|
|
|
+ "value": false,
|
|
|
+ "name": "broadcast",
|
|
|
+ "type": "BOOL"
|
|
|
+ }, {
|
|
|
+ "value": 6,
|
|
|
+ "name": "device_addr",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "control_type",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 0,
|
|
|
+ "name": "device_port",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 24,
|
|
|
+ "name": "temp",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }, {
|
|
|
+ "value": 60,
|
|
|
+ "name": "humidity",
|
|
|
+ "type": "INTEGER"
|
|
|
+ }],
|
|
|
+ "description": [],
|
|
|
+ "area": "测试",
|
|
|
+ "subtype": "",
|
|
|
+ "name": "000A",
|
|
|
+ "type": "humiture",
|
|
|
+ "displayName": "温湿度",
|
|
|
+ "gateway_id": 1
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "scene"
|
|
|
+ }],
|
|
|
+ "name": "1001",
|
|
|
+ "type": "scene",
|
|
|
+ "displayName": "在家模式",
|
|
|
+ "gateway_id": 0,
|
|
|
+ "area": "测试",
|
|
|
+ "description": [[{
|
|
|
+ "id": 1,
|
|
|
+ "name": "0001",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 2,
|
|
|
+ "name": "0002",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 3,
|
|
|
+ "name": "0003",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 4,
|
|
|
+ "name": "0004",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 5,
|
|
|
+ "name": "0005",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 6,
|
|
|
+ "name": "0006",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 7,
|
|
|
+ "name": "0007",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 8,
|
|
|
+ "name": "0008",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 9,
|
|
|
+ "name": "0009",
|
|
|
+ "displayName": "空调",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "aircon",
|
|
|
+ "subtype": "aircon_common",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 11,
|
|
|
+ "name": "000B",
|
|
|
+ "displayName": "新风",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "airfresh",
|
|
|
+ "subtype": "airfresh_net_relay",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 13,
|
|
|
+ "name": "000D",
|
|
|
+ "displayName": "窗帘1",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 14,
|
|
|
+ "name": "000E",
|
|
|
+ "displayName": "窗帘2",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 15,
|
|
|
+ "name": "000F",
|
|
|
+ "displayName": "窗帘3",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 16,
|
|
|
+ "name": "0010",
|
|
|
+ "displayName": "窗帘4",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }], [{
|
|
|
+ "id": 1,
|
|
|
+ "name": "0001",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 2,
|
|
|
+ "name": "0002",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 3,
|
|
|
+ "name": "0003",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 4,
|
|
|
+ "name": "0004",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 5,
|
|
|
+ "name": "0005",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 6,
|
|
|
+ "name": "0006",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 7,
|
|
|
+ "name": "0007",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 8,
|
|
|
+ "name": "0008",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 9,
|
|
|
+ "name": "0009",
|
|
|
+ "displayName": "空调",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "aircon",
|
|
|
+ "subtype": "aircon_common",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 11,
|
|
|
+ "name": "000B",
|
|
|
+ "displayName": "新风",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "airfresh",
|
|
|
+ "subtype": "airfresh_net_relay",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 13,
|
|
|
+ "name": "000D",
|
|
|
+ "displayName": "窗帘1",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 14,
|
|
|
+ "name": "000E",
|
|
|
+ "displayName": "窗帘2",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 15,
|
|
|
+ "name": "000F",
|
|
|
+ "displayName": "窗帘3",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 16,
|
|
|
+ "name": "0010",
|
|
|
+ "displayName": "窗帘4",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 12,
|
|
|
+ "name": "000C",
|
|
|
+ "displayName": "地暖",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "heater",
|
|
|
+ "subtype": "",
|
|
|
+ "channels": [{
|
|
|
+ "value": "on",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }]],
|
|
|
+ "configDesc": [],
|
|
|
+ "subtype": "scene_at_home"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "scene"
|
|
|
+ }],
|
|
|
+ "name": "1002",
|
|
|
+ "type": "scene",
|
|
|
+ "displayName": "休息模式",
|
|
|
+ "gateway_id": 0,
|
|
|
+ "area": "测试",
|
|
|
+ "description": [[{
|
|
|
+ "id": 1,
|
|
|
+ "name": "0001",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 2,
|
|
|
+ "name": "0002",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 3,
|
|
|
+ "name": "0003",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 4,
|
|
|
+ "name": "0004",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 5,
|
|
|
+ "name": "0005",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 6,
|
|
|
+ "name": "0006",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 7,
|
|
|
+ "name": "0007",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 8,
|
|
|
+ "name": "0008",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }], [{
|
|
|
+ "id": 1,
|
|
|
+ "name": "0001",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 2,
|
|
|
+ "name": "0002",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 3,
|
|
|
+ "name": "0003",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 4,
|
|
|
+ "name": "0004",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 5,
|
|
|
+ "name": "0005",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 6,
|
|
|
+ "name": "0006",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 7,
|
|
|
+ "name": "0007",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 8,
|
|
|
+ "name": "0008",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }]],
|
|
|
+ "configDesc": [],
|
|
|
+ "subtype": "scene_rest"
|
|
|
+ }, {
|
|
|
+ "channels": [{
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING",
|
|
|
+ "mode": "READ",
|
|
|
+ "value": "scene"
|
|
|
+ }],
|
|
|
+ "name": "1003",
|
|
|
+ "type": "scene",
|
|
|
+ "displayName": "离开模式",
|
|
|
+ "gateway_id": 0,
|
|
|
+ "area": "测试",
|
|
|
+ "description": [[{
|
|
|
+ "id": 1,
|
|
|
+ "name": "0001",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 2,
|
|
|
+ "name": "0002",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 3,
|
|
|
+ "name": "0003",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 4,
|
|
|
+ "name": "0004",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 5,
|
|
|
+ "name": "0005",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 6,
|
|
|
+ "name": "0006",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 7,
|
|
|
+ "name": "0007",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 8,
|
|
|
+ "name": "0008",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 9,
|
|
|
+ "name": "0009",
|
|
|
+ "displayName": "空调",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "aircon",
|
|
|
+ "subtype": "aircon_common",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 11,
|
|
|
+ "name": "000B",
|
|
|
+ "displayName": "新风",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "airfresh",
|
|
|
+ "subtype": "airfresh_net_relay",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 13,
|
|
|
+ "name": "000D",
|
|
|
+ "displayName": "窗帘1",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 14,
|
|
|
+ "name": "000E",
|
|
|
+ "displayName": "窗帘2",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 15,
|
|
|
+ "name": "000F",
|
|
|
+ "displayName": "窗帘3",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 16,
|
|
|
+ "name": "0010",
|
|
|
+ "displayName": "窗帘4",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }], [{
|
|
|
+ "id": 1,
|
|
|
+ "name": "0001",
|
|
|
+ "displayName": "条形灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_bar",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 2,
|
|
|
+ "name": "0002",
|
|
|
+ "displayName": "台灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_desk",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 3,
|
|
|
+ "name": "0003",
|
|
|
+ "displayName": "吸顶灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_ceiling",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 4,
|
|
|
+ "name": "0004",
|
|
|
+ "displayName": "灯带",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_belt",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 5,
|
|
|
+ "name": "0005",
|
|
|
+ "displayName": "壁灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_wall",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 6,
|
|
|
+ "name": "0006",
|
|
|
+ "displayName": "廊灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_corridor",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 7,
|
|
|
+ "name": "0007",
|
|
|
+ "displayName": "筒灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_downlight",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 8,
|
|
|
+ "name": "0008",
|
|
|
+ "displayName": "射灯",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "light",
|
|
|
+ "subtype": "light_spot",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 9,
|
|
|
+ "name": "0009",
|
|
|
+ "displayName": "空调",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "aircon",
|
|
|
+ "subtype": "aircon_common",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 11,
|
|
|
+ "name": "000B",
|
|
|
+ "displayName": "新风",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "airfresh",
|
|
|
+ "subtype": "airfresh_net_relay",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 13,
|
|
|
+ "name": "000D",
|
|
|
+ "displayName": "窗帘1",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 14,
|
|
|
+ "name": "000E",
|
|
|
+ "displayName": "窗帘2",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_vertical",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 15,
|
|
|
+ "name": "000F",
|
|
|
+ "displayName": "窗帘3",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 16,
|
|
|
+ "name": "0010",
|
|
|
+ "displayName": "窗帘4",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "curtain",
|
|
|
+ "subtype": "curtain_horizontal",
|
|
|
+ "channels": [{
|
|
|
+ "value": "stop",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ "id": 12,
|
|
|
+ "name": "000C",
|
|
|
+ "displayName": "地暖",
|
|
|
+ "area": "测试",
|
|
|
+ "type": "heater",
|
|
|
+ "subtype": "",
|
|
|
+ "channels": [{
|
|
|
+ "value": "off",
|
|
|
+ "name": "action",
|
|
|
+ "type": "STRING"
|
|
|
+ }]
|
|
|
+ }]],
|
|
|
+ "configDesc": [],
|
|
|
+ "subtype": "scene_exit"
|
|
|
+ }]
|