diff --git a/test_data/ac_1263/appliance_data.json b/test_data/ac_1263/appliance_data.json new file mode 100644 index 0000000..f58af4b --- /dev/null +++ b/test_data/ac_1263/appliance_data.json @@ -0,0 +1,96 @@ +{ + "id": 1263, + "code": "XXXX1XX1111", + "applianceTypeId": 11, + "applianceTypeName": "AC", + "brand": "haier", + "connectivity": "wifi|ble", + "modelName": "HAS09TAAIN", + "series": "tundra", + "fwVersion": "5.15.0", + "unitConfiguration": "1to2", + "firstEnrollment": true, + "attributes": [ + { + "id": 24022, + "parName": "installationType", + "parValue": "1to1|1to2|1toN", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24023, + "parName": "interfaceType", + "parValue": "type|series|seriesVersion|option|windType|installationType\t", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24024, + "parName": "lowerBarrierDate", + "parValue": "2141", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24025, + "parName": "series", + "parValue": "tundra", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24026, + "parName": "type", + "parValue": "rac", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24027, + "parName": "windType", + "parValue": "vertical", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24028, + "parName": "seriesVersion", + "parValue": "trendy2022", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 38887, + "parName": "serviceability", + "parValue": "none", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 61214, + "parName": "fwLabel", + "parValue": "iotfw_epp", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + } + ], + "applianceModelId": 1263, + "firstEnrollmentTBC": true, + "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": "XXXX1XX1111X1XX11111", + "nickName": "Xxxxxxxxx", + "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:xx11x11x-x1xx-1111-x111-xxx1x1xx1x1x", + "SK_Secondary": "XX#xxxxXxxxx11#1111-11-11" +} \ No newline at end of file diff --git a/test_data/ac_1263/attributes.json b/test_data/ac_1263/attributes.json new file mode 100644 index 0000000..2e5b413 --- /dev/null +++ b/test_data/ac_1263/attributes.json @@ -0,0 +1,451 @@ +{ + "resultCode": "0", + "shadow": { + "parameters": { + "voiceStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempCoilerIndoor": { + "parNewVal": "23.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": "45", + "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": "22", + "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": "2", + "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": "35", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempIndoor": { + "parNewVal": "28.50", + "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": "220", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "windDirectionVertical": { + "parNewVal": "5", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "muteStatus": { + "parNewVal": "1", + "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": "41", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pm2p5LevelIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "heatAccumulationStatus": { + "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": "41", + "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" + }, + "statusSyncRate": { + "parNewVal": "1440", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "lightStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "electricHeatingStatusIndoor": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "tempOutdoor": { + "parNewVal": "42.00", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "pm2p5CleaningStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "voiceSignStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "selfCleaning56Status": { + "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" + }, + "echoStatus": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "windSpeed": { + "parNewVal": "5", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "specialMode": { + "parNewVal": "0", + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + "windSensingStatus": { + "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": "1", + "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": "1", + "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": 1697717703, + "macAddress": "xx-xx-xx-xx-xx-xx", + "activityExecutionStarted": "2023-07-21 12:15:02", + "attributes": { + "tempInAirOutdoor": "40", + "machMode": "2", + "tempCoilerOutdoor": "42", + "tempDefrostOutdoor": "42", + "tempOutdoor": "46.00", + "voiceStatus": "0", + "tempCoilerIndoor": "28.00", + "tempSel": "25.00", + "halfDegreeSettingStatus": "0", + "tempAirOutdoor": "42", + "co2ValueIndoor": "0", + "selfCleaningStatus": "0", + "pm2p5ValueIndoor": "0", + "fanStatusOutdoor": "2", + "tempUnit": "0", + "intelligenceStatus": "0", + "airQuality": "0", + "humidityIndoor": "0", + "energySavingStatus": "0", + "vocValueIndoor": "0", + "defrostStatus": "0", + "compressorFrequency": "0", + "tempIndoor": "30.50", + "healthMode": "0", + "fourWayValveStatus": "2", + "10degreeHeatingStatus": "0", + "freshAirStatus": "0", + "expansionValveOpenDegree": "480", + "windDirectionVertical": "5", + "muteStatus": "0", + "lockStatus": "0", + "ch2oCleaningStatus": "0", + "errAckFlag": "0", + "windDirectionHorizontal": "0", + "power": "0", + "ch2oValueIndoor": "0", + "machineModeHK": "0", + "acType": "0", + "pm2p5LevelIndoor": "0", + "heatAccumulationStatus": "0", + "sensingResult": "0", + "screenDisplayStatus": "1", + "silentSleepStatus": "0", + "humanSensingStatus": "0", + "energySavePeriod": "15", + "operationSource": "3", + "pm2p5ValueOutdoor": "0", + "lightStatus": "0", + "electricHeatingStatusIndoor": "0", + "pm2p5CleaningStatus": "0", + "voiceSignStatus": "0", + "selfCleaning56Status": "0", + "compressorCurrent": "51.10", + "humiditySel": "30", + "pmvStatus": "0", + "echoStatus": "0", + "windSpeed": "5", + "specialMode": "0", + "windSensingStatus": "0", + "electricHeatingStatus": "0", + "compressorStatus": "0", + "humidificationStatus": "0", + "fanStatusIndoor": "0", + "rapidMode": "0", + "origin": "dashboard", + "channel": "appliance" + }, + "applianceTypeName": "AC" + }, + "commandHistory": { + "command": { + "macAddress": "xx-xx-xx-xx-xx-xx", + "commandName": "stopProgram", + "applianceOptions": {}, + "ancillaryParameters": {}, + "applianceType": "AC", + "attributes": { + "channel": "mobileApp", + "origin": "standardProgram", + "energyLabel": "0" + }, + "device": { + "appVersion": "2.0.10", + "deviceModel": "exynos9820", + "osVersion": 31, + "mobileId": "111xxxx11x111111", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "22", + "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" + }, + "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": 1689868376656 + } +} \ No newline at end of file diff --git a/test_data/ac_1263/command_history.json b/test_data/ac_1263/command_history.json new file mode 100644 index 0000000..f22633b --- /dev/null +++ b/test_data/ac_1263/command_history.json @@ -0,0 +1,368 @@ +[ + { + "timestampAccepted": "1970-01-01T00:00:00.0Z", + "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", + "PK": "xxxx#xx-xxxx-1:xx11x11x-x1xx-1111-x111-xxx1x1xx1x1x#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": {}, + "ancillaryParameters": { + "remoteActionable": "1", + "programFamily": "[standard]", + "remoteVisible": "1" + }, + "applianceType": "AC", + "attributes": { + "channel": "mobileApp", + "origin": "standardProgram", + "energyLabel": "0" + }, + "device": { + "appVersion": "2.0.10", + "deviceModel": "exynos9820", + "osVersion": 31, + "mobileId": "111xxxx11x111111", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "22", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "5", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "6", + "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:xx11x11x-x1xx-1111-x111-xxx1x1xx1x1x#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": {}, + "ancillaryParameters": { + "remoteActionable": "1", + "programFamily": "[standard]", + "remoteVisible": "1" + }, + "applianceType": "AC", + "attributes": { + "channel": "mobileApp", + "origin": "standardProgram", + "energyLabel": "0" + }, + "device": { + "appVersion": "2.0.10", + "deviceModel": "exynos9820", + "osVersion": 31, + "mobileId": "111xxxx11x111111", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "22", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "5", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "2", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "5", + "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:xx11x11x-x1xx-1111-x111-xxx1x1xx1x1x#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": {}, + "ancillaryParameters": { + "remoteActionable": "1", + "ecoMode": "0", + "programFamily": "[standard]", + "remoteVisible": "1" + }, + "applianceType": "AC", + "attributes": { + "channel": "mobileApp", + "origin": "standardProgram", + "energyLabel": "0" + }, + "device": { + "appVersion": "2.0.10", + "deviceModel": "exynos9820", + "osVersion": 31, + "mobileId": "111xxxx11x111111", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "22", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "5", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "4", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "5", + "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:xx11x11x-x1xx-1111-x111-xxx1x1xx1x1x#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": {}, + "ancillaryParameters": { + "remoteActionable": "1", + "programFamily": "[standard]", + "remoteVisible": "1" + }, + "applianceType": "AC", + "attributes": { + "channel": "mobileApp", + "origin": "standardProgram", + "energyLabel": "0" + }, + "device": { + "appVersion": "2.0.10", + "deviceModel": "exynos9820", + "osVersion": 31, + "mobileId": "111xxxx11x111111", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "22", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "5", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "2", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "5", + "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:xx11x11x-x1xx-1111-x111-xxx1x1xx1x1x#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": {}, + "ancillaryParameters": { + "remoteActionable": "1", + "ecoMode": "0", + "programFamily": "[standard]", + "remoteVisible": "1" + }, + "applianceType": "AC", + "attributes": { + "channel": "mobileApp", + "origin": "standardProgram", + "energyLabel": "0" + }, + "device": { + "appVersion": "2.0.10", + "deviceModel": "exynos9820", + "osVersion": 31, + "mobileId": "111xxxx11x111111", + "mobileOs": "android" + }, + "parameters": { + "specialMode": "0", + "cleaningTimeStatus": "0", + "heatAccumulationStatus": "0", + "echoStatus": "0", + "tempSel": "22", + "healthMode": "0", + "humidificationStatus": "0", + "tempUnit": "0", + "screenDisplayStatus": "1", + "pmvStatus": "0", + "humiditySel": "30", + "windDirectionVertical": "5", + "lightStatus": "0", + "energySavingStatus": "0", + "lockStatus": "0", + "machMode": "1", + "windDirectionHorizontal": "0", + "freshAirStatus": "0", + "pm2p5CleaningStatus": "0", + "windSpeed": "5", + "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" + } +] \ No newline at end of file diff --git a/test_data/ac_1263/commands.json b/test_data/ac_1263/commands.json new file mode 100644 index 0000000..76e80f1 --- /dev/null +++ b/test_data/ac_1263/commands.json @@ -0,0 +1,3157 @@ +{ + "applianceModel": { + "id": 1263, + "name": "HAS09TAAIN", + "code": "XXXX1XX1111", + "applianceTypeId": 11, + "applianceTypeName": "AC", + "brand": "haier", + "connectivity": "wifi|ble", + "attributes": [ + { + "id": 24022, + "parName": "installationType", + "parValue": "1to1|1to2|1toN", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24023, + "parName": "interfaceType", + "parValue": "type|series|seriesVersion|option|windType|installationType\t", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24024, + "parName": "lowerBarrierDate", + "parValue": "2141", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24025, + "parName": "series", + "parValue": "tundra", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24026, + "parName": "type", + "parValue": "rac", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24027, + "parName": "windType", + "parValue": "vertical", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 24028, + "parName": "seriesVersion", + "parValue": "trendy2022", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 38887, + "parName": "serviceability", + "parValue": "none", + "status": 1, + "lastUpdate": "1970-01-01T00:00:00.0Z" + }, + { + "id": 61214, + "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": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "0", + "enumValues": [ + 0, + 1, + 2, + 4, + 6 + ] + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "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" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 0, + "fixedValue": { + "selfCleaningStatus": { + "$installationType": { + "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": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "0", + "enumValues": [ + 0, + 1, + 2, + 4, + 6 + ] + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "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" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + } + }, + "startProgram": { + "PROGRAMS.AC.IOT_SIMPLE_START": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "0", + "enumValues": [ + 0, + 1, + 2, + 4, + 6 + ] + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "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" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 0, + "fixedValue": { + "selfCleaningStatus": { + "$installationType": { + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + }, + "selfCleaning56Status": { + "$installationType": { + "1to1": { + "typology": "fixed", + "fixedValue": "0" + }, + "1to2": { + "typology": "fixed", + "fixedValue": "0" + }, + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + } + } + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "0" + } + } + }, + "PROGRAMS.AC.IOT_HEAT": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "4" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "ecoMode": { + "category": "general", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "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" + } + } + } + } + } + } + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + }, + "PROGRAMS.AC.IOT_COOL": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "ecoMode": { + "category": "general", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "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" + } + } + } + } + } + } + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + }, + "PROGRAMS.AC.IOT_DRY": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "2" + }, + "muteStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + }, + "PROGRAMS.AC.IOT_AUTO": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "muteStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "24", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + }, + "PROGRAMS.AC.IOT_FAN": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "6" + }, + "muteStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "3", + "enumValues": [ + 1, + 2, + 3 + ] + } + }, + "ancillaryParameters": { + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + }, + "PROGRAMS.AC.IOT_SELF_CLEAN": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "2" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "silentSleepStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "maintenance", + "health" + ], + "defaultValue": "[maintenance|health]" + }, + "programRules": { + "category": "rule", + "typology": "fixed", + "mandatory": 0, + "fixedValue": { + "remoteVisible": { + "$installationType": { + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + }, + "remoteActionable": { + "$installationType": { + "1toN": { + "typology": "fixed", + "fixedValue": "0" + } + } + } + } + }, + "remoteActionable": { + "category": "general", + "typology": "range", + "mandatory": 0, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "range", + "mandatory": 0, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + } + } + }, + "PROGRAMS.AC.IOT_10_HEATING": { + "description": "The command allows to start a program", + "protocolType": "MQTT", + "parameters": { + "10degreeHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "ch2oCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "cleaningTimeStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "echoStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "electricHeatingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "energySavePeriod": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "15" + }, + "energySavingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "filterChangeStatusCloud": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "freshAirStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "halfDegreeSettingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "healthMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "heatAccumulationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humanSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humidificationStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "humiditySel": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "30" + }, + "intelligenceStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lightStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "lockStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "machMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "4" + }, + "muteStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "onOffStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "1" + }, + "operationName": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "grSetDAC" + }, + "pm2p5CleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "pmvStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "rapidMode": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "0", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "screenDisplayStatus": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "1", + "minimumValue": "0", + "maximumValue": "1", + "incrementValue": "1" + }, + "selfCleaning56Status": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "selfCleaningStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "silentSleepStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "specialMode": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "tempSel": { + "category": "command", + "typology": "range", + "mandatory": 1, + "defaultValue": "22", + "minimumValue": "16", + "maximumValue": "30", + "incrementValue": "1" + }, + "tempUnit": { + "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" + }, + "windDirectionHorizontal": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windDirectionVertical": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 2, + 4, + 5, + 6, + 7, + 8 + ] + }, + "windSensingStatus": { + "category": "command", + "typology": "fixed", + "mandatory": 1, + "fixedValue": "0" + }, + "windSpeed": { + "category": "command", + "typology": "enum", + "mandatory": 1, + "defaultValue": "5", + "enumValues": [ + 1, + 2, + 3, + 5 + ] + } + }, + "ancillaryParameters": { + "programFamily": { + "category": "cluster", + "typology": "enum", + "mandatory": 1, + "enumValues": [ + "standard" + ], + "defaultValue": "[standard]" + }, + "remoteActionable": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + }, + "remoteVisible": { + "category": "general", + "typology": "fixed", + "mandatory": 0, + "fixedValue": "1" + } + } + } + }, + "options": {}, + "dictionaryId": 180 +} \ No newline at end of file diff --git a/test_data/ac_1263/maintenance.json b/test_data/ac_1263/maintenance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test_data/ac_1263/maintenance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test_data/ac_1263/statistics.json b/test_data/ac_1263/statistics.json new file mode 100644 index 0000000..4321dd9 --- /dev/null +++ b/test_data/ac_1263/statistics.json @@ -0,0 +1,5 @@ +{ + "mostUsedPrograms": [], + "mostUsedRecipes": [], + "programsCounter": 0 +} \ No newline at end of file