UNPKG

homebridge-philips-hue-sync-box

Version:
281 lines (280 loc) 9.1 kB
{ "pluginAlias": "PhilipsHueSyncBoxPlatform", "pluginType": "platform", "headerDisplay": "Homebridge plugin for the Philips Hue Sync Box. Important: TV accessories must be added to HomeKit manually, the logs show the pin for adding them (should be the same pin as for the plugin).", "footerDisplay": "For help please visit the [GitHub repository](https://github.com/jabrown93/homebridge-philips-hue-sync-box).", "strictValidation": true, "schema": { "type": "object", "properties": { "syncBoxIpAddress": { "title": "IP Address", "type": "string", "required": true, "placeholder": "XXX.XXX.XXX.XXX", "description": "The IP address of your Philips Hue Sync Box." }, "syncBoxApiAccessToken": { "title": "Access Token", "type": "string", "required": true, "description": "The access token that you get while registration." }, "defaultOnMode": { "title": "Default ON mode", "type": "string", "required": true, "default": "video", "description": "The mode that is used when switching the Sync Box on via HomeKit. Possible values are 'video', 'music', 'game' or 'lastSyncMode'.", "oneOf": [ { "title": "Video", "enum": ["video"] }, { "title": "Music", "enum": ["music"] }, { "title": "Game", "enum": ["game"] }, { "title": "Last Sync Mode", "enum": ["lastSyncMode"] } ] }, "defaultOffMode": { "title": "Default OFF mode", "type": "string", "required": true, "default": "passthrough", "description": "The mode that is used when switching the Sync Box off via HomeKit. Possible values are 'powersave' or 'passthrough'.", "oneOf": [ { "title": "Passthrough", "enum": ["passthrough"] }, { "title": "Power Save", "enum": ["powersave"] } ] }, "baseAccessory": { "title": "Base Accessory Type", "type": "string", "default": "lightbulb", "required": true, "oneOf": [ { "title": "Lightbulb", "enum": ["lightbulb"] }, { "title": "Switch", "enum": ["switch"] }, { "title": "None", "enum": ["none"] } ] }, "tvAccessory": { "title": "Enable HDMI TV", "type": "boolean", "default": false, "required": false, "description": "Enables a TV Accessory for switching the inputs of the Sync Box." }, "tvAccessoryConfiguredName": { "title": "Set name for the HDMI TV", "type": "string", "required": false, "description": "Sets custom name for the HDMI TV. Overwrites names configured HomeKit." }, "tvAccessoryType": { "title": "HDMI TV HomeKit Type", "type": "string", "default": "tv", "oneOf": [ { "title": "TV", "enum": ["tv"] }, { "title": "Set Top Box", "enum": ["settopbox"] }, { "title": "TV Stick", "enum": ["tvstick"] }, { "title": "Audio Receiver", "enum": ["audioreceiver"] } ] }, "tvAccessoryLightbulb": { "title": "Enable lightbulb for HDMI TV", "type": "boolean", "default": false, "required": false, "description": "Enables an integrated lightbulb for the TV Accessory." }, "modeTvAccessory": { "title": "Enable Mode TV", "type": "boolean", "default": false, "required": false, "description": "Enables a TV Accessory for switching the modes of the Sync Box." }, "modeTvAccessoryConfiguredName": { "title": "Set name for Mode TV", "type": "string", "required": false, "description": "Sets custom name for the Mode TV. Overwrites names configured HomeKit." }, "modeTvAccessoryType": { "title": "Mode TV HomeKit Type", "type": "string", "default": "tv", "oneOf": [ { "title": "TV", "enum": ["tv"] }, { "title": "Set Top Box", "enum": ["settopbox"] }, { "title": "TV Stick", "enum": ["tvstick"] }, { "title": "Audio Receiver", "enum": ["audioreceiver"] } ] }, "modeTvAccessoryLightbulb": { "title": "Enable lightbulb for Mode TV", "type": "boolean", "default": false, "required": false, "description": "Enables an integrated lightbulb for the TV Accessory." }, "intensityTvAccessory": { "title": "Enable Intensity TV", "type": "boolean", "default": false, "required": false, "description": "Enables a TV Accessory for switching the intensity of the Sync Box." }, "intensityTvAccessoryConfiguredName": { "title": "Set name for Intensity TV", "type": "string", "required": false, "description": "Sets custom name for the Intensity TV. Overwrites names configured HomeKit." }, "intensityTvAccessoryType": { "title": "Intensity TV HomeKit Type", "type": "string", "default": "tv", "oneOf": [ { "title": "TV", "enum": ["tv"] }, { "title": "Set Top Box", "enum": ["settopbox"] }, { "title": "TV Stick", "enum": ["tvstick"] }, { "title": "Audio Receiver", "enum": ["audioreceiver"] } ] }, "intensityTvAccessoryLightbulb": { "title": "Enable lightbulb for Intensity TV", "type": "boolean", "default": false, "required": false, "description": "Enables an integrated lightbulb for the TV Accessory." }, "entertainmentTvAccessory": { "title": "Enable Entertainment Area TV", "type": "boolean", "default": false, "required": false, "description": "Enables a TV Accessory for switching the entertainment area of the Sync Box." }, "entertainmentTvAccessoryConfiguredName": { "title": "Set name for Entertainment Area TV", "type": "string", "required": false, "description": "Sets custom name for the Entertainment Area TV. Overwrites names configured HomeKit." }, "entertainmentTvAccessoryType": { "title": "Entertainment Area TV HomeKit Type", "type": "string", "default": "tv", "oneOf": [ { "title": "TV", "enum": ["tv"] }, { "title": "Set Top Box", "enum": ["settopbox"] }, { "title": "TV Stick", "enum": ["tvstick"] }, { "title": "Audio Receiver", "enum": ["audioreceiver"] } ] }, "entertainmentTvAccessoryLightbulb": { "title": "Enable lightbulb for Entertainment Area TV", "type": "boolean", "default": false, "required": false, "description": "Enables an integrated lightbulb for the TV Accessory." }, "updateIntervalInSeconds": { "title": "Update Interval", "type": "integer", "default": 5, "required": true, "description": "The interval in seconds in which the plugin checks for updates." }, "uuidSeed": { "title": "UUID Seed", "type": "string", "required": false, "description": "This can be any string and must unique to this instance of the plugin. Only set this if you're running multiple instances of this plugin to differentiate the accessories. If you have existing accessories, changing this will cause them to be removed and re-created. HomeKit will consider these as new accessories and you will need to setup them up again." }, "apiServerEnabled": { "title": "Enable API", "type": "boolean", "default": false, "required": false, "description": "Enables an HTTP API for controlling the Sync Box." }, "apiServerPort": { "title": "API Port", "type": "integer", "default": "40220", "required": false, "description": "The port that the API (if enabled) runs on" }, "apiServerToken": { "title": "API Token", "type": "string", "required": false, "description": " The token that has to be included in each request of the API. Is required if the API is enabled and has no default value." } } } }