homebridge-applescript-file

0.0.1 • Public • Published

homebridge-applescript-file

Supports triggering AppleScript commands on the HomeBridge platform via Applescript files.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-applescript-file
  3. Update your configuration file. See sample-config.json in this repository for a sample.

Configuration

Configuration sample:

"accessories": [
    {
        "accessory": "ApplescriptFile",
        "name": "Security Camera",
        "on": "/Users/bendodson/Documents/Scripts/cameraOn.applescript",
        "off": "/Users/bendodson/Documents/Scripts/cameraOff.applescript"
    }
]

Note that you must use absolute paths for your AppleScript file.

/homebridge-applescript-file/

    Package Sidebar

    Install

    npm i homebridge-applescript-file

    Weekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • bendodson