homebridge-airport-express-connected
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

homebridge-airport-express-connected

mit license verified-by-homebridge npm npm donate

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": []
        }
    }
}

Package Sidebar

Install

npm i homebridge-airport-express-connected

Weekly Downloads

4

Version

1.3.0

License

MIT

Unpacked Size

64.8 kB

Total Files

24

Last publish

Collaborators

  • maxileith