sebj / homebridge-display-sleep

A Homebridge switch accessory to sleep and wake the host computer.
11 stars 0 forks source link
homebridge homebridge-plugin macos

homebridge-computer-sleep

A Homebridge switch accessory to sleep and wake the host computer.

Installation

  1. Install Homebridge using npm install -g homebridge
  2. Install this plugin using npm install -g homebridge-computer-sleep
  3. Update your configuration file. See Configuration below.

Configuration

Your Homebridge config file (~/.homebridge/config.json) must include a ComputerSleep accessory with a name of your choosing for this plugin to function.

Example:

"accessories": [
    {
        "accessory": "ComputerSleep",
        "name": "Office PC"
    }
]

Usage