Skip to content

A homebridge plugin to put your computer monitors to sleep using the home app. I find it useful to add to my "leaving the room" scene.

License

Notifications You must be signed in to change notification settings

eladlachmi/homebridge-sleep-screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-sleep-screen

npm version Known Vulnerabilities dependencies

OS Support

MacOS

Currenlty, only MacOS is supported, as I just got started with this plugin.

In MacOS I use the pmset command to put the screen to sleep and caffinate to wake it up. Both are suported on MacOS > 10.9

Windows 10

I will try and implement Windows 10 support next.

Configuration

    {
        "accessory": "ComputerScreen",
        "name": "Mac Screen",
        "osType": "mac"
    }

osType can be mac, which uses pmset and caffinate or windows, which uses a powershell command run from cmd. Default is mac.

Work in progress

This is still at the very early stages. Use at your own risk.

Note: Currently this assumes you are running homebridge on the computer, which you want to control the screen of. I will try and make this more distributed later.

If you would like to contribute, feel free to send a PR my way.

Enjoy!

About

A homebridge plugin to put your computer monitors to sleep using the home app. I find it useful to add to my "leaving the room" scene.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published