![]() Starting with iOS 13, you can use shortcuts for HomeKit automation. It has been created so that you can further automate the system with HomeKit shortcuts. This plugin also provides an HTTP API to control some features of the Apple TVs. Is required if the API is enabled and has no default value. Defaults to 40304, please change this setting of the port is already in use.ĪpiToken (optional): The token that has to be included in each request of the API. See API for more information.ĪpiPort (optional): The port that the API (if enabled) runs on. IsApiEnabled (optional): Enables an HTTP API for controlling devices. Make sure to use a unique name for the switch (it can be renamed in the Home app afterwards).Ĭommands: The commands that should be executed when the switch is enabled. Those switches are "stateless" and execute the configured commands. This value is case sensitive.ĭefault app bundleIdentifiers can be found here: ĬommandSwitches (optional): You can provide a list of switches that should be additionally exposed to HomeKit. This value is reported in the log information of the plugin. Useful for plugins like homebridge-alexa, where changing the name in the Home app is not propagated back to homebridge.ĪppPlayPauseSwitches (optional): Can be used to set a list of switches in homebridge to monitor which app is playing.īundleIdentifier: The technical name of an app on the Apple TV. PlayPauseSwitchName (optional): Can be used to set the initial name that is displayed in the Home app. IsPlayPauseSwitchEnabled: If set to true, a switch is exposed for changing the play state. OnOffTvName (optional): The name of the TV that is displayed in the Home app. ![]() IsOnOffTvEnabled: If set to true, a TV accessory is exposed for changing on/off of the Apple TV. Useful for plugins like homebridge-alexa, where changing the name in the Home app is not propagated back to homebridge. OnOffSwitchName (optional): Can be used to set the initial name that is displayed in the Home app. ![]() IsOnOffSwitchEnabled: If set to true, a switch is exposed for changing on/off of the Apple TV. This helps you to differentiate the entries in the devices array and is used in the API.Ĭredentials: The credentials string that has been generated with the appletv command. You can install the package node-appletv-x that contains a command line tool to create the credentials for each Apple TV you want to use:ĭevices: Array of all your Apple TV devices that the plugin should expose. Generate credentials for Apple TVsīefore installing the plugin, credentials must be created for each Apple TV. The plugin also supports exporting the on/off switch as a TV accessory (you have to add the TV accessory manually to HomeKit, as it is exposed as external accessory). Each Apple TV can be turned on/off via a switch.Īdditionally, a play/pause switch is exposed to HomeKit. Plugin for controlling Apple TVs in homebridge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |