Add support for rc switches using rcswitch
npm install -g homebridge
npm install -g homebridge-rcswitch
You can add as many switches as you like. You will need to pass the name
, systemcode
and unitcode
.
This plugin assumes that you connect the 433Mhz transmitter to GPIO0, this can be changed via the pin
propertie.
"accessories": [
{
"accessory": "RcSwitch",
"name": "Switch One",
"systemcode": "11101",
"unitcode": 1,
"pin": 0
}
]