classLfz / homebridge-gpio-on-switch

A homebridge plugin for gpio on/off switch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

homebridge-gpio-on-switch

Build and Lint

A homebridge plugin for gpio on switch.

install

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

config

{
	"accessory": "HomebridgeGpioOnSwitch",
	"name": "switch",
	"pin": 18
}

About

A homebridge plugin for gpio on/off switch.

License:Apache License 2.0


Languages

Language:TypeScript 86.4%Language:JavaScript 13.6%