homebridge-connector-hub
Version:
A Homebridge plugin to expose Connector+ compatible blinds, curtains, awnings etc to Homekit
117 lines • 3.04 kB
JSON
{
"pluginAlias": "ConnectorHub",
"pluginType": "platform",
"singular": true,
"schema": {
"connectorKey": {
"title": "App Key",
"type": "string",
"description": "Key obtained from the blinds app. Go to the About page and tap the screen five times.",
"required": true
},
"hubIps": {
"title": "Hub / Wifi Device IPs",
"description": "If UDP multicast auto-discovery is not working, specify the IPs of each hub or WiFi motor device here.",
"type": "array",
"buttonText": "Add Hub / WiFi Device IP",
"required": false,
"minLength": 0,
"items": {
"type": "string",
"format": "ipv4"
}
},
"reverseDirection": {
"title": "Reverse Direction",
"description": "If some of your devices move in the opposite of the expected direction, add their Serial Numbers here.",
"type": "array",
"buttonText": "Add Device Serial Number",
"required": false,
"minLength": 0,
"items": {
"type": "string"
}
},
"invertReverseList": {
"title": "Reverse All Except Listed Devices",
"description": "Inverts the behaviour of the list above by reversing all devices *except* the ones in the list.",
"type": "boolean",
"default": false
},
"refreshIntervalMs": {
"title": "Refresh Interval",
"description": "Interval in milliseconds between device status refreshes",
"type": "integer",
"required": true,
"default": 10000
},
"maxRetries": {
"title": "Max Request Retries",
"description": "Max number of times to retry a failed request to the hub",
"type": "integer",
"required": true,
"default": 2
},
"retryDelayMs": {
"title": "Retry Delay",
"description": "Delay in milliseconds between retries",
"type": "integer",
"required": true,
"default": 250
},
"enableDebugLog": {
"title": "Debug Logging",
"type": "boolean",
"default": false
}
},
"layout": [
{
"key": "basic_settings",
"title": "Basic Settings",
"type": "section",
"expandable": true,
"expanded": true,
"items": [
"connectorKey"
]
},
{
"key": "advanced_settings",
"title": "Advanced Settings",
"type": "section",
"expandable": true,
"expanded": false,
"items": [
{
"key": "hubIps",
"type": "array",
"items": [
"hubIps[]"
]
}
]
},
{
"key": "debug_settings",
"title": "Debug Settings",
"type": "section",
"expandable": true,
"expanded": false,
"items": [
{
"key": "reverseDirection",
"type": "array",
"items": [
"reverseDirection[]"
]
},
"invertReverseList",
"refreshIntervalMs",
"maxRetries",
"retryDelayMs",
"enableDebugLog"
]
}
]
}