homebridge-rfswitch
control RF outlets with homebridge
Installation
- Install homebridge:
npm install -g homebridge
- Install homebridge-rfswitch:
npm install -g homebridge-rfswitch
- Update your
config.json
Make sure that /dev/gpiomem
exists and is writeable by you (usually by adding yourself to the gpio
group).
If /dev/gpiomem
exists but is not owned by the group gpio
(e.g. on Arch Linux) see here.
Configuration
Configuration sample:
The accessory
must be RFSwitch
and name
can be anything.
Every rfswitch option is valid and at least onCode
and offCode
must be provided.