A homebridge plugin for gpio on switch.
Make sure you had installed homebridge first, then run the following command to install homebridge-gpio-on-switch
.
sudo npm install -g homebridge-gpio-on-switch
{
"accessory": "HomebridgeGpioOnSwitch",
"name": "switch",
"pin": 18
}