[ { "name": "Кондиционер", "manufacturer": "ONOKOM", "model": "AIR-ME-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-ME-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", "topicSearch": "/devices/(1)/controls/Thermostat state/meta/type", "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": "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", "map": { "0": 0, "1": 1, "-1": 2, "-2": 3 } }, "validValues": "0,1,-1,-2" } ] }, { "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 } ] }, { "name": "Горизональные ламели", "type": "Fan", "characteristics": [ { "type": "RotationSpeed", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on" }, "minValue": 2, "maxValue": 6 }, { "type": "TargetFanState", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on", "map": { "0": "0;2;3;4;5;6", "1": 1 } }, "validValues": "0,1" } ] }, { "name": "Вертикальные ламели", "type": "Fan", "characteristics": [ { "type": "RotationSpeed", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on" }, "minValue": 2, "maxValue": 6 }, { "type": "TargetFanState", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on", "map": { "0": "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/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on" }, "minValue": 2, "maxValue": 6 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on", "map": { "0": "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": 2, "maxValue": 6 }, { "type": "SwingMode", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Vertical vanes", "topicSet": "/devices/(1)/controls/Vertical vanes/on", "map": { "0": "0;2;3;4;5;6", "-1": 1 } }, "validValues": "0,-1" } ] }, { "name": "Тихий", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Quiet mode", "topicSet": "/devices/(1)/controls/Quiet mode/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 } ] } ]