Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

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

Notifications You must be signed in to change notification settings

sebj/homebridge-display-sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Create an accessory as shown above in Configuration
    • Setting name to the name of your device is recommended - 'Gaming PC', 'MacBook Pro', etc.
  • The accessory will show as On in HomeKit when your device is awake (default), and Off when it is toggled off to sleep.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published