Commit fa827093 authored by 陈伟灿's avatar 陈伟灿

Merge branch 'cwc' into 'master'

【修改内容】1,更新物模型文件

See merge request chenweican/k-sdk!159
parents 3e5337a1 3806fdc3
{ {
"schema":"https://iot-ap.ikonke.com/model/product_3001.json", "schema":"https://iot-ap.ikonke.com/model/product_3001.json",
"productType":"switch", "productType":"switch",
"version": "1.0", "version": "1.1",
"profile":{ "profile":{
"heartbeat":"300", "heartbeat":"300",
"productCode":"3001", "productCode":"3001",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3004.json", "schema": "https://iot-ap.ikonke.com/model/product_3004.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3004", "productCode": "3004",
...@@ -45,12 +45,38 @@ ...@@ -45,12 +45,38 @@
} }
], ],
"identifier": "get", "identifier": "get",
"inputData": ["NoDisturbMode"], "inputData": [
"NoDisturbMode"
],
"method": "thing.service.property.get", "method": "thing.service.property.get",
"name": "get", "name": "get",
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema":"https://iot-ap.ikonke.com/model/product_3009.json", "schema":"https://iot-ap.ikonke.com/model/product_3010.json",
"productType":"switch", "productType":"switch",
"version": "1.0", "version": "1.0",
"profile":{ "profile":{
"heartbeat":"300", "heartbeat":"3010",
"productCode":"3009",
"productName":"铂金系列.零火线双路灯控面板Z3S" "productName":"铂金系列.零火线双路灯控面板Z3S"
}, },
"services":[ "services":[
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3013.json", "schema": "https://iot-ap.ikonke.com/model/product_3013.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3013", "productCode": "3013",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3014.json", "schema": "https://iot-ap.ikonke.com/model/product_3014.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "1200", "heartbeat": "1200",
"productCode": "3014", "productCode": "3014",
...@@ -35,6 +35,30 @@ ...@@ -35,6 +35,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
...@@ -124,7 +148,6 @@ ...@@ -124,7 +148,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
This diff is collapsed.
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3025.json", "schema": "https://iot-ap.ikonke.com/model/product_3025.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3025", "productCode": "3025",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3029.json", "schema": "https://iot-ap.ikonke.com/model/product_3029.json",
"productType": "floorHeating", "productType": "floorHeating",
"version": "1.2", "version": "1.3",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3029", "productCode": "3029",
...@@ -63,6 +63,17 @@ ...@@ -63,6 +63,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -89,6 +100,7 @@ ...@@ -89,6 +100,7 @@
"PowerSwitch", "PowerSwitch",
"ChildLockState", "ChildLockState",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
...@@ -153,6 +165,17 @@ ...@@ -153,6 +165,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -238,6 +261,19 @@ ...@@ -238,6 +261,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -321,6 +357,17 @@ ...@@ -321,6 +357,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
......
...@@ -63,6 +63,17 @@ ...@@ -63,6 +63,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -89,6 +100,7 @@ ...@@ -89,6 +100,7 @@
"PowerSwitch", "PowerSwitch",
"ChildLockState", "ChildLockState",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
...@@ -153,6 +165,17 @@ ...@@ -153,6 +165,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -237,6 +260,19 @@ ...@@ -237,6 +260,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -320,6 +356,17 @@ ...@@ -320,6 +356,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3031.json", "schema": "https://iot-ap.ikonke.com/model/product_3031.json",
"productType": "fanCoil", "productType": "fanCoil",
"version": "1.1", "version": "1.4",
"profile": { "profile": {
"heartbeat": "3000", "heartbeat": "300",
"productCode": "3031", "productCode": "3031",
"productName": "肖邦系列.风机盘管面板Z3S(KONKE)" "productName": "肖邦系列.风机盘管面板Z3S(KONKE)"
}, },
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"method": "thing.service.property.set", "method": "thing.service.property.set",
"inputData": [ "inputData": [
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "高档", "2": "低档",
"3": "中档", "3": "中档",
"4": "低档" "4": "高档"
} }
} }
}, },
...@@ -77,6 +77,17 @@ ...@@ -77,6 +77,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -99,16 +110,17 @@ ...@@ -99,16 +110,17 @@
"method": "thing.service.property.get", "method": "thing.service.property.get",
"inputData": [ "inputData": [
"ChildLockState", "ChildLockState",
"TargetTemperature", "Temperature",
"CurrentTemperature", "CurrentTemperature",
"PowerSwitch", "PowerSwitch",
"WindSpeed", "WindSpeed",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -152,10 +164,10 @@ ...@@ -152,10 +164,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "高档", "2": "低档",
"3": "中档", "3": "中档",
"4": "低档" "4": "高档"
} }
} }
}, },
...@@ -182,6 +194,17 @@ ...@@ -182,6 +194,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -210,7 +233,7 @@ ...@@ -210,7 +233,7 @@
} }
}, },
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
...@@ -249,10 +272,10 @@ ...@@ -249,10 +272,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -283,6 +306,19 @@ ...@@ -283,6 +306,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -306,7 +342,7 @@ ...@@ -306,7 +342,7 @@
"method": "thing.event.property.post", "method": "thing.event.property.post",
"outputData": [ "outputData": [
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -350,10 +386,10 @@ ...@@ -350,10 +386,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "高档", "2": "低档",
"3": "中档", "3": "中档",
"4": "低档" "4": "高档"
} }
} }
}, },
...@@ -380,6 +416,17 @@ ...@@ -380,6 +416,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3032.json", "schema": "https://iot-ap.ikonke.com/model/product_3032.json",
"productType": "freshAir", "productType": "freshAir",
"version": "1.2", "version": "1.3",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3032", "productCode": "3032",
...@@ -87,6 +87,17 @@ ...@@ -87,6 +87,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -112,6 +123,7 @@ ...@@ -112,6 +123,7 @@
"WindSpeed", "WindSpeed",
"WorkMode", "WorkMode",
"ChildLockState", "ChildLockState",
"TimingOffEnable",
"TimingOffTime", "TimingOffTime",
"StrainerWorkTime", "StrainerWorkTime",
"StrainerAlarmTime", "StrainerAlarmTime",
...@@ -163,6 +175,17 @@ ...@@ -163,6 +175,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -299,6 +322,19 @@ ...@@ -299,6 +322,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -382,6 +418,17 @@ ...@@ -382,6 +418,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3033.json", "schema": "https://iot-ap.ikonke.com/model/product_3033.json",
"productType": "airConditioning", "productType": "airConditioning",
"version": "1.1", "version": "1.3",
"profile": { "profile": {
"heartbeat": "3000", "heartbeat": "300",
"productCode": "3033", "productCode": "3033",
"productName": "肖邦系列.美的中央空调线控器Z3KA(KONKE)" "productName": "肖邦系列.美的中央空调线控器Z3KA(KONKE)"
}, },
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"method": "thing.service.property.set", "method": "thing.service.property.set",
"inputData": [ "inputData": [
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -47,10 +47,21 @@ ...@@ -47,10 +47,21 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "低档" "4": "高档"
}
}
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
} }
} }
}, },
...@@ -100,16 +111,17 @@ ...@@ -100,16 +111,17 @@
"method": "thing.service.property.get", "method": "thing.service.property.get",
"inputData": [ "inputData": [
"ChildLockState", "ChildLockState",
"TargetTemperature", "Temperature",
"CurrentTemperature", "CurrentTemperature",
"PowerSwitch", "PowerSwitch",
"WindSpeed", "WindSpeed",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -153,10 +165,10 @@ ...@@ -153,10 +165,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -185,6 +197,18 @@ ...@@ -185,6 +197,18 @@
} }
}, },
{ {
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
"dataType": { "dataType": {
...@@ -212,7 +236,7 @@ ...@@ -212,7 +236,7 @@
} }
}, },
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
...@@ -251,10 +275,10 @@ ...@@ -251,10 +275,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -286,6 +310,19 @@ ...@@ -286,6 +310,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -309,7 +346,7 @@ ...@@ -309,7 +346,7 @@
"method": "thing.event.property.post", "method": "thing.event.property.post",
"outputData": [ "outputData": [
{ {
"identifier": "TargetTemperature", "identifier": "Temperature",
"name": "目标温度", "name": "目标温度",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -353,10 +390,10 @@ ...@@ -353,10 +390,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -385,6 +422,17 @@ ...@@ -385,6 +422,17 @@
} }
}, },
{ {
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
"dataType": { "dataType": {
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3034.json", "schema": "https://iot-ap.ikonke.com/model/product_3034.json",
"productType": "airConditioning", "productType": "airConditioning",
"version": "1.2", "version": "1.4",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3034", "productCode": "3034",
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "0": "自动",
"4": "高档", "2": "低档",
"3": "中档", "3": "中档",
"2": "低档" "4": "高档"
} }
} }
}, },
...@@ -77,6 +77,17 @@ ...@@ -77,6 +77,17 @@
"1": "开启" "1": "开启"
} }
} }
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
...@@ -105,6 +116,7 @@ ...@@ -105,6 +116,7 @@
"PowerSwitch", "PowerSwitch",
"WindSpeed", "WindSpeed",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
...@@ -154,9 +166,9 @@ ...@@ -154,9 +166,9 @@
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "0": "自动",
"4": "高档", "2": "低档",
"3": "中档", "3": "中档",
"2": "低档" "4": "高档"
} }
} }
}, },
...@@ -183,6 +195,17 @@ ...@@ -183,6 +195,17 @@
"1": "开启" "1": "开启"
} }
} }
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
...@@ -252,9 +275,9 @@ ...@@ -252,9 +275,9 @@
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "0": "自动",
"4": "高档", "2": "低档",
"3": "中档", "3": "中档",
"2": "低档" "4": "高档"
} }
} }
}, },
...@@ -286,6 +309,17 @@ ...@@ -286,6 +309,17 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -354,9 +388,9 @@ ...@@ -354,9 +388,9 @@
"type": "enum", "type": "enum",
"specs": { "specs": {
"0": "自动", "0": "自动",
"4": "高档", "2": "低档",
"3": "中档", "3": "中档",
"2": "低档" "4": "高档"
} }
} }
}, },
...@@ -385,6 +419,17 @@ ...@@ -385,6 +419,17 @@
} }
}, },
{ {
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
"dataType": { "dataType": {
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3035.json", "schema": "https://iot-ap.ikonke.com/model/product_3035.json",
"productType": "airConditioning", "productType": "airConditioning",
"version": "1.1", "version": "1.3",
"profile": { "profile": {
"heartbeat": "3000", "heartbeat": "3000",
"productCode": "3035", "productCode": "3035",
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -77,6 +77,17 @@ ...@@ -77,6 +77,17 @@
"1": "开启" "1": "开启"
} }
} }
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
...@@ -105,6 +116,7 @@ ...@@ -105,6 +116,7 @@
"PowerSwitch", "PowerSwitch",
"WindSpeed", "WindSpeed",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
...@@ -153,10 +165,10 @@ ...@@ -153,10 +165,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -183,6 +195,17 @@ ...@@ -183,6 +195,17 @@
"1": "开启" "1": "开启"
} }
} }
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
...@@ -251,10 +274,10 @@ ...@@ -251,10 +274,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -286,6 +309,19 @@ ...@@ -286,6 +309,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -353,10 +389,10 @@ ...@@ -353,10 +389,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -385,6 +421,17 @@ ...@@ -385,6 +421,17 @@
} }
}, },
{ {
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
"dataType": { "dataType": {
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3036.json", "schema": "https://iot-ap.ikonke.com/model/product_3036.json",
"productType": "airConditioning", "productType": "airConditioning",
"version": "1.1", "version": "1.3",
"profile": { "profile": {
"heartbeat": "3000", "heartbeat": "300",
"productCode": "3036", "productCode": "3036",
"productName": "肖邦系列.大金中央空调线控器Z3ZA(KONKE)" "productName": "肖邦系列.大金中央空调线控器Z3ZA(KONKE)"
}, },
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -77,6 +77,17 @@ ...@@ -77,6 +77,17 @@
"1": "开启" "1": "开启"
} }
} }
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
...@@ -105,6 +116,7 @@ ...@@ -105,6 +116,7 @@
"PowerSwitch", "PowerSwitch",
"WindSpeed", "WindSpeed",
"WorkMode", "WorkMode",
"TimingOffEnable",
"TimingOffTime" "TimingOffTime"
], ],
"outputData": [ "outputData": [
...@@ -153,10 +165,10 @@ ...@@ -153,10 +165,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -183,6 +195,17 @@ ...@@ -183,6 +195,17 @@
"1": "开启" "1": "开启"
} }
} }
},
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
}, },
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
...@@ -251,10 +274,10 @@ ...@@ -251,10 +274,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -286,6 +309,19 @@ ...@@ -286,6 +309,19 @@
} }
} }
}, },
{
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"accessMode":"rw",
"required":true,
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{ {
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
...@@ -353,10 +389,10 @@ ...@@ -353,10 +389,10 @@
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
"1": "自动", "0": "自动",
"2": "档", "2": "档",
"3": "中档", "3": "中档",
"4": "档" "4": "档"
} }
} }
}, },
...@@ -385,6 +421,17 @@ ...@@ -385,6 +421,17 @@
} }
}, },
{ {
"identifier": "TimingOffEnable",
"name": "延时关机使能",
"dataType": {
"type":"enum",
"specs":{
"0":"关闭",
"1":"开启"
}
}
},
{
"identifier": "TimingOffTime", "identifier": "TimingOffTime",
"name": "延时关机时间", "name": "延时关机时间",
"dataType": { "dataType": {
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
"identifier": "Battery", "identifier": "Battery",
"name": "电池电量", "name": "电池电量",
"accessMode": "r", "accessMode": "r",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "double", "type": "double",
"specs": { "specs": {
...@@ -174,7 +174,6 @@ ...@@ -174,7 +174,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"identifier": "Battery", "identifier": "Battery",
"name": "电池电量", "name": "电池电量",
"accessMode": "r", "accessMode": "r",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "double", "type": "double",
"specs": { "specs": {
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
"identifier": "DismantleState", "identifier": "DismantleState",
"name": "拆卸状态", "name": "拆卸状态",
"accessMode": "r", "accessMode": "r",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
"identifier": "SensorState", "identifier": "SensorState",
"name": "传感器状态", "name": "传感器状态",
"accessMode": "r", "accessMode": "r",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "enum", "type": "enum",
"specs": { "specs": {
...@@ -246,7 +246,6 @@ ...@@ -246,7 +246,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
}, },
{ {
...@@ -255,7 +254,6 @@ ...@@ -255,7 +254,6 @@
"type": "alert", "type": "alert",
"required": true, "required": true,
"method": "thing.event.TamperAlarm.post", "method": "thing.event.TamperAlarm.post",
"alarmbit":2,
"outputData": [ "outputData": [
{ {
"identifier": "DismantleState", "identifier": "DismantleState",
...@@ -276,7 +274,6 @@ ...@@ -276,7 +274,6 @@
"type": "alert", "type": "alert",
"required": true, "required": true,
"method": "thing.event.sensorAlarm.post", "method": "thing.event.sensorAlarm.post",
"alarmbit":6,
"outputData": [ "outputData": [
{ {
"identifier": "SensorState", "identifier": "SensorState",
......
...@@ -174,7 +174,6 @@ ...@@ -174,7 +174,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -174,7 +174,6 @@ ...@@ -174,7 +174,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3044.json", "schema": "https://iot-ap.ikonke.com/model/product_3044.json",
"productType": "siren", "productType": "siren",
"version": "1.1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3044", "productCode": "3044",
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"identifier": "set", "identifier": "set",
"inputData": [ "inputData": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "低音量", "0": "低音量",
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
"name": "告警时间" "name": "告警时间"
}, },
{ {
"identifier": "SirenState", "identifier": "AlarmState",
"name": "声光告警状态", "name": "声光告警状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "低音量", "0": "低音量",
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
"name": "告警时间" "name": "告警时间"
}, },
{ {
"identifier": "SirenState", "identifier": "AlarmState",
"name": "声光告警状态", "name": "声光告警状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -114,9 +114,9 @@ ...@@ -114,9 +114,9 @@
], ],
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"AlarmVolume", "Volume",
"AlarmDuration", "AlarmDuration",
"SirenState", "AlarmState",
"Battery" "Battery"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
], ],
"properties": [ "properties": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"dataType":{ "dataType":{
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
"name": "告警时间" "name": "告警时间"
}, },
{ {
"identifier": "SirenState", "identifier": "AlarmState",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"name": "声光告警状态", "name": "声光告警状态",
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "低音量", "0": "低音量",
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
"name": "告警时间" "name": "告警时间"
}, },
{ {
"identifier": "SirenState", "identifier": "AlarmState",
"name": "声光告警状态", "name": "声光告警状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -266,6 +266,27 @@ ...@@ -266,6 +266,27 @@
"required": true, "required": true,
"desc": "属性上报" "desc": "属性上报"
}, },
{
"outputData": [
{
"identifier": "AlarmState",
"name": "声光告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "报警"
}
}
}
],
"identifier": "Alarm",
"method": "thing.event.sirenAlarm.post",
"name": "sirenAlarm",
"type": "alarm",
"required": true,
"desc": "声光报警"
},
{ {
"outputData": [ "outputData": [
{ {
...@@ -288,7 +309,6 @@ ...@@ -288,7 +309,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -22,6 +22,17 @@ ...@@ -22,6 +22,17 @@
} }
} }
}, },
{
"identifier": "DismantleState",
"name": "拆卸状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
},
{ {
"identifier": "Battery", "identifier": "Battery",
"name": "电池电量", "name": "电池电量",
...@@ -40,6 +51,7 @@ ...@@ -40,6 +51,7 @@
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"ContactState", "ContactState",
"DismantleState",
"Battery" "Battery"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
...@@ -63,6 +75,19 @@ ...@@ -63,6 +75,19 @@
} }
} }
}, },
{
"identifier": "DismantleState",
"name": "拆卸状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
},
{ {
"identifier": "Battery", "identifier": "Battery",
"name": "电池电量", "name": "电池电量",
...@@ -109,6 +134,19 @@ ...@@ -109,6 +134,19 @@
} }
} }
}, },
{
"identifier": "DismantleState",
"name": "拆卸状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
},
{ {
"identifier": "Battery", "identifier": "Battery",
"name": "电池电量", "name": "电池电量",
...@@ -152,6 +190,26 @@ ...@@ -152,6 +190,26 @@
"required": true, "required": true,
"desc": "门磁告警" "desc": "门磁告警"
}, },
{
"identifier": "TamperAlarm",
"name": "防撬报警",
"type": "alert",
"required": true,
"method": "thing.event.TamperAlarm.post",
"outputData": [
{
"identifier": "DismantleState",
"name": "拆卸状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "被拆卸"
}
}
}
]
},
{ {
"outputData": [ "outputData": [
{ {
...@@ -174,7 +232,6 @@ ...@@ -174,7 +232,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3046.json", "schema": "https://iot-ap.ikonke.com/model/product_3046.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "7200", "heartbeat": "7200",
"productCode": "3046", "productCode": "3046",
...@@ -35,6 +35,30 @@ ...@@ -35,6 +35,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
...@@ -124,7 +148,6 @@ ...@@ -124,7 +148,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -192,7 +192,6 @@ ...@@ -192,7 +192,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -174,7 +174,6 @@ ...@@ -174,7 +174,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -175,7 +175,6 @@ ...@@ -175,7 +175,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -297,7 +297,6 @@ ...@@ -297,7 +297,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -174,7 +174,6 @@ ...@@ -174,7 +174,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "sosAlarmState", "identifier": "SosState",
"name": "紧急按钮告警状态", "name": "紧急按钮告警状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
], ],
"properties": [ "properties": [
{ {
"identifier": "sosAlarmState", "identifier": "SosState",
"name": "紧急按钮告警状态", "name": "紧急按钮告警状态",
"accessMode": "r", "accessMode": "r",
"required": true, "required": true,
...@@ -120,19 +120,7 @@ ...@@ -120,19 +120,7 @@
"desc": "属性上报" "desc": "属性上报"
}, },
{ {
"outputData":[ "outputData": [],
{
"identifier": "sosAlarmState",
"name": "紧急按钮告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "没有报警",
"1": "报警"
}
}
}
],
"identifier": "sosAlarm", "identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post", "method": "thing.event.sosAlarm.post",
"name": "sosAlarm", "name": "sosAlarm",
...@@ -162,7 +150,6 @@ ...@@ -162,7 +150,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -174,7 +174,6 @@ ...@@ -174,7 +174,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3056.json", "schema": "https://iot-ap.ikonke.com/model/product_3056.json",
"productType": "scene", "productType": "scene",
"version": "1", "version": "1.1",
"profile": { "profile": {
"heartbeat": "1200", "heartbeat": "1200",
"productCode": "3056", "productCode": "3056",
...@@ -35,6 +35,30 @@ ...@@ -35,6 +35,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
...@@ -125,7 +149,6 @@ ...@@ -125,7 +149,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"identifier": "set", "identifier": "set",
"inputData": [ "inputData": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "低音量", "0": "低音量",
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "低音量", "0": "低音量",
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
"name": "告警时间" "name": "告警时间"
}, },
{ {
"identifier": "SirenState", "identifier": "AlarmState",
"name": "声光告警状态", "name": "声光告警状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -114,9 +114,9 @@ ...@@ -114,9 +114,9 @@
], ],
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"AlarmVolume", "Volume",
"AlarmDuration", "AlarmDuration",
"SirenState", "AlarmState",
"Battery" "Battery"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
], ],
"properties": [ "properties": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
"dataType":{ "dataType":{
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier":"AlarmVolume", "identifier":"Volume",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "低音量", "0": "低音量",
...@@ -266,6 +266,27 @@ ...@@ -266,6 +266,27 @@
"required": true, "required": true,
"desc": "属性上报" "desc": "属性上报"
}, },
{
"outputData": [
{
"identifier": "AlarmState",
"name": "声光告警状态",
"dataType": {
"type": "enum",
"specs": {
"0": "正常",
"1": "报警"
}
}
}
],
"identifier": "Alarm",
"method": "thing.event.sirenAlarm.post",
"name": "sirenAlarm",
"type": "alarm",
"required": true,
"desc": "声光报警"
},
{ {
"outputData": [ "outputData": [
{ {
...@@ -288,7 +309,6 @@ ...@@ -288,7 +309,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3062.json", "schema": "https://iot-ap.ikonke.com/model/product_3062.json",
"productType": "air conditioning gateway", "productType": "air conditioning gateway",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3062", "productCode": "3062",
...@@ -77,7 +77,13 @@ ...@@ -77,7 +77,13 @@
"callType": "async", "callType": "async",
"desc": "属性获取", "desc": "属性获取",
"method": "thing.service.property.get", "method": "thing.service.property.get",
"inputData": [], "inputData": [
"PowerSwitch",
"Temperature",
"CurrentTemperature",
"WindSpeed",
"WorkMode"
],
"outputData": [] "outputData": []
} }
], ],
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3064.json", "schema": "https://iot-ap.ikonke.com/model/product_3064.json",
"productType": "Doorlock", "productType": "Doorlock",
"version": "1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "1200", "heartbeat": "1200",
"productCode": "3064", "productCode": "3064",
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"identifier": "set", "identifier": "set",
"inputData": [ "inputData": [
{ {
"identifier": "RemoteControlEnbale", "identifier": "remoteOpenDoorSwitch",
"name": "远程控制使能", "name": "远程控制使能",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "RemoteControlEnbale", "identifier": "remoteOpenDoorSwitch",
"name": "远程控制使能", "name": "远程控制使能",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
], ],
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"RemoteControlEnbale", "remoteOpenDoorSwitch",
"Battery" "Battery"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
} }
} }
], ],
"identifier": "OpenLock", "identifier": "LockOpenNotification",
"inputData": [ "inputData": [
{ {
"identifier": "password", "identifier": "password",
...@@ -99,8 +99,8 @@ ...@@ -99,8 +99,8 @@
} }
} }
], ],
"method": "thing.service.OpenLock", "method": "thing.service.LockOpenNotification",
"name": "OpenLock", "name": "LockOpenNotification",
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "远程开锁" "desc": "远程开锁"
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
], ],
"properties": [ "properties": [
{ {
"identifier": "RemoteControlEnbale", "identifier": "remoteOpenDoorSwitch",
"name": "远程控制使能", "name": "远程控制使能",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "RemoteControlEnbale", "identifier": "remoteOpenDoorSwitch",
"name": "远程控制使能", "name": "远程控制使能",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "UserID", "identifier": "KeyID",
"name": "用户ID", "name": "用户ID",
"dataType": { "dataType": {
"type": "text", "type": "text",
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
} }
}, },
{ {
"identifier": "UserType", "identifier": "KeyRole",
"name": "用户类型", "name": "用户类型",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
} }
}, },
{ {
"identifier": "openLockMethod", "identifier": "KeyType",
"name": "开锁方式", "name": "开锁方式",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -213,9 +213,9 @@ ...@@ -213,9 +213,9 @@
} }
} }
], ],
"identifier": "OpenLock", "identifier": "LockOpenNotification",
"method": "thing.event.OpenLock.post", "method": "thing.event.LockOpenNotification.post",
"name": "OpenLock", "name": "LockOpenNotification",
"type": "info", "type": "info",
"required": true, "required": true,
"desc": "开门上报" "desc": "开门上报"
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "UserID", "identifier": "KeyID",
"name": "用户ID", "name": "用户ID",
"dataType": { "dataType": {
"type": "text", "type": "text",
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
} }
}, },
{ {
"identifier": "UserType", "identifier": "KeyRole",
"name": "用户类型", "name": "用户类型",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
} }
}, },
{ {
"identifier": "openLockMethod", "identifier": "KeyType",
"name": "开锁方式", "name": "开锁方式",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -260,9 +260,9 @@ ...@@ -260,9 +260,9 @@
} }
} }
], ],
"identifier": "AddUser", "identifier": "KeyAddNotification",
"method": "thing.event.AddUser.post", "method": "thing.event.KeyAddNotification.post",
"name": "AddUser", "name": "KeyAddNotification",
"type": "info", "type": "info",
"required": true, "required": true,
"desc": "添加用户上报" "desc": "添加用户上报"
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "UserID", "identifier": "KeyID",
"name": "用户ID", "name": "用户ID",
"dataType": { "dataType": {
"type": "text", "type": "text",
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
} }
}, },
{ {
"identifier": "UserType", "identifier": "KeyRole",
"name": "用户类型", "name": "用户类型",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
} }
}, },
{ {
"identifier": "openLockMethod", "identifier": "KeyType",
"name": "开锁方式", "name": "开锁方式",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -307,9 +307,9 @@ ...@@ -307,9 +307,9 @@
} }
} }
], ],
"identifier": "DeleteUser", "identifier": "KeyDeletedNotification",
"method": "thing.event.DeleteUser.post", "method": "thing.event.KeyDeletedNotification.post",
"name": "DeleteUser", "name": "KeyDeletedNotification",
"type": "info", "type": "info",
"required": true, "required": true,
"desc": "删除用户上报" "desc": "删除用户上报"
...@@ -341,8 +341,7 @@ ...@@ -341,8 +341,7 @@
"name": "TamperAlarm", "name": "TamperAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"desc": "防拆告警", "desc": "防拆告警"
"alarmbit":2
}, },
{ {
"outputData": [ "outputData": [
...@@ -366,7 +365,6 @@ ...@@ -366,7 +365,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
} }
] ]
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3067.json", "schema": "https://iot-ap.ikonke.com/model/product_3067.json",
"productType": "curtain", "productType": "curtain",
"version": "1.1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3067", "productCode": "3067",
...@@ -42,7 +42,8 @@ ...@@ -42,7 +42,8 @@
"identifier": "WorkMode", "identifier": "WorkMode",
"dataType": { "dataType": {
"specs": { "specs": {
"3": "转向" "0": "正转",
"1": "反转"
}, },
"type": "enum" "type": "enum"
}, },
...@@ -109,7 +110,8 @@ ...@@ -109,7 +110,8 @@
"identifier": "WorkMode", "identifier": "WorkMode",
"dataType": { "dataType": {
"specs": { "specs": {
"3": "转向" "0": "正转",
"1": "反转"
}, },
"type": "enum" "type": "enum"
}, },
...@@ -141,13 +143,36 @@ ...@@ -141,13 +143,36 @@
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"OperationMode", "OperationMode",
"LiftPercentage" "Position",
"WorkMode",
"RouteState",
"SwapState"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
"name": "get", "name": "get",
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "reverse",
"inputData": [],
"method": "thing.service.reverse",
"name": "reverse",
"required": true,
"callType": "async",
"desc": "电机换向"
},
{
"outputData": [],
"identifier": "onOffReverse",
"inputData": [],
"method": "thing.service.onOffReverse",
"name": "onOffReverse",
"required": false,
"callType": "async",
"desc": "全开全关对调"
} }
], ],
"properties": [ "properties": [
...@@ -185,7 +210,8 @@ ...@@ -185,7 +210,8 @@
"identifier": "WorkMode", "identifier": "WorkMode",
"dataType": { "dataType": {
"specs": { "specs": {
"3": "转向" "0": "正转",
"1": "反转"
}, },
"type": "enum" "type": "enum"
}, },
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3068.json", "schema": "https://iot-ap.ikonke.com/model/product_3068.json",
"productType": "curtain", "productType": "curtain",
"version": "1.0", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3068", "productCode": "3068",
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
"name": "窗帘操作模式" "name": "窗帘操作模式"
}, },
{ {
"identifier": "LiftPercentage", "identifier": "Position",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -37,6 +37,40 @@ ...@@ -37,6 +37,40 @@
} }
}, },
"name": "窗帘开启百分比" "name": "窗帘开启百分比"
},
{
"identifier": "WorkMode",
"dataType": {
"specs": {
"0": "正转",
"1": "反转",
"3": "取反"
},
"type": "enum"
},
"name": "窗帘转向(循环交替转向)"
},
{
"identifier": "RouteState",
"dataType": {
"specs": {
"0": "未设置",
"1": "已设置"
},
"type": "enum"
},
"name": "行程设置"
},
{
"identifier": "SwapState",
"name": "全开全关状态对调",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭对调",
"1": "开启对调"
}
}
} }
], ],
"method": "thing.service.property.set", "method": "thing.service.property.set",
...@@ -60,7 +94,7 @@ ...@@ -60,7 +94,7 @@
"name": "窗帘操作模式" "name": "窗帘操作模式"
}, },
{ {
"identifier": "LiftPercentage", "identifier": "Position",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -72,12 +106,48 @@ ...@@ -72,12 +106,48 @@
} }
}, },
"name": "窗帘开启百分比" "name": "窗帘开启百分比"
},
{
"identifier": "WorkMode",
"dataType": {
"specs": {
"0": "正转",
"1": "反转"
},
"type": "enum"
},
"name": "窗帘转向(循环交替转向)"
},
{
"identifier": "RouteState",
"dataType": {
"specs": {
"0": "未设置",
"1": "已设置"
},
"type": "enum"
},
"name": "行程设置"
},
{
"identifier": "SwapState",
"name": "全开全关状态对调",
"dataType": {
"type": "bool",
"specs": {
"0": "关闭对调",
"1": "开启对调"
}
}
} }
], ],
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"OperationMode", "OperationMode",
"LiftPercentage" "Position",
"WorkMode",
"RouteState",
"SwapState"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
"name": "get", "name": "get",
...@@ -85,26 +155,6 @@ ...@@ -85,26 +155,6 @@
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
}, },
{
"outputData": [],
"identifier": "setLimitedPoint",
"inputData": [],
"method": "thing.service.setLimitedPoint",
"name": "setLimitedPoint",
"required": true,
"callType": "async",
"desc": "设置限位点"
},
{
"outputData": [],
"identifier": "resetLimitedPoint",
"inputData": [],
"method": "thing.service.resetLimitedPoint",
"name": "resetLimitedPoint",
"required": true,
"callType": "async",
"desc": "重置限位点"
},
{ {
"outputData": [], "outputData": [],
"identifier": "reverse", "identifier": "reverse",
...@@ -142,7 +192,7 @@ ...@@ -142,7 +192,7 @@
"name": "窗帘操作模式" "name": "窗帘操作模式"
}, },
{ {
"identifier": "LiftPercentage", "identifier": "Position",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -156,6 +206,45 @@ ...@@ -156,6 +206,45 @@
"required": true, "required": true,
"accessMode": "rw", "accessMode": "rw",
"name": "窗帘开启百分比" "name": "窗帘开启百分比"
},
{
"identifier": "WorkMode",
"dataType": {
"specs": {
"0": "正转",
"1": "反转"
},
"type": "enum"
},
"name": "窗帘转向(循环交替转向)",
"accessMode": "w",
"required": true
},
{
"identifier": "RouteState",
"dataType": {
"specs": {
"0": "未设置",
"1": "已设置"
},
"type": "enum"
},
"accessMode": "w",
"required": true,
"name": "行程设置"
},
{
"identifier": "SwapState",
"name": "全开全关状态对调",
"accessMode": "w",
"required": true,
"dataType": {
"type": "bool",
"specs": {
"0": "关闭对调",
"1": "开启对调"
}
}
} }
], ],
"events": [ "events": [
...@@ -174,7 +263,7 @@ ...@@ -174,7 +263,7 @@
"name": "窗帘操作模式" "name": "窗帘操作模式"
}, },
{ {
"identifier": "LiftPercentage", "identifier": "Position",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -186,6 +275,28 @@ ...@@ -186,6 +275,28 @@
} }
}, },
"name": "窗帘开启百分比" "name": "窗帘开启百分比"
},
{
"identifier": "WorkMode",
"dataType": {
"specs": {
"0": "正转",
"1": "反转"
},
"type": "enum"
},
"name": "窗帘工作模式"
},
{
"identifier": "RouteState",
"dataType": {
"specs": {
"0": "未设置",
"1": "已设置"
},
"type": "enum"
},
"name": "行程设置"
} }
], ],
"identifier": "property", "identifier": "property",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3070.json", "schema": "https://iot-ap.ikonke.com/model/product_3070.json",
"productType": "sensor", "productType": "sensor",
"version": "1.0", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3070", "productCode": "3070",
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"identifier":"set", "identifier":"set",
"inputData":[ "inputData":[
{ {
"identifier":"NormalState", "identifier":"ModuleType",
"dataType":{ "dataType":{
"specs":{ "specs":{
"0": "常闭", "0": "常闭",
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "DryContactState", "identifier": "AlarmState",
"name": "干接点状态", "name": "干接点状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
} }
}, },
{ {
"identifier": "NormalState", "identifier": "ModuleType",
"name": "常开常闭状态", "name": "常开常闭状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
], ],
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"DryContactState", "AlarmState",
"NormalState" "ModuleType"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
"name": "get", "name": "get",
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
], ],
"properties": [ "properties": [
{ {
"identifier": "DryContactState", "identifier": "AlarmState",
"name": "干接点状态", "name": "干接点状态",
"accessMode": "r", "accessMode": "r",
"required": true, "required": true,
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
} }
}, },
{ {
"identifier": "NormalState", "identifier": "ModuleType",
"name": "常开常闭状态", "name": "常开常闭状态",
"accessMode": "rw", "accessMode": "rw",
"required": true, "required": true,
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "DryContactState", "identifier": "AlarmState",
"name": "干接点状态", "name": "干接点状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
} }
}, },
{ {
"identifier": "NormalState", "identifier": "ModuleType",
"name": "常开常闭状态", "name": "常开常闭状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
{ {
"outputData": [ "outputData": [
{ {
"identifier": "DryContactState", "identifier": "AlarmState",
"name": "干接点状态", "name": "干接点状态",
"dataType": { "dataType": {
"type": "enum", "type": "enum",
...@@ -159,9 +159,9 @@ ...@@ -159,9 +159,9 @@
} }
} }
], ],
"identifier": "DryContactAlarm", "identifier": "commonAlarm",
"method": "thing.event.DryContactAlarm.post", "method": "thing.event.commonAlarm.post",
"name": "DryContactAlarm", "name": "commonAlarm",
"type": "alarm", "type": "alarm",
"required": true, "required": true,
"desc": "干触点传感器告警" "desc": "干触点传感器告警"
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3071.json", "schema": "https://iot-ap.ikonke.com/model/product_3071.json",
"productType": "waterValve", "productType": "waterValve",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3071", "productCode": "3071",
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"name": "电源开关" "name": "电源开关"
}, },
{ {
"identifier": "PowerDownSave", "identifier": "PowerMemory",
"dataType": { "dataType": {
"specs": { "specs": {
"0": "关闭", "0": "关闭",
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"name": "电源开关" "name": "电源开关"
}, },
{ {
"identifier": "PowerDownSave", "identifier": "PowerMemory",
"dataType": { "dataType": {
"specs": { "specs": {
"0": "关闭", "0": "关闭",
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
"identifier": "get", "identifier": "get",
"inputData": [ "inputData": [
"PowerSwitch", "PowerSwitch",
"PowerDownSave" "PowerMemory"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
"name": "get", "name": "get",
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
"required": true "required": true
}, },
{ {
"identifier": "PowerDownSave", "identifier": "PowerMemory",
"dataType": { "dataType": {
"specs": { "specs": {
"0": "关闭", "0": "关闭",
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
"name": "电源开关" "name": "电源开关"
}, },
{ {
"identifier": "PowerDownSave", "identifier": "PowerMemory",
"dataType": { "dataType": {
"specs": { "specs": {
"0": "关闭", "0": "关闭",
......
...@@ -147,7 +147,6 @@ ...@@ -147,7 +147,6 @@
"name": "传感器故障告警", "name": "传感器故障告警",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":6,
"method": "thing.event.sensorAlarm.post", "method": "thing.event.sensorAlarm.post",
"outputData": [ "outputData": [
{ {
......
...@@ -246,7 +246,6 @@ ...@@ -246,7 +246,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
}, },
{ {
...@@ -255,7 +254,6 @@ ...@@ -255,7 +254,6 @@
"type": "alert", "type": "alert",
"required": true, "required": true,
"method": "thing.event.TamperAlarm.post", "method": "thing.event.TamperAlarm.post",
"alarmbit":2,
"outputData": [ "outputData": [
{ {
"identifier": "DismantleState", "identifier": "DismantleState",
...@@ -275,7 +273,6 @@ ...@@ -275,7 +273,6 @@
"name": "传感器故障告警", "name": "传感器故障告警",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":6,
"method": "thing.event.sensorAlarm.post", "method": "thing.event.sensorAlarm.post",
"outputData": [ "outputData": [
{ {
......
...@@ -147,7 +147,6 @@ ...@@ -147,7 +147,6 @@
"name": "传感器故障告警", "name": "传感器故障告警",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":6,
"method": "thing.event.sensorAlarm.post", "method": "thing.event.sensorAlarm.post",
"outputData": [ "outputData": [
{ {
......
...@@ -246,7 +246,6 @@ ...@@ -246,7 +246,6 @@
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":3,
"desc": "低电量告警" "desc": "低电量告警"
}, },
{ {
...@@ -255,7 +254,6 @@ ...@@ -255,7 +254,6 @@
"type": "alert", "type": "alert",
"required": true, "required": true,
"method": "thing.event.TamperAlarm.post", "method": "thing.event.TamperAlarm.post",
"alarmbit":2,
"outputData": [ "outputData": [
{ {
"identifier": "DismantleState", "identifier": "DismantleState",
...@@ -275,7 +273,6 @@ ...@@ -275,7 +273,6 @@
"name": "传感器故障告警", "name": "传感器故障告警",
"type": "alert", "type": "alert",
"required": true, "required": true,
"alarmbit":6,
"method": "thing.event.sensorAlarm.post", "method": "thing.event.sensorAlarm.post",
"outputData": [ "outputData": [
{ {
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3084.json", "schema": "https://iot-ap.ikonke.com/model/product_3084.json",
"productType": "sensor", "productType": "sensor",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3084", "productCode": "3084",
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
} }
}, },
{ {
"identifier": "Carbondioxide", "identifier": "CO2",
"name": "CO2检测值", "name": "CO2检测值",
"dataType": { "dataType": {
"type": "int", "type": "int",
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
} }
}, },
{ {
"identifier": "Formaldehyde", "identifier": "HCHO",
"name": "当前甲醛检测值", "name": "当前甲醛检测值",
"dataType": { "dataType": {
"type": "double", "type": "double",
...@@ -114,9 +114,9 @@ ...@@ -114,9 +114,9 @@
"Temperature", "Temperature",
"Humidity", "Humidity",
"Illuminance", "Illuminance",
"Carbondioxide", "CO2",
"PM2.5", "PM2.5",
"Formaldehyde", "HCHO",
"IlluminanceLevel" "IlluminanceLevel"
], ],
"method": "thing.service.property.get", "method": "thing.service.property.get",
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
} }
}, },
{ {
"identifier": "Carbondioxide", "identifier": "CO2",
"name": "CO2检测值", "name": "CO2检测值",
"accessMode": "r", "accessMode": "r",
"required": false, "required": false,
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
} }
}, },
{ {
"identifier": "Formaldehyde", "identifier": "HCHO",
"name": "当前甲醛检测值", "name": "当前甲醛检测值",
"accessMode": "r", "accessMode": "r",
"required": false, "required": false,
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
} }
}, },
{ {
"identifier": "Carbondioxide", "identifier": "CO2",
"name": "CO2检测值", "name": "CO2检测值",
"dataType": { "dataType": {
"type": "int", "type": "int",
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
} }
}, },
{ {
"identifier": "Formaldehyde", "identifier": "HCHO",
"name": "当前甲醛检测值", "name": "当前甲醛检测值",
"dataType": { "dataType": {
"type": "double", "type": "double",
......
{ {
"schema":"https://iot-ap.ikonke.com/model/product_3085.json", "schema":"https://iot-ap.ikonke.com/model/product_3085.json",
"productType":"switch", "productType":"switch",
"version": "1.0", "version": "1",
"profile":{ "profile":{
"heartbeat":"300", "heartbeat":"300",
"productCode":"3085", "productCode":"3085",
......
{ {
"schema":"https://iot-ap.ikonke.com/model/product_3087.json", "schema":"https://iot-ap.ikonke.com/model/product_3087.json",
"productType":"switch", "productType":"switch",
"version": "1.0", "version": "1",
"profile":{ "profile":{
"heartbeat":"300", "heartbeat":"300",
"productCode":"3087", "productCode":"3087",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3088.json", "schema": "https://iot-ap.ikonke.com/model/product_3088.json",
"productType": "curtain", "productType": "curtain",
"version": "1.0", "version": "1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3088", "productCode": "3088",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3089.json", "schema": "https://iot-ap.ikonke.com/model/product_3089.json",
"productType": "curtain", "productType": "curtain",
"version": "1.0", "version": "1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3089", "productCode": "3089",
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3090.json", "schema": "https://iot-ap.ikonke.com/model/product_3090.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3090", "productCode": "3090",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3091.json", "schema": "https://iot-ap.ikonke.com/model/product_3091.json",
"productType": "lightPanel", "productType": "lightPanel",
"version": "1.1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3091", "productCode": "3091",
...@@ -44,23 +44,34 @@ ...@@ -44,23 +44,34 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime", "identifier": "FadeTime",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -134,23 +145,34 @@ ...@@ -134,23 +145,34 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime", "identifier": "FadeTime",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -189,6 +211,7 @@ ...@@ -189,6 +211,7 @@
"PowerSwitch", "PowerSwitch",
"Brightness", "Brightness",
"ColorTemperature", "ColorTemperature",
"ColorTempSwitch",
"FadeTime", "FadeTime",
"LowBrightness", "LowBrightness",
"HighBrightness" "HighBrightness"
...@@ -232,7 +255,7 @@ ...@@ -232,7 +255,7 @@
"identifier": "Brightness", "identifier": "Brightness",
"name": "亮度", "name": "亮度",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -247,31 +270,44 @@ ...@@ -247,31 +270,44 @@
{ {
"identifier": "ColorTemperature", "identifier": "ColorTemperature",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch",
"accessMode":"rw",
"required":true,
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime", "identifier": "FadeTime",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -279,7 +315,7 @@ ...@@ -279,7 +315,7 @@
{ {
"identifier": "LowBrightness", "identifier": "LowBrightness",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -295,7 +331,7 @@ ...@@ -295,7 +331,7 @@
{ {
"identifier": "HighBrightness", "identifier": "HighBrightness",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -345,23 +381,34 @@ ...@@ -345,23 +381,34 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime", "identifier": "FadeTime",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3092.json", "schema": "https://iot-ap.ikonke.com/model/product_3092.json",
"productType": "lightPanel", "productType": "lightPanel",
"version": "1.1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3092", "productCode": "3092",
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -83,23 +83,45 @@ ...@@ -83,23 +83,45 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch_1",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{
"identifier": "ColorTempSwitch_2",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime_1", "identifier": "FadeTime_1",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -109,11 +131,11 @@ ...@@ -109,11 +131,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "s",
"unitName": "秒", "unitName": "秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -240,8 +262,8 @@ ...@@ -240,8 +262,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -254,23 +276,45 @@ ...@@ -254,23 +276,45 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch_1",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{
"identifier": "ColorTempSwitch_2",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime_1", "identifier": "FadeTime_1",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "s",
"unitName": "秒", "unitName": "秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -280,11 +324,11 @@ ...@@ -280,11 +324,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "s",
"unitName": "秒", "unitName": "秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -351,12 +395,14 @@ ...@@ -351,12 +395,14 @@
"PowerSwitch_1", "PowerSwitch_1",
"Brightness_1", "Brightness_1",
"ColorTemperature_1", "ColorTemperature_1",
"ColorTempSwitch_1",
"FadeTime_1", "FadeTime_1",
"LowBrightness_1", "LowBrightness_1",
"HighBrightness_1", "HighBrightness_1",
"PowerSwitch_2", "PowerSwitch_2",
"Brightness_2", "Brightness_2",
"ColorTemperature_2", "ColorTemperature_2",
"ColorTempSwitch_2",
"FadeTime_2", "FadeTime_2",
"LowBrightness_2", "LowBrightness_2",
"HighBrightness_2" "HighBrightness_2"
...@@ -386,7 +432,7 @@ ...@@ -386,7 +432,7 @@
{ {
"identifier": "PowerSwitch_1", "identifier": "PowerSwitch_1",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"specs": { "specs": {
"0": "关闭", "0": "关闭",
...@@ -399,7 +445,7 @@ ...@@ -399,7 +445,7 @@
{ {
"identifier": "PowerSwitch_2", "identifier": "PowerSwitch_2",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"specs": { "specs": {
"0": "关闭", "0": "关闭",
...@@ -412,7 +458,7 @@ ...@@ -412,7 +458,7 @@
{ {
"identifier": "Brightness_1", "identifier": "Brightness_1",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -428,7 +474,7 @@ ...@@ -428,7 +474,7 @@
{ {
"identifier": "Brightness_2", "identifier": "Brightness_2",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -444,14 +490,14 @@ ...@@ -444,14 +490,14 @@
{ {
"identifier": "ColorTemperature_1", "identifier": "ColorTemperature_1",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -460,31 +506,57 @@ ...@@ -460,31 +506,57 @@
{ {
"identifier": "ColorTemperature_2", "identifier": "ColorTemperature_2",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch_1",
"accessMode":"rw",
"required":true,
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{
"identifier": "ColorTempSwitch_2",
"accessMode":"rw",
"required":true,
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime_1", "identifier": "FadeTime_1",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -492,15 +564,15 @@ ...@@ -492,15 +564,15 @@
{ {
"identifier": "FadeTime_2", "identifier": "FadeTime_2",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -508,7 +580,7 @@ ...@@ -508,7 +580,7 @@
{ {
"identifier": "LowBrightness_1", "identifier": "LowBrightness_1",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -524,7 +596,7 @@ ...@@ -524,7 +596,7 @@
{ {
"identifier": "LowBrightness_2", "identifier": "LowBrightness_2",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -540,7 +612,7 @@ ...@@ -540,7 +612,7 @@
{ {
"identifier": "HighBrightness_1", "identifier": "HighBrightness_1",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -556,7 +628,7 @@ ...@@ -556,7 +628,7 @@
{ {
"identifier": "HighBrightness_2", "identifier": "HighBrightness_2",
"accessMode": "rw", "accessMode": "rw",
"required": false, "required": true,
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
...@@ -630,8 +702,8 @@ ...@@ -630,8 +702,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -644,23 +716,45 @@ ...@@ -644,23 +716,45 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
"name": "色温" "name": "色温"
}, },
{
"identifier": "ColorTempSwitch_1",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{
"identifier": "ColorTempSwitch_2",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "色温开关使能"
},
{ {
"identifier": "FadeTime_1", "identifier": "FadeTime_1",
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -670,11 +764,11 @@ ...@@ -670,11 +764,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3093.json", "schema": "https://iot-ap.ikonke.com/model/product_3093.json",
"productType": "lightPanel", "productType": "lightPanel",
"version": "1.1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3093", "productCode": "3093",
...@@ -94,8 +94,8 @@ ...@@ -94,8 +94,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -108,8 +108,8 @@ ...@@ -108,8 +108,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -122,8 +122,8 @@ ...@@ -122,8 +122,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -134,11 +134,11 @@ ...@@ -134,11 +134,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -148,10 +148,10 @@ ...@@ -148,10 +148,10 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "1"
} }
}, },
...@@ -162,11 +162,11 @@ ...@@ -162,11 +162,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -346,8 +346,8 @@ ...@@ -346,8 +346,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -360,8 +360,8 @@ ...@@ -360,8 +360,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -374,8 +374,8 @@ ...@@ -374,8 +374,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -386,11 +386,11 @@ ...@@ -386,11 +386,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -400,11 +400,11 @@ ...@@ -400,11 +400,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -414,11 +414,11 @@ ...@@ -414,11 +414,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -633,8 +633,8 @@ ...@@ -633,8 +633,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -647,8 +647,8 @@ ...@@ -647,8 +647,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -661,8 +661,8 @@ ...@@ -661,8 +661,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -673,11 +673,11 @@ ...@@ -673,11 +673,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -687,11 +687,11 @@ ...@@ -687,11 +687,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -701,11 +701,11 @@ ...@@ -701,11 +701,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -894,8 +894,8 @@ ...@@ -894,8 +894,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -910,8 +910,8 @@ ...@@ -910,8 +910,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -926,8 +926,8 @@ ...@@ -926,8 +926,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -940,11 +940,11 @@ ...@@ -940,11 +940,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -956,11 +956,11 @@ ...@@ -956,11 +956,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -972,11 +972,11 @@ ...@@ -972,11 +972,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3094.json", "schema": "https://iot-ap.ikonke.com/model/product_3094.json",
"productType": "lightPanel", "productType": "lightPanel",
"version": "1.1", "version": "1.2",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3094", "productCode": "3094",
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -56,11 +56,11 @@ ...@@ -56,11 +56,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -134,8 +134,8 @@ ...@@ -134,8 +134,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -146,11 +146,11 @@ ...@@ -146,11 +146,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -253,8 +253,8 @@ ...@@ -253,8 +253,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -267,11 +267,11 @@ ...@@ -267,11 +267,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -345,8 +345,8 @@ ...@@ -345,8 +345,8 @@
"specs": { "specs": {
"min": "0", "min": "0",
"max": "100", "max": "100",
"unit": "K", "unit": "%",
"unitName": "开尔文", "unitName": "百分比",
"step": "1" "step": "1"
} }
}, },
...@@ -357,11 +357,11 @@ ...@@ -357,11 +357,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
......
{
"schema": "https://iot-ap.ikonke.com/model/product_3100.json",
"productType": "outlet",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3100",
"productName": "海顿系列.10A智能插座Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "Electric",
"dataType": {
"type": "double",
"specs": {
"unit": "KWh",
"unitName": "千瓦时",
"step": "0.01"
}
},
"name": "累计电量值"
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "Power",
"dataType": {
"type": "double",
"specs": {
"unit": "W",
"unitName": "瓦特",
"step": "0.01"
}
},
"name": "设备功率值"
},
{
"identifier": "Electric",
"dataType": {
"type": "double",
"specs": {
"unit": "KWh",
"unitName": "千瓦时",
"step": "0.01"
}
},
"name": "累计电量值"
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关"
}
],
"identifier": "get",
"inputData": [
"PowerSwitch",
"Power",
"Electric",
"NoDisturbMode"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
},
{
"outputData":[
],
"identifier":"negativeProperty",
"inputData":[
"PowerSwitch"
],
"method":"thing.service.negativeProperty",
"name":"negativeProperty",
"required":true,
"callType":"async",
"desc":"属性值取反"
}
],
"properties": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关",
"accessMode": "rw",
"required": true
},
{
"identifier": "Power",
"dataType": {
"type": "double",
"specs": {
"unit": "W",
"unitName": "瓦特",
"step": "0.01"
}
},
"name": "设备功率值",
"accessMode": "r",
"required": true
},
{
"identifier": "Electric",
"dataType": {
"type": "double",
"specs": {
"unit": "KWh",
"unitName": "千瓦时",
"step": "0.01"
}
},
"name": "累计电量值",
"accessMode": "rw",
"required": true
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关",
"accessMode": "rw",
"required": true
}
],
"events": [
{
"outputData": [
{
"identifier": "PowerSwitch",
"dataType": {
"specs": {
"0": "关闭",
"1": "打开"
},
"type": "bool"
},
"name": "电源开关"
},
{
"identifier": "Electric",
"dataType": {
"type": "double",
"specs": {
"step": "0.01"
}
},
"name": "累计电量值"
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
},
{
"outputData": [
{
"identifier": "Power",
"name": "过载功率值",
"dataType": {
"type": "double",
"specs": {
"unit": "W",
"unitName": "瓦特",
"step": "0.01"
}
}
}
],
"identifier": "OverloadAlarm",
"method": "thing.event.OverloadAlarm.post",
"name": "OverloadAlarm",
"type": "alarm",
"required": true,
"desc": "过载告警"
}
]
}
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3102.json", "schema": "https://iot-ap.ikonke.com/model/product_3102.json",
"productType": "lightPanel", "productType": "lightPanel",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3102", "productCode": "3102",
...@@ -42,11 +42,11 @@ ...@@ -42,11 +42,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -118,11 +118,11 @@ ...@@ -118,11 +118,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -222,11 +222,11 @@ ...@@ -222,11 +222,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
...@@ -298,11 +298,11 @@ ...@@ -298,11 +298,11 @@
"dataType": { "dataType": {
"type": "int", "type": "int",
"specs": { "specs": {
"min": "0", "min": "10",
"max": "254", "max": "50",
"unit": "s", "unit": "1/10s",
"unitName": "秒", "unitName": "1/10秒",
"step": "1" "step": "10"
} }
}, },
"name": "渐变时间" "name": "渐变时间"
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
"identifier": "BatteryAlarm", "identifier": "BatteryAlarm",
"method": "thing.event.BatteryAlarm.post", "method": "thing.event.BatteryAlarm.post",
"name": "BatteryAlarm", "name": "BatteryAlarm",
"type": "alarm", "type": "alert",
"required": true, "required": true,
"desc": "低电量告警" "desc": "低电量告警"
}, },
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3110.json", "schema": "https://iot-ap.ikonke.com/model/product_3110.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3110", "productCode": "3110",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema":"https://iot-ap.ikonke.com/model/product_3115.json", "schema":"https://iot-ap.ikonke.com/model/product_3115.json",
"productType":"switch", "productType":"switch",
"version": "1.0", "version": "1",
"profile":{ "profile":{
"heartbeat":"300", "heartbeat":"300",
"productCode":"3115", "productCode":"3115",
......
{
"schema": "https://iot-ap.ikonke.com/model/product_3116.json",
"productType": "freshAir",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3116",
"productName": "肖邦系列.新风面板经典版Z3S(KONKE)"
},
"services": [
{
"identifier": "set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置",
"method": "thing.service.property.set",
"inputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"3": "高档"
}
}
}
],
"outputData": []
},
{
"identifier": "get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取",
"method": "thing.service.property.get",
"inputData": [
"PowerSwitch",
"WindSpeed"
],
"outputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"3": "高档"
}
}
}
]
}
],
"properties": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"3": "高档"
}
}
}
],
"events": [
{
"identifier": "post",
"name": "post",
"type": "info",
"required": true,
"desc": "属性上报",
"method": "thing.event.property.post",
"outputData": [
{
"identifier": "PowerSwitch",
"name": "电源开关",
"dataType": {
"type": "enum",
"specs": {
"0": "关闭",
"1": "开启"
}
}
},
{
"identifier": "WindSpeed",
"name": "风速",
"dataType": {
"type": "enum",
"specs": {
"1": "低档",
"3": "高档"
}
}
}
]
}
]
}
{
"schema": "https://iot-ap.ikonke.com/model/product_3124.json",
"productType": "sensor",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3124",
"productName": "肖邦系列.零火线SOS紧急呼叫面板Z3S(KONKE)"
},
"services": [
{
"outputData": [],
"inputData": [],
"identifier": "PositioningDevice",
"method": "thing.service.PositioningDevice",
"name": "PositioningDevice",
"required": true,
"callType": "async",
"desc": "设备定位"
}
],
"properties": [
],
"events": [
{
"outputData": [],
"identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post",
"name": "sosAlarm",
"type": "alarm",
"required": true,
"desc": "紧急按钮告警"
}
]
}
\ No newline at end of file
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3146.json", "schema": "https://iot-ap.ikonke.com/model/product_3146.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3146", "productCode": "3146",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3153.json", "schema": "https://iot-ap.ikonke.com/model/product_3153.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3153", "productCode": "3153",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3164.json", "schema": "https://iot-ap.ikonke.com/model/product_3164.json",
"productType": "scene", "productType": "scene",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3164", "productCode": "3164",
...@@ -51,6 +51,30 @@ ...@@ -51,6 +51,30 @@
"required": true, "required": true,
"callType": "async", "callType": "async",
"desc": "属性获取" "desc": "属性获取"
},
{
"outputData": [],
"identifier": "activeButton",
"inputData": [
{
"identifier":"buttonId",
"dataType":{
"specs":{
"1":"按键1",
"2":"按键2",
"3":"按键3",
"4":"按键4"
},
"type":"enum"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.activeButton",
"name": "activeButton",
"required": true,
"callType": "async",
"desc": "场景触发"
} }
], ],
"properties": [ "properties": [
......
{
"schema": "https://iot-ap.ikonke.com/model/product_3165.json",
"productType": "curtain",
"version": "1.0",
"profile": {
"heartbeat": "300",
"productCode": "3165",
"productName": "银河系列.零火线单路窗帘面板Z3S"
},
"services": [
{
"outputData": [],
"identifier": "set",
"inputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "TripTime",
"dataType": {
"type": "int",
"specs": {
"min": "30",
"max": "240",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "行程时间"
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关"
}
],
"method": "thing.service.property.set",
"name": "set",
"required": true,
"callType": "async",
"desc": "属性设置"
},
{
"outputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "TripTime",
"dataType": {
"type": "int",
"specs": {
"min": "30",
"max": "240",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "行程时间"
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关"
}
],
"identifier": "get",
"inputData": [
"OperationMode",
"TripTime",
"NoDisturbMode"
],
"method": "thing.service.property.get",
"name": "get",
"required": true,
"callType": "async",
"desc": "属性获取"
}
],
"properties": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式",
"accessMode": "rw",
"required": true
},
{
"identifier": "TripTime",
"dataType": {
"type": "int",
"specs": {
"min": "30",
"max": "240",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "行程时间",
"accessMode": "rw",
"required": true
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关",
"accessMode":"rw",
"required":true
}
],
"events": [
{
"outputData": [
{
"identifier": "OperationMode",
"dataType": {
"specs": {
"0": "关闭",
"1": "开启",
"2": "暂停"
},
"type": "enum"
},
"name": "窗帘操作模式"
},
{
"identifier": "TripTime",
"dataType": {
"type": "int",
"specs": {
"min": "30",
"max": "240",
"unit": "s",
"unitName": "秒",
"step": "1"
}
},
"name": "行程时间"
},
{
"identifier":"NoDisturbMode",
"dataType":{
"specs":{
"0":"关闭",
"1":"打开"
},
"type":"bool"
},
"name":"勿扰模式开关"
}
],
"identifier": "property",
"method": "thing.event.property.post",
"name": "property",
"type": "info",
"required": true,
"desc": "属性上报"
}
]
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment