{
  "name": "Котел OpenTherm",
  "manufacturer": "WB Nevoton",
  "model": "WBE2-I-OPENTHERM",
  "modelIds": [
    "/devices/(wbe2-i-opentherm_[0-9]{1,3})/controls/Boiler Status/meta"
  ],
  "catalogId": 3539,
  "services": [
    {
      "name": "Котел",
      "type": "Thermostat",
      "logics": [
        {
          "type": "CurrentHeatingCoolingFromTarget"
        }
      ],
      "characteristics": [
        {
          "type": "CurrentTemperature",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Heating Temperature"
            }
          ]
        },
        {
          "type": "TargetTemperature",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Heating Setpoint",
              "topicSet": "/devices/(1)/controls/Heating Setpoint/on"
            }
          ],
          "minValue": 0,
          "maxValue": 80,
          "minStep": 1
        },
        {
          "type": "CurrentHeatingCoolingState",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Boiler CH mode",
              "map": {
                "OFF": "0",
                "HEAT": "1"
              }
            }
          ],
          "validValues": "OFF,HEAT"
        },
        {
          "type": "TargetHeatingCoolingState",
          "validValues": "HEAT",
          "option": true
        },
        {
          "type": "TemperatureDisplayUnits",
          "validValues": "CELSIUS",
          "option": true
        }
      ]
    },
    {
      "name": "Бойлер",
      "type": "Thermostat",
      "characteristics": [
        {
          "type": "CurrentTemperature",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Hot Water Temperature"
            }
          ]
        },
        {
          "type": "TargetTemperature",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Hot Water Setpoint",
              "topicSet": "/devices/(1)/controls/Hot Water Setpoint/on"
            }
          ],
          "minValue": 0,
          "maxValue": 80,
          "minStep": 1
        },
        {
          "type": "CurrentHeatingCoolingState",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Boiler DHW mode",
              "map": {
                "OFF": "0",
                "HEAT": "1"
              }
            }
          ],
          "validValues": "OFF,HEAT"
        },
        {
          "type": "TargetHeatingCoolingState",
          "validValues": "HEAT",
          "option": true
        },
        {
          "type": "TemperatureDisplayUnits",
          "validValues": "CELSIUS",
          "option": true
        }
      ]
    },
    {
      "name": "Давление в котле",
      "type": "C_AtmosphericPressureSensor",
      "characteristics": [
        {
          "type": "C_CurrentAtmosphericPressure",
          "link": [
            {
              "type": "Double",
              "topicGet": "/devices/(1)/controls/Water Pressure"
            }
          ],
          "maxValue": 6,
          "minStep": 0.01,
          "unit": "бар"
        }
      ]
    },
    {
      "name": "Модуляция горелки",
      "visible": false,
      "type": "C_Option",
      "characteristics": [
        {
          "type": "C_Intensity",
          "link": [
            {
              "type": "Integer",
              "topicGet": "/devices/(1)/controls/Burner Modulation Level"
            }
          ]
        }
      ]
    },
    {
      "name": "Температура комнатного датчика",
      "visible": false,
      "type": "TemperatureSensor",
      "characteristics": [
        {
          "type": "TargetTemperature",
          "link": [
            {
              "type": "Integer",
              "topicGet": "/devices/(1)/controls/Room Temperature",
              "topicSet": "/devices/(1)/controls/Room Temperature/on"
            }
          ]
        }
      ]
    }
  ],
  "options": [
    {
      "name": "Ошибка связи с котлом",
      "type": "Boolean",
      "link": [
        {
          "type": "Boolean",
          "topicGet": "/devices/(1)/controls/Invalid Connection"
        }
      ],
      "inputType": "STATUS"
    },
    {
      "name": "Версия FW модуля",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/FW Version"
        }
      ],
      "inputType": "STATUS"
    },
    {
      "name": "Настройка отопления",
      "description": "При выборе типа, учитывается одно из следующих трех",
      "type": "Integer",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/Temperature Sensor Type",
          "topicSet": "/devices/(1)/controls/Temperature Sensor Type/on"
        }
      ],
      "value": 0,
      "values": [
        {
          "value": 0,
          "name": "Котел по уставке"
        },
        {
          "value": 1,
          "name": "Котел по комнатному датчику"
        },
        {
          "value": 2,
          "name": "Котел по уличному датчику"
        }
      ]
    },
    {
      "name": "Режим работы котла",
      "description": "Только при выборе по уставке",
      "type": "Integer",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/Current Boiler Mode",
          "topicSet": "/devices/(1)/controls/Current Boiler Mode/on"
        }
      ],
      "value": 1,
      "values": [
        {
          "value": 0,
          "name": "Контуры отключены"
        },
        {
          "value": 1,
          "name": "ЗИМА (ЦО+ГВС)"
        },
        {
          "value": 2,
          "name": "ЛЕТО (только ГВС)"
        }
      ]
    },
    {
      "name": "Значение комнатного датчика",
      "description": "При выборе по комнатному датчику. См. скрытое устройство!",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/Room Temperature"
        }
      ],
      "inputType": "STATUS"
    },
    {
      "name": "Номер климатической кривой",
      "description": "Только при выборе по внешнему датчику",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/Climate Curve Number",
          "topicSet": "/devices/(1)/controls/Climate Curve Number/on"
        }
      ],
      "inputType": "TEXT",
      "maxValue": 200,
      "minValue": 20,
      "minStep": 1
    },
    {
      "name": "Гистерезис ЦО",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/CH Gest",
          "topicSet": "/devices/(1)/controls/CH Gest/on"
        }
      ],
      "inputType": "TEXT",
      "maxValue": 60,
      "minValue": 15,
      "minStep": 1
    },
    {
      "name": "Гистерезис ГВС",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/DHW Gest",
          "topicSet": "/devices/(1)/controls/DHW Gest/on"
        }
      ],
      "inputType": "TEXT",
      "maxValue": 70,
      "minValue": 15,
      "minStep": 1
    },
    {
      "name": "Максимальная модуляция (%)",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/Max Modulation Level",
          "topicSet": "/devices/(1)/controls/Max Modulation Level/on"
        }
      ],
      "inputType": "TEXT",
      "maxValue": 100,
      "minValue": 0,
      "minStep": 5
    },
    {
      "name": "Код ошибки",
      "description": "Код OEM ошибки. См. документацию производитея.",
      "type": "String",
      "link": [
        {
          "type": "Double",
          "topicGet": "/devices/(1)/controls/Error Code"
        }
      ],
      "inputType": "STATUS"
    }
  ]
}