homebridge-app-switch

1.0.0 • Public • Published

Homebridge App Switch

This is a Homebridge plugin to control open and close applications with the flick of a (virtual) switch.

Installation

This only works on macOS due to the use of node-osascript to turn the applications on & off.

  1. yarn global add homebridge-hermes-player

  2. Add the following to ~/.homebridge/config.json:

{
    // ...
    "accessories": [
        // ...
        {
            "accessory": "AppSwitch",
            "name": "VSC",
            // This is the actual name of the application shown in macOS
            "appName": "Visual Studio Code"
        }
    ]
}

The name can be whatever you want, but the accessory must be "AppSwitch".

Join Me

Discord Badge

Readme

Keywords

Package Sidebar

Install

npm i homebridge-app-switch

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rayzr