Supports triggering AppleScript commands on the HomeBridge platform.
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-applescript
- Update your configuration file. See
sample-config.json
in this repository for a sample.
Configuration sample:
"accessories": [
{
"accessory": "Applescript",
"name": "Security Camera",
"on": "tell application ''Evocam'' to open ''Security.evocamsettings''",
"off": "quit application ''Evocam''"
}
]
Note that two successive single-quotes (''
) will be automatically converted to double-quotes.