An open API service indexing awesome lists of open source software.

https://github.com/eliottrobson/homebridge-macos

Homebridge plugin to track Mac OS events
https://github.com/eliottrobson/homebridge-macos

homebridge macos

Last synced: 12 months ago
JSON representation

Homebridge plugin to track Mac OS events

Awesome Lists containing this project

README

          

# 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)