hon-test-data/test_data/ap_137/commands.json

285 lines
9.4 KiB
JSON
Raw Normal View History

2023-07-01 10:29:19 +00:00
{
"applianceModel": {
"id": 137,
"name": "HHP50CA001",
"code": "11111111",
"applianceTypeId": 7,
"applianceTypeName": "AP",
"brand": "hoover",
"connectivity": "wifi|ble",
"attributes": [
{
"id": 1187,
"parName": "lowerBarrierDate",
"parValue": "2001",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 1188,
"parName": "series",
"parValue": "h-purifier500",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 7855,
"parName": "option",
"parValue": "aromaDiffuser",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 7856,
"parName": "display",
"parValue": "advanced",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 7857,
"parName": "waterTank",
"parValue": "no",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 7858,
"parName": "interfaceType",
"parValue": "series|display|option",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 15270,
"parName": "habitat",
"parValue": "2/3",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 37812,
"parName": "serviceability",
"parValue": "none",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
},
{
"id": 61353,
"parName": "fwLabel",
"parValue": "iotfw_ap",
"status": 1,
"lastUpdate": "1970-01-01T00:00:00.0Z"
}
],
"options": {}
},
"settings": {
"setParameters": {
"description": "The message allows to change parameters values to enable/disable specific features ",
"protocolType": "MQTT",
"parameters": {
"machMode": {
"category": "command",
"typology": "enum",
"mandatory": 0,
"defaultValue": "2",
"enumValues": [
1,
2,
4
]
},
"aromaStatus": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "4",
"incrementValue": "1"
},
"aromaPreferredSetting": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "1",
"minimumValue": "1",
"maximumValue": "4",
"incrementValue": "1"
},
"aromaTimeOn": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "60",
"minimumValue": "1",
"maximumValue": "86400",
"incrementValue": "1"
},
"aromaTimeOff": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "60",
"minimumValue": "1",
"maximumValue": "86400",
"incrementValue": "1"
},
"pollenLevel": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "2",
"incrementValue": "1"
},
"lockStatus": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "1",
"incrementValue": "1"
},
"lightStatus": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "2",
"incrementValue": "1"
},
"touchToneStatus": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "1",
"incrementValue": "1"
},
"preFilterStatus": {
"category": "command",
"typology": "fixed",
"mandatory": 0,
"fixedValue": "0"
},
"mainFilterStatus": {
"category": "command",
"typology": "fixed",
"mandatory": 0,
"fixedValue": "0"
},
"stdTransRate": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "3600",
"minimumValue": "1",
"maximumValue": "86400",
"incrementValue": "1"
},
"highTransRate": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "5",
"minimumValue": "1",
"maximumValue": "86400",
"incrementValue": "1"
}
}
},
"setConfig": {
"description": "The message allows to set platform parameters",
"protocolType": "MQTT",
"parameters": {
"httpEndpoint": {
"category": "command",
"typology": "fixed",
"mandatory": 0
},
"mqttEndpoint": {
"category": "command",
"typology": "fixed",
"mandatory": 0
}
}
}
},
"stopProgram": {
"description": "The message allows to stop the program",
"protocolType": "MQTT",
"parameters": {
"onOffStatus": {
"category": "command",
"typology": "fixed",
"mandatory": 1,
"fixedValue": "0"
}
}
},
"startProgram": {
"PROGRAMS.AP.undefined": {
"description": "The command allows to start a program",
"protocolType": "MQTT",
"parameters": {
"onOffStatus": {
"category": "command",
"typology": "fixed",
"mandatory": 1,
"fixedValue": "1"
},
"machMode": {
"category": "command",
"typology": "enum",
"mandatory": 0,
"defaultValue": "2",
"enumValues": [
1,
2,
4
]
},
"aromaStatus": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "4",
"incrementValue": "1"
},
"lightStatus": {
"category": "command",
"typology": "range",
"mandatory": 0,
"defaultValue": "0",
"minimumValue": "0",
"maximumValue": "2",
"incrementValue": "1"
}
},
"ancillaryParameters": {
"remoteActionable": {
"category": "general",
"typology": "fixed",
"mandatory": 0,
"fixedValue": "1"
},
"remoteVisible": {
"category": "general",
"typology": "fixed",
"mandatory": 0,
"fixedValue": "1"
}
}
}
},
"options": {},
"dictionaryId": 74
}