{
  "title": "template_title",
  "device_type": "Ventalen-AIR-DK-1-MB-B",
  "group": "g-air-conditioning",
  "hw": [
    {
      "signature": "DK-1-MB-B"
    }
  ],
  "device": {
    "name": "Ventalen-AIR-DK-1-MB-B",
    "id": "Ventalen-AIR-DK-1-MB-B",
    "groups": [
      {
        "title": "General",
        "id": "general",
        "order": 1
      },
      {
        "title": "Temperature control",
        "id": "temperatureControl",
        "order": 2
      },
      {
        "title": "Vanes",
        "id": "vanes",
        "order": 3
      },
      {
        "title": "Additional",
        "id": "additional",
        "order": 4
      },
      {
        "title": "Indication",
        "id": "indication",
        "order": 5
      },
      {
        "title": "HW Info",
        "id": "hw_info",
        "order": 6
      },
      {
        "title": "Debug",
        "id": "debug",
        "order": 9
      }
    ],
    "parameters": [
      {
        "id": "Allow_the_use_of_an_external_temperature_sensor",
        "title": "Allow the use of an external temperature sensor",
        "address": 100,
        "reg_type": "coil",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "No",
          "Yes"
        ],
        "group": "temperatureControl",
        "order": 1
      },
      {
        "id": "Show_modes_as_range",
        "title": "Show modes as range",
        "address": 95,
        "reg_type": "coil",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "No",
          "Yes"
        ],
        "group": "general",
        "order": 1
      },
      {
        "id": "Show_fan_as_range",
        "title": "Show fan as range",
        "address": 92,
        "reg_type": "coil",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "No",
          "Yes"
        ],
        "group": "general",
        "order": 1
      },
      {
        "id": "Show_vanes_as_range",
        "title": "Show vanes as range",
        "address": 94,
        "reg_type": "coil",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "No",
          "Yes"
        ],
        "group": "vanes",
        "order": 1
      },
      {
        "id": "Show_thermostat_state_as_range",
        "title": "Show thermostat state as range",
        "address": 94,
        "reg_type": "coil",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "No",
          "Yes"
        ],
        "group": "temperatureControl",
        "order": 1
      },
      {
        "id": "baud_rate",
        "title": "Baud rate",
        "description": "baud_rate_description",
        "address": 110,
        "reg_type": "holding",
        "enum": [
          96,
          192,
          384,
          576,
          1152
        ],
        "default": 96,
        "enum_titles": [
          "9600",
          "19200",
          "38400",
          "57600",
          "115200"
        ],
        "group": "hw_info",
        "order": 1
      },
      {
        "id": "parity_bit",
        "title": "Parity bit",
        "description": "parity_bit_description",
        "address": 111,
        "reg_type": "holding",
        "enum": [
          0,
          1,
          2
        ],
        "default": 0,
        "enum_titles": [
          "none (N)",
          "odd (O)",
          "even (E)"
        ],
        "group": "hw_info",
        "order": 1
      }
    ],
    "channels": [
      {
        "name": "Active",
        "reg_type": "coil",
        "address": 1,
        "type": "switch",
        "format": "u16",
        "sporadic": true,
        "group": "general"
      },
      {
        "name": "Mode",
        "reg_type": "holding",
        "address": 1,
        "type": "range",
        "format": "u16",
        "min": 1,
        "max": 5,
        "sporadic": true,
        "group": "general",
        "condition": "Show_modes_as_range==1"
      },
      {
        "name": "Mode",
        "reg_type": "holding",
        "address": 1,
        "type": "value",
        "format": "u16",
        "sporadic": true,
        "group": "general",
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "enum_titles": [
          "Heat",
          "Cool",
          "Auto",
          "Dry",
          "Fan"
        ],
        "condition": "Show_modes_as_range!=1"
      },
      {
        "name": "Active mode",
        "reg_type": "holding",
        "address": 2,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 5,
        "sporadic": true,
        "group": "general",
        "condition": "Show_modes_as_range==1"
      },
      {
        "name": "Active mode",
        "reg_type": "holding",
        "address": 2,
        "type": "value",
        "format": "u16",
        "sporadic": true,
        "group": "general",
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "enum_titles": [
          "Off",
          "Heat",
          "Cool",
          "Auto",
          "Dry",
          "Fan"
        ],
        "condition": "Show_modes_as_range!=1"
      },
      {
        "name": "Fan speed",
        "reg_type": "holding",
        "address": 7,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 5,
        "sporadic": true,
        "group": "general",
        "condition": "Show_fan_as_range==1"
      },
      {
        "name": "Fan speed",
        "reg_type": "holding",
        "address": 7,
        "type": "value",
        "format": "u16",
        "sporadic": true,
        "group": "general",
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "enum_titles": [
          "Auto",
          "1 Speed",
          "2 Speed",
          "3 Speed",
          "4 Speed",
          "5 Speed"
        ],
        "condition": "Show_fan_as_range!=1"
      },
      {
        "name": "Smart fan speed",
        "reg_type": "holding",
        "address": 8,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 7,
        "sporadic": true,
        "group": "general",
        "condition": "Show_fan_as_range==1"
      },
      {
        "name": "Smart fan speed",
        "reg_type": "holding",
        "address": 8,
        "type": "value",
        "format": "u16",
        "min": 0,
        "max": 7,
        "sporadic": true,
        "group": "general",
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "enum_titles": [
          "Auto",
          "Quiet mode",
          "1 Speed",
          "2 Speed",
          "3 Speed",
          "4 Speed",
          "5 Speed",
          "Turbo mode"
        ],
        "condition": "Show_fan_as_range!=1"
      },
      {
        "name": "External air temperature",
        "reg_type": "holding",
        "address": 30,
        "type": "value",
        "format": "s16",
        "min": -30,
        "max": 30,
        "scale": 0.01,
        "sporadic": true,
        "group": "temperatureControl",
        "condition": "Allow_the_use_of_an_external_temperature_sensor==1"
      },
      {
        "name": "Indoor air temperature",
        "reg_type": "holding",
        "address": 3,
        "type": "value",
        "format": "s16",
        "scale": 0.01,
        "sporadic": true,
        "group": "temperatureControl",
        "readonly": true,
        "units": "deg C",
        "condition": "Allow_the_use_of_an_external_temperature_sensor!=1"
      },
      {
        "name": "Indoor air temperature",
        "reg_type": "holding",
        "address": 3,
        "type": "value",
        "format": "s16",
        "min": -50,
        "max": 50,
        "scale": 0.01,
        "sporadic": true,
        "group": "temperatureControl",
        "readonly": true,
        "units": "deg C",
        "condition": "Allow_the_use_of_an_external_temperature_sensor==1"
      },
      {
        "name": "Outdoor air temperature",
        "enabled": false,
        "reg_type": "holding",
        "address": 4,
        "type": "value",
        "format": "s16",
        "scale": 0.01,
        "sporadic": true,
        "group": "temperatureControl",
        "readonly": true,
        "units": "deg C"
      },
      {
        "name": "Target temperature",
        "reg_type": "holding",
        "address": 5,
        "type": "range",
        "format": "s16",
        "min": 16,
        "max": 32,
        "scale": 0.01,
        "sporadic": true,
        "group": "temperatureControl",
        "units": "deg C"
      },
      {
        "name": "Temperature correction",
        "reg_type": "holding",
        "address": 20,
        "type": "value",
        "format": "s16",
        "min": -30,
        "max": 30,
        "sporadic": true,
        "group": "temperatureControl",
        "condition": "Allow_the_use_of_an_external_temperature_sensor==1"
      },
      {
        "name": "Thermostat state",
        "reg_type": "holding",
        "address": 6,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 2,
        "sporadic": true,
        "group": "temperatureControl",
        "readonly": true,
        "condition": "Show_thermostat_state_as_range==1"
      },
      {
        "name": "Thermostat state",
        "reg_type": "holding",
        "address": 6,
        "type": "value",
        "format": "u16",
        "sporadic": true,
        "group": "temperatureControl",
        "enum": [
          0,
          1,
          2
        ],
        "enum_titles": [
          "Idle",
          "Heating",
          "Cooling"
        ],
        "readonly": true,
        "condition": "Show_thermostat_state_as_range!=1"
      },
      {
        "name": "Horizontal vanes",
        "reg_type": "holding",
        "address": 9,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 1,
        "sporadic": true,
        "group": "vanes",
        "condition": "Show_vanes_as_range==1"
      },
      {
        "name": "Horizontal vanes",
        "reg_type": "holding",
        "address": 9,
        "type": "value",
        "format": "u16",
        "sporadic": true,
        "group": "vanes",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "Stop",
          "Swing"
        ],
        "condition": "Show_vanes_as_range!=1"
      },
      {
        "name": "Vanes swing",
        "reg_type": "holding",
        "address": 11,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 3,
        "sporadic": false,
        "group": "vanes",
        "condition": "Show_vanes_as_range==1"
      },
      {
        "name": "Vanes swing",
        "reg_type": "holding",
        "address": 11,
        "type": "value",
        "format": "u16",
        "sporadic": false,
        "group": "vanes",
        "enum": [
          0,
          1,
          2,
          3
        ],
        "enum_titles": [
          "Stop",
          "Horizontal and vertical vanes swing",
          "Horizontal vanes swing",
          "Vertical vanes swing"
        ],
        "condition": "Show_vanes_as_range!=1"
      },
      {
        "name": "Vertical vanes",
        "reg_type": "holding",
        "address": 10,
        "type": "range",
        "format": "u16",
        "min": 0,
        "max": 1,
        "sporadic": true,
        "group": "vanes",
        "condition": "Show_vanes_as_range==1"
      },
      {
        "name": "Vertical vanes",
        "reg_type": "holding",
        "address": 10,
        "type": "value",
        "format": "u16",
        "sporadic": true,
        "group": "vanes",
        "enum": [
          0,
          1
        ],
        "enum_titles": [
          "Stop",
          "Swing"
        ],
        "condition": "Show_vanes_as_range!=1"
      },
      {
        "name": "Eco mode",
        "enabled": false,
        "reg_type": "coil",
        "address": 6,
        "type": "switch",
        "sporadic": true,
        "group": "additional"
      },
      {
        "name": "Ionization",
        "enabled": false,
        "reg_type": "coil",
        "address": 9,
        "type": "switch",
        "sporadic": true,
        "group": "additional"
      },
      {
        "name": "Outdoor quiet mode",
        "enabled": false,
        "reg_type": "coil",
        "address": 16,
        "type": "switch",
        "sporadic": true,
        "group": "additional"
      },
      {
        "name": "Quiet mode",
        "enabled": false,
        "reg_type": "coil",
        "address": 4,
        "type": "switch",
        "sporadic": true,
        "group": "additional"
      },
      {
        "name": "Turbo mode",
        "enabled": false,
        "reg_type": "coil",
        "address": 7,
        "type": "switch",
        "sporadic": true,
        "group": "additional"
      },
      {
        "name": "Screen light",
        "reg_type": "coil",
        "address": 2,
        "type": "switch",
        "sporadic": true,
        "group": "indication"
      },
      {
        "name": "Screen low bright",
        "enabled": false,
        "reg_type": "coil",
        "address": 3,
        "type": "switch",
        "sporadic": true,
        "group": "indication"
      },
      {
        "name": "FW Version",
        "enabled": false,
        "reg_type": "holding",
        "address": 250,
        "type": "text",
        "format": "string",
        "sporadic": true,
        "group": "hw_info",
        "readonly": true,
        "string_data_size": 16
      },
      {
        "name": "HW Version",
        "enabled": false,
        "reg_type": "holding",
        "address": 200,
        "type": "text",
        "format": "string",
        "sporadic": true,
        "group": "hw_info",
        "readonly": true,
        "string_data_size": 20
      },
      {
        "name": "MCU Temperature",
        "enabled": false,
        "reg_type": "input",
        "address": 124,
        "type": "temperature",
        "format": "s16",
        "scale": 0.1,
        "group": "hw_info"
      },
      {
        "name": "PROTO Version",
        "enabled": false,
        "reg_type": "input",
        "address": 400,
        "type": "text",
        "format": "string",
        "sporadic": true,
        "group": "hw_info",
        "readonly": true,
        "string_data_size": 16
      },
      {
        "name": "Reboot Device",
        "enabled": false,
        "reg_type": "holding",
        "address": 120,
        "type": "pushbutton",
        "group": "hw_info"
      },
      {
        "name": "Serial",
        "enabled": false,
        "reg_type": "holding",
        "address": 270,
        "type": "text",
        "format": "u32",
        "group": "hw_info",
        "readonly": true
      },
      {
        "name": "Signature",
        "enabled": false,
        "reg_type": "input",
        "address": 290,
        "type": "text",
        "format": "string",
        "sporadic": true,
        "group": "hw_info",
        "readonly": true,
        "string_data_size": 12
      },
      {
        "name": "Uptime",
        "enabled": false,
        "reg_type": "input",
        "address": 104,
        "type": "text",
        "format": "u32",
        "group": "hw_info"
      },
      {
        "name": "AC connected",
        "reg_type": "coil",
        "address": 20,
        "type": "switch",
        "sporadic": true,
        "group": "debug",
        "readonly": true
      },
      {
        "name": "Current fan speed",
        "enabled": false,
        "reg_type": "holding",
        "address": 32,
        "type": "range",
        "min": 0,
        "max": 200,
        "sporadic": true,
        "group": "debug",
        "readonly": true,
        "units": "rpm"
      },
      {
        "name": "Target fan speed",
        "enabled": false,
        "reg_type": "holding",
        "address": 31,
        "type": "range",
        "min": 0,
        "max": 200,
        "sporadic": true,
        "group": "debug",
        "readonly": true,
        "units": "rpm"
      }
    ],
    "translations": {
      "en": {
        "template_title": "Ventalen AIR DK-1-MB-B (Adapter for household Daikin systems)"
      }
    }
  }
}
