Skip to content

rayzr522/homebridge-app-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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".

About

Use Homebridge to open and close apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published