[ { "name": "Кондиционер", "manufacturer": "ONOKOM", "model": "AIR-HR-1-MB-B", "catalogId": -1, "link": "https://onokom.ru/ustroistva.html", "version" : "1.0", "services": [ { "name": "Кондиционер", "type": "Thermostat", "characteristics": [ { "type": "CurrentTemperature", "link": { "type": "Float", "topicSearch": "/devices/(ONOKOM-AIR-HR-1-MB-B_[0-9]{1,3})/controls/Indoor air temperature/meta/type", "topicGet": "/devices/(1)/controls/Indoor air temperature" } }, { "type": "TargetTemperature", "link": { "type": "Float", "topicGet": "/devices/(1)/controls/Target temperature", "topicSet": "/devices/(1)/controls/Target temperature/on" }, "minValue": 16, "maxValue": 32, "minStep": 1 }, { "type": "CurrentHeatingCoolingState", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Thermostat state" }, "validValues": "0,1,2" }, { "type": "TargetHeatingCoolingState", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Active mode", "topicSet": "/devices/(1)/controls/Active mode/on", "map": { "0": 0, "1": 1, "2": 2, "3": 3, "-2": 4, "-1": 5 } }, "validValues": "0,1,2,3, -1, -2" }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vanes swing", "topicSet": "/devices/(1)/controls/Vanes swing/on", "map": { "0": 0, "1": 1, "-1": 2, "-2": 3 } }, "validValues": "0,1,-1,-2" } ] }, { "name": "Температура воздуха на улице", "type": "TemperatureSensor", "visible": false, "characteristics": [ { "type": "CurrentTemperature", "link": { "type": "Float", "topicGet": "/devices/(1)/controls/Outdoor air temperature" } } ] }, { "name": "Вентилятор", "type": "Fan", "characteristics": [ { "type": "RotationSpeed", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Smart fan speed", "topicSet": "/devices/(1)/controls/Smart fan speed/on" }, "minValue": 0, "maxValue": 5 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vanes swing", "topicSet": "/devices/(1)/controls/Vanes swing/on" } } ] }, { "name": "Горизональные жалюзи", "type": "Fan", "visible": false, "characteristics": [ { "type": "RotationSpeed", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on" }, "minValue": 1, "maxValue": 8 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on", "map": { "0": "2;3;4;5;6;7;8", "1": 1 } }, "validValues": "0,1" } ] }, { "name": "Горизональные жалюзи", "type": "C_TiltAngle", "characteristics": [ { "type": "TargetTiltAngle", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on" }, "minValue": 1, "maxValue": 8 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on", "map": { "0": "2;3;4;5;6;7;8", "-1": 1 } }, "validValues": "0,-1" } ] }, { "name": "Вертикальные жалюзи", "type": "Fan", "visible": false, "characteristics": [ { "type": "RotationSpeed", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on" }, "minValue": 1, "maxValue": 6 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on", "map": { "0": "2;3;4;5;6", "1": 1 } }, "validValues": "0,1" } ] }, { "name": "Вертикальные жалюзи", "type": "C_TiltAngle", "characteristics": [ { "type": "TargetTiltAngle", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on" }, "minValue": 1, "maxValue": 6 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on", "map": { "0": "2;3;4;5;6", "-2": 1 } }, "validValues": "0,-2" } ] }, { "name": "Подсветка экрана", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Screen light", "topicSet": "/devices/(1)/controls/Screen light/on" } } ] }, { "name": "Режим Тихий", "type": "Switch", "visible": false, "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Quiet mode", "topicSet": "/devices/(1)/controls/Quiet mode/on" } } ] }, { "name": "Режим Сон", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Sleep mode", "topicSet": "/devices/(1)/controls/Sleep mode/on" } } ] }, { "name": "Режим Турбо", "type": "Switch", "visible": false, "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Turbo mode", "topicSet": "/devices/(1)/controls/Turbo mode/on" } } ] }, { "name": "Режим Эко", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Eco mode", "topicSet": "/devices/(1)/controls/Eco mode/on" } } ] }, { "name": "Функция Ионизации", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Ionization", "topicSet": "/devices/(1)/controls/Ionization/on" } } ] }, { "name": "Функция самоочистки", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Self-clean", "topicSet": "/devices/(1)/controls/Self-clean/on" } } ] }, { "name": "Звуковая индикация", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Beeper", "topicSet": "/devices/(1)/controls/Beeper/on" } } ] } ], "options": [ { "link": { "type": "String", "topicGet": "/devices/(1)/controls/FW Version" }, "name": "Версия прошивки", "input": "status", "write": false, "type": "String" }, { "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/AC connected" }, "name": "Кондиционер подключен", "type": "Boolean", "write": false, "init": true } ] } ]