homebridge-gpio-switch
v1.2.1
Published
Homebridge plugin to control relay switch via Raspberry Pi GPIO pins
Downloads
35
Maintainers
Readme
homebridge-gpio-switch
Homebridge plugin to control relay switch via Raspberry Pi GPIO pins.
Configuration
Sample accessory:
"accessories": [
{
"accessory": "Switch",
"name": "Bedside lamp",
"pin": 18,
"invert": false
}
]
Fields:
accessory
must always be Switchname
accessory name, e.g. Bedside lamppin
control pin (use gpio numbering, not physical)invert
false: relay activated by low state (0), true: relay activated by high state (1), affects pin
Troubleshooting
- check platform: Homebridge
- check plugin dependency: rpio
- or create issue