homebridge-app-switch
v1.0.0
Published
Use Homebridge to open and close apps
Readme
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.
yarn global add homebridge-hermes-playerAdd 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".

