homebridge-macosHomebridge plugin to track Mac OS events
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) |
评论