[ { "name": "Кондиционер", "manufacturer": "ONOKOM", "model": "MD-3-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-MD-3-MB-B_[0-9]{1,3})/controls/Indoor air temperature/meta/type", "topicGet": "/devices/(1)/controls/Indoor air temperature" } }, { "name": "Температура внешнего датчика", "type": "C_Float", "link": { "type": "Float", "topicGet": "/devices/(1)/controls/Indoor air temperature", "topicSet": "/devices/(1)/controls/Indoor air temperature/on" } }, { "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 } }, "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 } ] }, { "name": "Горизональные жалюзи", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Horizontal vanes", "topicSet": "/devices/(1)/controls/Horizontal vanes/on" } } ] }, { "name": "Режим Эко", "type": "Switch", "characteristics": [ { "type": "On", "link": { "type": "Integer", "topicGet": "/devices/(1)/controls/Eco mode", "topicSet": "/devices/(1)/controls/Eco 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 } ] } ]