homebridge-airport-express-connected
v1.4.1
Published
Homebridge plugin that uses mDNS request data to show a occupancy sensor that is activated when connecting to an airport express devices via AirPlay 2.
Downloads
45
Maintainers
Readme
homebridge-airport-express-connected
Homebridge plugin that creates an occupancy sensor that shows wether or not there is an active AirPlay 2 connection to AirPort Express (2nd Gen.) devices.
This project is a fork of homebridge-airport-express-playing. The key differences is that this plugin reports if there is a device connected and not if music is playing or paused. This is helpful for automatically turning on or off the connected HiFi system via automations.
Configuration
This easiest way to use this plugin is to use homebridge-config-ui-x.
To configure manually, add to the platforms
section of Homebridge's config.json
after installing the plugin.
Config:
{
"name": "Airport Express Connected Platform",
"platform": "AirportExpressConnected",
"update": {
"refreshRate": 3,
"ignoreGroupWithLeadingDevice": true,
"unreachable": {
"ignore": false,
"threshold": 30,
"reportDisconnected": false
}
},
"discovery": {
"enabled": true,
"always": true,
"intervals": 30,
"whitelist": {
"enabled": false,
"list": []
},
"blacklist": {
"enabled": false,
"list": []
}
}
}