{
  "pluginAlias": "Velux",
  "pluginType": "platform",
  "singular": true,
  "headerDisplay": "Homebridge plugin for Velux Integra KLF 200 gateway",
  "footerDisplay": "",
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "description": "Plugin name as displayed in the Homebridge log.",
        "type": "string",
        "required": true,
        "default": "Velux"
      },
      "hosts": {
        "title": "Hosts",
        "notitle": true,
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "host": {
              "title": "Host",
              "description": "IP address or hostname (and port) of KLF 200 gatway.  Default port: 51200.",
              "type": "string",
              "required": true
            },
            "id": {
              "title": "ID",
              "description": "A unique ID for the gateway, preferably its MAC address.  Default: the hostname.",
              "type": "string",
              "required": true
            },
            "name": {
              "title": "Name",
              "description": "The name for the gateway.  Default: the hostname.",
              "type": "string",
              "required": false
            },
            "password": {
              "title": "Password",
              "description": "The WiFi assword of the FLF 200 gateway.",
              "type": "string",
              "required": true
            }
          }
        }
      },
      "timeout": {
        "title": "Timeout",
        "description": "Timeout in seconds.  Default: 15.",
        "type": "integer",
        "minimum": 1,
        "maximum": 60
      }
    }
  }
}
