Skip to content

eliottrobson/homebridge-macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homebridge MacOS

Homebridge plugin to track Mac OS events (screen on / off)

Installation

Install the plugin

sudo npm install @eliottrobson/homebridge-macos -g --registry "https://npm.pkg.github.com"
ln -s /usr/local/lib/node_modules/@eliottrobson/homebridge-macos /usr/local/lib/node_modules/homebridge-macos-@eliottrobson

Configure in homebridge config

{
    "platform": "homebridge-macos.MacOS",
    "name": "Eliott's iMac",
    "poll": 3000
}

Debugging

DEBUG=* /usr/local/bin/homebridge -D -U ~/Documents/Homebridge/homebridge-dev -P ~/Documents/Source/homebridge-macos

Config

Variable Description
name This will be the name of this sensor, is is required and must be unique.
poll (Optional) This is the amount of time to poll for in milliseconds (default: 5000)

About

Homebridge plugin to track Mac OS events

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published