UNPKG

homebridge-modern-forms-fans

Version:

Add Modern Forms fans to your Home app using Homebridge.

58 lines 1.56 kB
{ "pluginAlias": "ModernFormsFans", "pluginType": "platform", "singular": true, "schema": { "type": "object", "properties": { "autoDiscover": { "title": "Auto discover", "description": "Disable automatic discovery of fans on your local network.", "type": "boolean", "default": true, "required": false }, "pollingInterval": { "title": "Polling Interval", "description": "Defines how often (in seconds) fans are queried for state on the network.", "type": "number", "default": 5, "required": false }, "mqttUrl": { "title": "MQTT Server URL", "description": "Configure MQTT server for switch notifications", "type": "string", "required": false }, "fans": { "title": "Fans", "description": "(optional) Fans will be automatically discovered.", "type": "array", "items": { "title": "Fan", "type": "object", "properties": { "ip": { "title": "IP", "type": "string", "required": true, "format": "ipv4" }, "light": { "title": "Light", "type": "boolean", "required": false, "default": true }, "switch": { "title": "Switch Topic", "type": "string", "required": false } } } } } } }