homebridge-gpio-switch-inverse-home
Supports triggering General Purpose Input Output (GPIO) pins on the Raspberry Pi. Useful to control relay switch from Siri.
It use on/off library to achieve that.
Requirements
- Homebridge - HomeKit support for the impatient
Installation
- Install Homebridge using
npm install -g homebridge
- Install this plugin
npm install -g homebridge-gpio-switch-inverse-home
- Update your configuration file - see
sample-config.json
in this repo
Configuration
Example config.json
{
"accessories": [
{
"accessory": "switchomeinv",
"name": "my switch",
"pin": 7
}
]
}