{
  "license-wirenboard" : "CC BY (C) 2026 Павел Яковлев for Wirenboard only",
  "license" : "CC BY-NC-SA (C) 2026 Павел Яковлев for all others exclude Wirenboard",

  "device_type": "tractavt-301-003",
  "title": "tractavt-301-003_template_title",
  "group": "io_modules",
  "device": {
    "name": "TRACTAVT-301-003",
    "id": "tractavt-301-003",
    "groups": [
      {
        "title": "General",
        "id": "general",
        "description": "Общие"
      },
      {
        "title": "Control",
        "id": "control",
        "description": "Управление"
      },
      {
        "title": "Hardware Info",
        "id": "hw_info",
        "description": "Информация об оборудовании"
      }
    ],
    "channels": [
      {
        "id": "key_number_low",
        "name": "Key Number Low",
        "reg_type": "holding",
        "address": 0,
        "group": "general",
        "readonly": true,
        "format": "u32"
      },
      {
        "id": "key_number_hi",
        "name": "Key Number Hi",
        "reg_type": "holding",
        "address": 2,
        "group": "general",
        "readonly": true,
        "format": "u32"
      },
      {
        "id": "led_on",
        "name": "LED On",
        "reg_type": "holding",
        "address": "4:0:1",
        "group": "control",
        "type": "switch"
      },
      {
        "id": "led_blink_200ms",
        "name": "LED Blink 200ms",
        "reg_type": "holding",
        "address": "4:1:1",
        "group": "control",
        "type": "switch"
      },
      {
        "id": "watchdog",
        "name": "Watchdog",
        "reg_type": "holding",
        "address": 104,
        "group": "control",
        "units": "s"
      },
      {
        "id": "key_polling_period",
        "name": "Key Polling Period",
        "reg_type": "holding",
        "address": 103,
        "group": "control",
        "units": "ms",
        "scale": 10
      },
      {
        "id": "device_serial_number",
        "name": "Device Serial Number",
        "reg_type": "holding",
        "address": 100,
        "group": "hw_info",
        "format": "u32",
        "readonly": true
      },
      {
        "id": "device_code",
        "name": "Device Code",
        "reg_type": "holding",
        "address": 102,
        "group": "hw_info",
        "readonly": true
      },
      {
        "id": "key_contact",
        "name": "Key Contact",
        "reg_type": "holding",
        "address": 5,
        "group": "general",
        "readonly": true,
        "type": "switch"
      },
      {
        "id": "key_touch_counter",
        "name": "Key Touch Counter",
        "reg_type": "holding",
        "address": 6,
        "readonly": true,
        "group": "general"
      },
      {
        "id": "reset_key_touch_counter",
        "name": "Reset Key Touch Counter",
        "reg_type": "holding",
        "address": 6,
        "group": "general",
        "on_value": 0,
        "type": "pushbutton"
      }
    ],
    "parameters": {},
    "translations": {
      "en": {
        "tractavt-301-003_template_title": "TRACTAVT-301-003"
      },
      "ru": {
        "tractavt-301-003_template_title": "TRACTAVT-301-003",
        "General": "Общие",
        "Control": "Управление",
        "Hardware Info": "Информация о оборудовании",
        "Key Number Low": "Считанный номер ключа low",
        "Key Number Hi": "Считанный номер ключа hi",
        "LED On": "Включить светодиод",
        "LED Blink 200ms": "Миигать светодиодом (200 мс)",
        "Watchdog": "Watchdog",
        "Key Polling Period": "Период опроса ключа",
        "Device Serial Number": "Индивидуальный номер устройства",
        "Device Code": "Код устройства",
        "Key Contact": "Контакт с  ключом",
        "Key Touch Counter": "Счётчик касаний ключа",
        "Reset Key Touch Counter": "Сбросить счётчик касаний"
      }
    }
  }
}
