homebridge-flume
Version:
Homebridge plugin to integrate Flume devices into HomeKit.
84 lines (83 loc) • 2.48 kB
JSON
{
"pluginAlias": "Flume",
"pluginType": "platform",
"singular": true,
"customUi": true,
"customUiPath": "./src/homebridge-ui",
"schema": {
"type": "object",
"required": ["username", "password", "clientId", "clientSecret", "refreshInterval", "units"],
"properties": {
"name": {
"type": "string",
"title": "Plugin Name",
"default": "Flume"
},
"username": {
"type": "string",
"title": "Flume Username",
"required": true
},
"password": {
"type": "string",
"title": "Flume Password",
"required": true
},
"clientId": {
"type": "string",
"title": "Client ID",
"placeholder": "1234567890ABCD",
"required": true
},
"clientSecret": {
"type": "string",
"title": "Client Secret",
"description": "Your Flume Client ID and Client Secret can be found at https://portal.flumetech.com",
"placeholder": "1234567890ABCDEFGHIJ",
"required": true
},
"refreshInterval": {
"type": "integer",
"title": "Refresh Interval",
"description": "Number of minutes between requests to Flume for leak information",
"default": 2,
"minimum": 1,
"required": true
},
"units": {
"type": "string",
"title": "Units",
"description": "Volume units to use for custom characteristics",
"enum": ["GALLONS", "LITERS", "CUBIC_FEET", "CUBIC_METERS"],
"enumNames": ["Gallons", "Liters", "Cubic Feet", "Cubic Meters"],
"default": "GALLONS",
"required": true
},
"disableDeviceLogging": {
"type": "boolean",
"title": "Disable Device Logging",
"description": "If true then accessory status changes will not be logged",
"default": false,
"required": false
},
"verbose": {
"type": "boolean",
"title": "Verbose",
"description": "Enable additional debug logging",
"required": false
},
"excludeDevices": {
"type": "array",
"title": "Exclude devices",
"description": "List of devices to exclude from HomeKit -- look for \"Adding new device: [Device ID]\" in the logs",
"items": {
"title": "Device ID",
"type": "string"
},
"uniqueItems": true,
"default": [],
"required": false
}
}
}
}