diff --git a/test_data/ac_555/appliance_data.json b/test_data/ac_555/appliance_data.json new file mode 100644 index 0000000..c8d7014 --- /dev/null +++ b/test_data/ac_555/appliance_data.json @@ -0,0 +1,94 @@ +{ + "id": 555, + "code": "XXXXXXX1111", + "applianceTypeId": 11, + "applianceTypeName": "AC", + "brand": "haier", + "connectivity": "wifi|ble", + "modelName": "AS09TS4HRA-M", + "series": "tundra", + "purchaseDate": "1970-01-01T00:00:00.0Z", + "fwVersion": "5.15.0", + "attributes": [ + { + "id": 11524, + "parName": "lowerBarrierDate", + "parValue": "2001", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11525, + "parName": "type", + "parValue": "rac", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11526, + "parName": "series", + "parValue": "tundra", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11527, + "parName": "seriesVersion", + "parValue": "baseStation", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11528, + "parName": "installationType", + "parValue": "1to2|1toN", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11529, + "parName": "windType", + "parValue": "vertical", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11530, + "parName": "interfaceType", + "parValue": "type|series|seriesVersion|option|windType|installationType\t", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 38211, + "parName": "serviceability", + "parValue": "none", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 61272, + "parName": "fwLabel", + "parValue": "iotfw_epp", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + } + ], + "applianceModelId": 555, + "SK": "xxx#xx-xx-xx-xx-xx-xx", + "macAddress": "xx-xx-xx-xx-xx-xx", + "eepromName": "no_eeprom", + "applianceId": "xx-xx-xx-xx-xx-xx#1970-01-01T00:00:00.0Z", + "serialNumber": "XXXXXXX1111X1X1X1111", + "nickName": "Xxxxxxx-xxxxxxx", + "enrollmentDate": "1970-01-01T00:00:00.0Z", + "lastUpdate": "1970-01-01T00:00:00.0Z", + "eepromId": 41, + "applianceStatus": 1, + "coords": { + "lng": 11.1111111, + "lat": 11.1111111 + }, + "PK": "xxxx#xx-xxxx-1:1111x11x-xxxx-1x11-xx1x-x11x1x11xx11", + "SK_Secondary": "XX#xxxxXxxxx#1111-11-11" +} \ No newline at end of file diff --git a/test_data/ac_555/attributes.json b/test_data/ac_555/attributes.json new file mode 100644 index 0000000..c05c31a --- /dev/null +++ b/test_data/ac_555/attributes.json @@ -0,0 +1,429 @@ +{ + "resultCode": "0", + "shadow": { + "parameters": { + "tempCoilerIndoor": { + "parNewVal": "19.00", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempSel": { + "parNewVal": "27.00", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "totalWorkTime": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "halfDegreeSettingStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempAirOutdoor": { + "parNewVal": "29", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "debugEnabled": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "co2ValueIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempInAirOutdoor": { + "parNewVal": "25", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "selfCleaningStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pm2p5ValueIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "fanStatusOutdoor": { + "parNewVal": "2", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempUnit": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "stdTransRate": { + "parNewVal": "3600", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "intelligenceStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "airQuality": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "machMode": { + "parNewVal": "1", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "humidityIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "energySavingStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "vocValueIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "errors": { + "parNewVal": "00", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "defrostStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "compressorFrequency": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempIndoor": { + "parNewVal": "27.00", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "healthMode": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "fourWayValveStatus": { + "parNewVal": "2", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "10degreeHeatingStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "freshAirStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "expansionValveOpenDegree": { + "parNewVal": "4", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "windDirectionVertical": { + "parNewVal": "2", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "muteStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "onOffStatus": { + "parNewVal": "1", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "lockStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "highTransRate": { + "parNewVal": "1", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "ch2oCleaningStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "errAckFlag": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "windDirectionHorizontal": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "power": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "ch2oValueIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "machineModeHK": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "acType": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempCoilerOutdoor": { + "parNewVal": "24", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pm2p5LevelIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "sensingResult": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "screenDisplayStatus": { + "parNewVal": "1", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "silentSleepStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "humanSensingStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "energySavePeriod": { + "parNewVal": "15", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "filterChangeStatusLocal": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempDefrostOutdoor": { + "parNewVal": "22", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "operationSource": { + "parNewVal": "3", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pm2p5ValueOutdoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "lightStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "statusSyncRate": { + "parNewVal": "1440", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "electricHeatingStatusIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempOutdoor": { + "parNewVal": "23.00", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pm2p5CleaningStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "compressorCurrent": { + "parNewVal": "51.10", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "humiditySel": { + "parNewVal": "30", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pmvStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "operationName": { + "parNewVal": "", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "echoStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "windSpeed": { + "parNewVal": "3", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "specialMode": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "transMode": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "electricHeatingStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "compressorStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "humidificationStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "totalElectricityUsed": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "fanStatusIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "rapidMode": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + } + } + }, + "activity": { + "resultCode": "0", + "activityStarted": "1970-01-01T00:00:00.0Z", + "category": "CYCLE", + "ttl": 1696127523, + "macAddress": "xx-xx-xx-xx-xx-xx", + "attributes": { + "tempSel": "27.00", + "tempInAirOutdoor": "22", + "operationSource": "1", + "tempCoilerIndoor": "24.00", + "halfDegreeSettingStatus": "0", + "tempAirOutdoor": "22", + "co2ValueIndoor": "0", + "selfCleaningStatus": "0", + "pm2p5ValueIndoor": "0", + "fanStatusOutdoor": "2", + "tempUnit": "0", + "intelligenceStatus": "0", + "airQuality": "0", + "machMode": "1", + "humidityIndoor": "0", + "energySavingStatus": "0", + "vocValueIndoor": "0", + "defrostStatus": "0", + "compressorFrequency": "0", + "tempIndoor": "27.00", + "healthMode": "0", + "fourWayValveStatus": "2", + "10degreeHeatingStatus": "0", + "freshAirStatus": "0", + "expansionValveOpenDegree": "4", + "windDirectionVertical": "2", + "muteStatus": "0", + "lockStatus": "0", + "ch2oCleaningStatus": "0", + "errAckFlag": "0", + "windDirectionHorizontal": "0", + "power": "0", + "ch2oValueIndoor": "0", + "machineModeHK": "0", + "acType": "0", + "tempCoilerOutdoor": "22", + "pm2p5LevelIndoor": "0", + "sensingResult": "0", + "screenDisplayStatus": "1", + "silentSleepStatus": "0", + "humanSensingStatus": "0", + "energySavePeriod": "15", + "tempDefrostOutdoor": "21", + "pm2p5ValueOutdoor": "0", + "lightStatus": "0", + "electricHeatingStatusIndoor": "0", + "tempOutdoor": "22.00", + "pm2p5CleaningStatus": "0", + "compressorCurrent": "51.10", + "humiditySel": "30", + "pmvStatus": "0", + "echoStatus": "0", + "windSpeed": "3", + "specialMode": "0", + "electricHeatingStatus": "0", + "compressorStatus": "0", + "humidificationStatus": "0", + "fanStatusIndoor": "0", + "rapidMode": "0", + "origin": "dashboard", + "channel": "appliance" + }, + "activityExecutionStarted": "2023-07-03 02:32:03", + "applianceTypeName": "AC" + }, + "commandHistory": { + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "startProgram", + "applianceOptions": {}, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "alisa", + "prStr": "IOT_SIMPLE_START", + "origin": "conversationalVoice" + }, + "device": { + "osVersion": "28", + "appVersion": "1.10.0", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "26.00", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "2", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "1", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "3", + "onOffStatus": 0, + "electricHeatingStatus": "0", + "ch2oCleaningStatus": "0", + "filterChangeStatusCloud": "0", + "energySavePeriod": "15", + "intelligenceStatus": "0", + "rapidMode": "0", + "halfDegreeSettingStatus": "0", + "operationName": "grSetDAC", + "silentSleepStatus": "0", + "voiceSignStatus": "0", + "voiceStatus": "0", + "muteStatus": "0", + "10degreeHeatingStatus": "0", + "windSensingStatus": "0", + "selfCleaning56Status": "0", + "humanSensingStatus": "0", + "selfCleaningStatus": "0" + }, + "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", + "timestamp": "1970-01-01T00:00:00.0Z" + }, + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "timestampExecuted": "1970-01-01T00:00:00.0Z" + }, + "lastConnEvent": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "category": "CONNECTED", + "instantTime": "1970-01-01T00:00:00.0Z", + "timestampEvent": 1688321619558 + } +} \ No newline at end of file diff --git a/test_data/ac_555/command_history.json b/test_data/ac_555/command_history.json new file mode 100644 index 0000000..c0cbd86 --- /dev/null +++ b/test_data/ac_555/command_history.json @@ -0,0 +1,342 @@ +[ + { + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "timestampExecuted": "1970-01-01T00:00:00.0Z", + "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", + "PK": "xxxx#xx-xxxx-1:1111x11x-xxxx-1x11-xx1x-x11x1x11xx11#xxx#xx-xx-xx-xx-xx-xx", + "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "startProgram", + "applianceOptions": {}, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "alisa", + "prStr": "IOT_SIMPLE_START", + "origin": "conversationalVoice" + }, + "device": { + "osVersion": "28", + "appVersion": "1.10.0", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "26.00", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "2", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "1", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "3", + "onOffStatus": 0, + "electricHeatingStatus": "0", + "ch2oCleaningStatus": "0", + "filterChangeStatusCloud": "0", + "energySavePeriod": "15", + "intelligenceStatus": "0", + "rapidMode": "0", + "halfDegreeSettingStatus": "0", + "operationName": "grSetDAC", + "silentSleepStatus": "0", + "voiceSignStatus": "0", + "voiceStatus": "0", + "muteStatus": "0", + "10degreeHeatingStatus": "0", + "windSensingStatus": "0", + "selfCleaning56Status": "0", + "humanSensingStatus": "0", + "selfCleaningStatus": "0" + }, + "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", + "timestamp": "1970-01-01T00:00:00.0Z" + }, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "timestampExecuted": "1970-01-01T00:00:00.0Z", + "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", + "PK": "xxxx#xx-xxxx-1:1111x11x-xxxx-1x11-xx1x-x11x1x11xx11#xxx#xx-xx-xx-xx-xx-xx", + "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "startProgram", + "applianceOptions": {}, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "alisa", + "prStr": "IOT_SIMPLE_START", + "origin": "conversationalVoice" + }, + "device": { + "osVersion": "28", + "appVersion": "1.10.0", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "27.00", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "2", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "1", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "3", + "onOffStatus": 0, + "electricHeatingStatus": "0", + "ch2oCleaningStatus": "0", + "filterChangeStatusCloud": "0", + "energySavePeriod": "15", + "intelligenceStatus": "0", + "rapidMode": "0", + "halfDegreeSettingStatus": "0", + "operationName": "grSetDAC", + "silentSleepStatus": "0", + "voiceSignStatus": "0", + "voiceStatus": "0", + "muteStatus": "0", + "10degreeHeatingStatus": "0", + "windSensingStatus": "0", + "selfCleaning56Status": "0", + "humanSensingStatus": "0", + "selfCleaningStatus": "0" + }, + "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", + "timestamp": "1970-01-01T00:00:00.0Z" + }, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "timestampExecuted": "1970-01-01T00:00:00.0Z", + "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", + "PK": "xxxx#xx-xxxx-1:1111x11x-xxxx-1x11-xx1x-x11x1x11xx11#xxx#xx-xx-xx-xx-xx-xx", + "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "startProgram", + "applianceOptions": {}, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "alisa", + "prStr": "IOT_SIMPLE_START", + "origin": "conversationalVoice" + }, + "device": { + "osVersion": "28", + "appVersion": "1.10.0", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "27.00", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "2", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "1", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "3", + "onOffStatus": 1, + "electricHeatingStatus": "0", + "ch2oCleaningStatus": "0", + "filterChangeStatusCloud": "0", + "energySavePeriod": "15", + "intelligenceStatus": "0", + "rapidMode": "0", + "halfDegreeSettingStatus": "0", + "operationName": "grSetDAC", + "silentSleepStatus": "0", + "voiceSignStatus": "0", + "voiceStatus": "0", + "muteStatus": "0", + "10degreeHeatingStatus": "0", + "windSensingStatus": "0", + "selfCleaning56Status": "0", + "humanSensingStatus": "0", + "selfCleaningStatus": "0" + }, + "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", + "timestamp": "1970-01-01T00:00:00.0Z" + }, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "timestampExecuted": "1970-01-01T00:00:00.0Z", + "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", + "PK": "xxxx#xx-xxxx-1:1111x11x-xxxx-1x11-xx1x-x11x1x11xx11#xxx#xx-xx-xx-xx-xx-xx", + "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "startProgram", + "applianceOptions": {}, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "alisa", + "prStr": "IOT_SIMPLE_START", + "origin": "conversationalVoice" + }, + "device": { + "osVersion": "28", + "appVersion": "1.10.0", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "27.00", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "2", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "1", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "3", + "onOffStatus": 0, + "electricHeatingStatus": "0", + "ch2oCleaningStatus": "0", + "filterChangeStatusCloud": "0", + "energySavePeriod": "15", + "intelligenceStatus": "0", + "rapidMode": "0", + "halfDegreeSettingStatus": "0", + "operationName": "grSetDAC", + "silentSleepStatus": "0", + "voiceSignStatus": "0", + "voiceStatus": "0", + "muteStatus": "0", + "10degreeHeatingStatus": "0", + "windSensingStatus": "0", + "selfCleaning56Status": "0", + "humanSensingStatus": "0", + "selfCleaningStatus": "0" + }, + "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", + "timestamp": "1970-01-01T00:00:00.0Z" + }, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "timestampExecuted": "1970-01-01T00:00:00.0Z", + "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", + "PK": "xxxx#xx-xxxx-1:1111x11x-xxxx-1x11-xx1x-x11x1x11xx11#xxx#xx-xx-xx-xx-xx-xx", + "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "startProgram", + "applianceOptions": {}, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "alisa", + "prStr": "IOT_SIMPLE_START", + "origin": "conversationalVoice" + }, + "device": { + "osVersion": "28", + "appVersion": "1.10.0", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "24.00", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "5", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "0", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "5", + "onOffStatus": 0, + "electricHeatingStatus": "0", + "ch2oCleaningStatus": "0", + "filterChangeStatusCloud": "0", + "energySavePeriod": "15", + "intelligenceStatus": "0", + "rapidMode": "0", + "halfDegreeSettingStatus": "0", + "operationName": "grSetDAC", + "silentSleepStatus": "0", + "voiceSignStatus": "0", + "voiceStatus": "0", + "muteStatus": "0", + "10degreeHeatingStatus": "0", + "windSensingStatus": "0", + "selfCleaning56Status": "0", + "humanSensingStatus": "0", + "selfCleaningStatus": "0" + }, + "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", + "timestamp": "1970-01-01T00:00:00.0Z" + }, + "lastUpdate": "1970-01-01T00:00:00.0Z" + } +] \ No newline at end of file diff --git a/test_data/ac_555/commands.json b/test_data/ac_555/commands.json new file mode 100644 index 0000000..68a9acd --- /dev/null +++ b/test_data/ac_555/commands.json @@ -0,0 +1,3199 @@ +{ + "applianceModel": { + "id": 555, + "name": "AS09TS4HRA-M", + "code": "XXXXXXX1111", + "applianceTypeId": 11, + "applianceTypeName": "AC", + "brand": "haier", + "connectivity": "wifi|ble", + "attributes": [ + { + "id": 11524, + "parName": "lowerBarrierDate", + "parValue": "2001", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11525, + "parName": "type", + "parValue": "rac", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11526, + "parName": "series", + "parValue": "tundra", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11527, + "parName": "seriesVersion", + "parValue": "baseStation", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11528, + "parName": "installationType", + "parValue": "1to2|1toN", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11529, + "parName": "windType", + "parValue": "vertical", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 11530, + "parName": "interfaceType", + "parValue": "type|series|seriesVersion|option|windType|installationType\t", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 38211, + "parName": "serviceability", + "parValue": "none", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 61272, + "parName": "fwLabel", + "parValue": "iotfw_epp", + "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": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "0", + "enumValues": [ + 0, + 1, + 2, + 4, + 6 + ] + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 1, + "fixedValue": { + "selfCleaningStatus": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + }, + "selfCleaning56Status": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1to2": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + } + } + } + } + }, + "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": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "0", + "enumValues": [ + 0, + 1, + 2, + 4, + 6 + ] + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + }, + "startProgram": { + "PROGRAMS.AC.IOT_SIMPLE_START": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "0", + "enumValues": [ + 0, + 1, + 2, + 4, + 6 + ] + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "0" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 1, + "fixedValue": { + "selfCleaningStatus": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + }, + "selfCleaning56Status": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1to2": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + } + } + } + } + }, + "PROGRAMS.AC.IOT_HEAT": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "4" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "ecoMode": { + "category": "general", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 0, + "fixedValue": { + "tempSel": { + "ecoMode": { + "1": { + "machMode": { + "1": { + "typology": "fixed", + "fixedValue": "26" + }, + "4": { + "typology": "fixed", + "fixedValue": "20" + } + } + } + } + }, + "windSpeed": { + "ecoMode": { + "1": { + "machMode": { + "1|4": { + "typology": "enum", + "defaultValue": "1", + "enumValues": "1|2|3|5" + } + } + } + } + }, + "windDirectionVertical": { + "ecoMode": { + "1": { + "machMode": { + "1|4": { + "typology": "fixed", + "fixedValue": "3" + } + } + } + } + } + } + } + } + }, + "PROGRAMS.AC.IOT_COOL": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "ecoMode": { + "category": "general", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 0, + "fixedValue": { + "tempSel": { + "ecoMode": { + "1": { + "machMode": { + "1": { + "typology": "fixed", + "fixedValue": "26" + }, + "4": { + "typology": "fixed", + "fixedValue": "20" + } + } + } + } + }, + "windSpeed": { + "ecoMode": { + "1": { + "machMode": { + "1|4": { + "typology": "enum", + "defaultValue": "1", + "enumValues": "1|2|3|5" + } + } + } + } + }, + "windDirectionVertical": { + "ecoMode": { + "1": { + "machMode": { + "1|4": { + "typology": "fixed", + "fixedValue": "3" + } + } + } + } + } + } + } + } + }, + "PROGRAMS.AC.IOT_DRY": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "2" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + } + } + }, + "PROGRAMS.AC.IOT_AUTO": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "24", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + } + } + }, + "PROGRAMS.AC.IOT_FAN": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "6" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "muteStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "3", + "enumValues": [ + 1, + 2, + 3 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + } + } + }, + "PROGRAMS.AC.IOT_SELF_CLEAN": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "range", + "mandatory": 0, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "range", + "mandatory": 0, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 1, + "fixedValue": { + "remoteVisible": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + }, + "remoteActionable": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + } + } + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "maintenance", + "health" + ], + "defaultValue": "[maintenance|health]" + } + } + }, + "PROGRAMS.AC.IOT_10_HEATING": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "4" + }, + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempUnit": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceSignStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "voiceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + } + }, + "ancillaryParameters": { + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + } + } + } + }, + "options": {}, + "dictionaryId": 185 +} \ No newline at end of file diff --git a/test_data/ac_555/maintenance.json b/test_data/ac_555/maintenance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test_data/ac_555/maintenance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test_data/ac_555/statistics.json b/test_data/ac_555/statistics.json new file mode 100644 index 0000000..f310387 --- /dev/null +++ b/test_data/ac_555/statistics.json @@ -0,0 +1,31 @@ +{ + "mostUsedPrograms": [ + { + "count": 62, + "programName": "PROGRAMS.AC.IOT_COOL", + "prCode": null + }, + { + "count": 13, + "programName": "PROGRAMS.AC.IOT_SIMPLE_START", + "prCode": null + }, + { + "count": 2, + "programName": "PROGRAMS.AC.IOT_FAN", + "prCode": null + }, + { + "count": 1, + "programName": "PROGRAMS.AC.IOT_AUTO", + "prCode": null + }, + { + "count": 1, + "programName": "PROGRAMS.AC.IOT_HEAT", + "prCode": null + } + ], + "mostUsedRecipes": [], + "programsCounter": 0 +} \ No newline at end of file