
(Note that the previous guidance about using service groups was either incorrect or has become a bad idea!) "Now Playing" video feedĪ new feature is the ability to have a "Now Playing" video feed that looks like a camera in HomeKit.


If you name them "Music", for instance, Siri will think you're talking about your device's built-in music player. To switch on/off airplay destinations with Siri, you may want to rename the AirPlay devices that this plugin creates, and add "Speaker" or "Speakers" to the name. Not quite as natural as saying "Skip this album", but it'll have to do for now. This lets you tell Siri, "Turn on the Track Skipper" to skip a track and "Turn on the Album Skipper" to skip to the next album. So, there are two "On/Off" switches called "Track Skipper" and "Album Skipper". This plugin includes some custom characteristics to skip tracks and control playback, but these won't work with Siri. HomeKit has no built-in controls for media playback, and therefore neither does Siri. If you turn off the last speaker destination (AirPlay or built-in), it will pause the playback automatically.This sounds convoluted, but should be very natural in normal use. If you turn on a single audio destination and music is already playing, the other destinations will be left on. If there is no music playing and you turn on an individual audio destination (not the main iTunes accessory), the plugin will first turn off all the other audio destinations and so music will play only from the one you turned on.If an AutoPlay playlist is found, it will be played by default instead of "Music". You can customize what plays by default by creating a playlist in iTunes named "AutoPlay"-this can be a regular playlist or a Smart Playlist. If you turn on the iTunes accessory or any AirPlay accessory and there is no music playing, the plugin will start playing from the "Music" library. If you are using Eve, you can control the volume of each AirPlay speaker or the iTunes overall volume (not your Mac's volume) via the "Audio Volume" characteristic. To change the AirPlay speaker destination(s), turn on the individual AirPlay speakers (the Mac itself will show up as "Computer"). To play music, switch the iTunes accessory "On". Your iTunes application and all your AirPlay destinations will be added as HomeKit accessories Basic Usage

Manually add to config.jsonĪdd the following platform definition to ~/.homebridge/config.json: From there, you can set various configuration options and either add all iTunes/AirPlay devices or add and remove devices selectively. Using the Hesperus app, configure Homebridge by tapping the gear icon in the upper-right, selecting "Accessories", and swiping to the left on the Homebridge device and tapping "Config". This can be done using one of two methods: Hesperus menu-driven configuration
#Turn on camera mac with applescript install#
sudo npm install -g homebridge, See the Homebridge project site for more information, and to configure Homebridge.Node v4 or greater is required, and Homebridge v0.3 or higher. Already running Homebridge on a Raspberry Pi? No problem: remember that you can run more than one instance of Homebridge on a network, just install Node on your iTunes Mac and run Homebridge there, being sure to change the "username" field in config.json to be unique. This plugin requires a Mac running iTunes, and presently requires Homebridge to be running on that Mac.

It is geared toward audio uses, but will work in most cases to control video as well. Besides just play and pause, there are some handy features that make this particularly easy to do. Mainly, it makes it possible for you control your music system with Siri or via HomeKit scenes. is a Homebridge plugin for controlling iTunes and associated AirPlay speakers with HomeKit and Siri.
