Plugin for Homebridge
JavaScript
Permalink
Failed to load latest commit information.
.gitignore Initial commit Nov 21, 2015
LICENSE add licence Nov 21, 2015
README.md change for npm registration Jan 7, 2016
index.js callback change Nov 22, 2015
package.json change https to node.js child_process Jan 11, 2016
sample-config.json cmd to CMD Nov 22, 2015

README.md

homebridge-cmd

homebridge-plugin for Your PC Command with Apple-Homekit.(by node.js child_process.exec())

Installation

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

Configuration

Configuration sample:

"accessories": [
        {
            "accessory": "CMD",
            "name": "PlayStation",
            "on_cmd": "ps4-waker",
            "off_cmd": "ps4-waker standby"
        }
    ]