Homebridge plugin to control relay switch via Raspberry Pi GPIO pins.
Sample accessory:
"accessories": [
{
"accessory": "Switch",
"name": "Bedside lamp",
"pin": 18,
"invert": false
}
]
Fields:
accessorymust always be Switchnameaccessory name, e.g. Bedside lamppincontrol pin (use gpio numbering, not physical)invertfalse: relay activated by low state (0), true: relay activated by high state (1), affects pin
- check platform: Homebridge
- check plugin dependency: rpio
- or create issue