{
  "schemaVersion": 1,
  "minEngineVersion": 1,
  "deviceType": 69,
  "name": "Vega Smart Tab",
  "advertisingNames": [
    "VEGA STAB"
  ],
  "pairing": "never",
  "parameters": [
    {
      "id": 1007,
      "title": "Модель устройства",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "deviceType"
      }
    },
    {
      "id": 1008,
      "title": "Время устройства (UTC)",
      "readonly": false,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "number",
        "format": "unixSeconds"
      }
    },
    {
      "id": 1009,
      "title": "Версия ПО",
      "readonly": true,
      "wire": {
        "type": "ascii",
        "size": 20,
        "byteOrder": "big",
        "trimZeroPadding": true
      },
      "ui": {
        "editor": "readOnly",
        "format": "firmwareVersion"
      }
    },
    {
      "id": 1018,
      "title": "Температура",
      "readonly": true,
      "wire": {
        "type": "int8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "°C"
      }
    },
    {
      "id": 1019,
      "title": "Заряд батареи",
      "readonly": true,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "raw",
        "unit": "%"
      },
      "constraints": {
        "min": 0,
        "max": 100
      }
    },
    {
      "id": 1157,
      "title": "BLE MAC",
      "readonly": true,
      "wire": {
        "type": "mac",
        "size": 6,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "readOnly",
        "format": "mac"
      }
    },
    {
      "id": 10,
      "title": "Период опроса датчика",
      "readonly": false,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 15,
            "title": "15 секунд"
          },
          {
            "value": 30,
            "title": "30 секунд"
          },
          {
            "value": 60,
            "title": "1 минута"
          },
          {
            "value": 120,
            "title": "2 минуты"
          },
          {
            "value": 180,
            "title": "3 минуты"
          },
          {
            "value": 240,
            "title": "4 минуты"
          },
          {
            "value": 300,
            "title": "5 минут"
          },
          {
            "value": 900,
            "title": "15 минут"
          },
          {
            "value": 1800,
            "title": "30 минут"
          },
          {
            "value": 3600,
            "title": "1 час"
          },
          {
            "value": 10800,
            "title": "3 часа"
          },
          {
            "value": 14400,
            "title": "4 часа"
          },
          {
            "value": 21600,
            "title": "6 часов"
          },
          {
            "value": 32400,
            "title": "9 часов"
          },
          {
            "value": 43200,
            "title": "12 часов"
          },
          {
            "value": 86400,
            "title": "24 часа"
          }
        ]
      }
    },
    {
      "id": 11,
      "title": "Период опроса датчика при выходе за пороги",
      "readonly": false,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 15,
            "title": "15 секунд"
          },
          {
            "value": 30,
            "title": "30 секунд"
          },
          {
            "value": 60,
            "title": "1 минута"
          },
          {
            "value": 120,
            "title": "2 минуты"
          },
          {
            "value": 180,
            "title": "3 минуты"
          },
          {
            "value": 240,
            "title": "4 минуты"
          },
          {
            "value": 300,
            "title": "5 минут"
          },
          {
            "value": 900,
            "title": "15 минут"
          },
          {
            "value": 1800,
            "title": "30 минут"
          },
          {
            "value": 3600,
            "title": "1 час"
          },
          {
            "value": 10800,
            "title": "3 часа"
          },
          {
            "value": 14400,
            "title": "4 часа"
          },
          {
            "value": 21600,
            "title": "6 часов"
          },
          {
            "value": 32400,
            "title": "9 часов"
          },
          {
            "value": 43200,
            "title": "12 часов"
          },
          {
            "value": 86400,
            "title": "24 часа"
          }
        ]
      }
    },
    {
      "id": 50,
      "title": "Отслеживаемый порог",
      "readonly": false,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Нижний порог температуры"
          },
          {
            "value": 2,
            "title": "Верхний порог температуры"
          },
          {
            "value": 4,
            "title": "Нижний порог влажности"
          },
          {
            "value": 8,
            "title": "Верхний порог влажности"
          }
        ]
      }
    },
    {
      "id": 51,
      "title": "Нижний порог температуры",
      "readonly": false,
      "wire": {
        "type": "int16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "number",
        "format": "raw",
        "decimalPlaces": 2,
        "scale": {
          "numerator": 1,
          "denominator": 100
        }
      },
      "constraints": {
        "min": -4000,
        "max": 8000
      }
    },
    {
      "id": 52,
      "title": "Верхний порог температуры",
      "readonly": false,
      "wire": {
        "type": "int16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "number",
        "format": "raw",
        "decimalPlaces": 2,
        "scale": {
          "numerator": 1,
          "denominator": 100
        }
      },
      "constraints": {
        "min": -4000,
        "max": 8000
      }
    },
    {
      "id": 53,
      "title": "Нижний порог влажности",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "number",
        "format": "raw"
      },
      "constraints": {
        "min": 0,
        "max": 100
      }
    },
    {
      "id": 54,
      "title": "Верхний порог влажности",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "number",
        "format": "raw"
      },
      "constraints": {
        "min": 0,
        "max": 100
      }
    },
    {
      "id": 270,
      "title": "Режим работы BLE",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "Logger+"
          },
          {
            "value": 2,
            "title": "Logger"
          },
          {
            "value": 3,
            "title": "ЭКО"
          }
        ]
      }
    },
    {
      "id": 271,
      "title": "Мощность адвертайзинга",
      "readonly": false,
      "wire": {
        "type": "uint8",
        "size": 1,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "-16 дБи"
          },
          {
            "value": 2,
            "title": "-12 дБи"
          },
          {
            "value": 3,
            "title": "-8 дБи"
          },
          {
            "value": 4,
            "title": "-5 дБи"
          },
          {
            "value": 5,
            "title": "-3 дБи"
          },
          {
            "value": 6,
            "title": "-1 дБи"
          },
          {
            "value": 7,
            "title": "0 дБи"
          },
          {
            "value": 8,
            "title": "+1 дБи"
          },
          {
            "value": 9,
            "title": "+2 дБи"
          },
          {
            "value": 10,
            "title": "+3 дБи"
          },
          {
            "value": 11,
            "title": "+4 дБи"
          },
          {
            "value": 12,
            "title": "+5 дБи"
          },
          {
            "value": 13,
            "title": "+6 дБи"
          }
        ]
      }
    },
    {
      "id": 272,
      "title": "Период отправки адвертайзинг пакетов (мс.)",
      "readonly": false,
      "wire": {
        "type": "uint16",
        "size": 2,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 100,
            "title": "100 мс"
          },
          {
            "value": 200,
            "title": "200 мс"
          },
          {
            "value": 300,
            "title": "300 мс"
          },
          {
            "value": 400,
            "title": "400 мс"
          },
          {
            "value": 500,
            "title": "500 мс"
          },
          {
            "value": 1000,
            "title": "1000 мс"
          },
          {
            "value": 1500,
            "title": "1500 мс"
          },
          {
            "value": 1600,
            "title": "1600 мс"
          },
          {
            "value": 2000,
            "title": "2000 мс"
          },
          {
            "value": 4000,
            "title": "4000 мс"
          }
        ]
      }
    },
    {
      "id": 273,
      "title": "Адвертайзинг каналы",
      "readonly": false,
      "wire": {
        "type": "uint32",
        "size": 4,
        "byteOrder": "big"
      },
      "ui": {
        "editor": "choice",
        "format": "raw",
        "options": [
          {
            "value": 1,
            "title": "37"
          },
          {
            "value": 2,
            "title": "38"
          },
          {
            "value": 3,
            "title": "39"
          },
          {
            "value": 4,
            "title": "37, 38"
          },
          {
            "value": 5,
            "title": "37, 39"
          },
          {
            "value": 6,
            "title": "38, 39"
          },
          {
            "value": 7,
            "title": "37, 38, 39"
          }
        ]
      }
    }
  ],
  "screens": [
    {
      "kind": "info",
      "title": "Информация",
      "groups": [
        {
          "title": "Текущее состояние",
          "parameterIds": [
            1007,
            1008,
            1009,
            1018,
            1019,
            1157
          ]
        }
      ]
    },
    {
      "kind": "settings",
      "title": "Настройки",
      "groups": [
        {
          "title": "Настройки устройства",
          "parameterIds": [
            10,
            11,
            50,
            51,
            52,
            53,
            54,
            270,
            271,
            272,
            273
          ]
        }
      ]
    }
  ],
  "journal": {
    "profileId": "smart-tab-v1",
    "title": "Журнал",
    "pageCount": 128
  },
  "firmware": {
    "chip": "wch",
    "dfu": "wchSmartTab"
  }
}
