User Tools

Site Tools


gpio_switch_v6.0

GPIO Switch

FeatureSupport
Sending
Receiving
Config

Supported Brands

None

Sender Arguments

-g --gpio=gpio    the gpio the switch is connected to

Config

"devices": {
	"Lamp": {
		"protocol": [ "gpio_switch" ],
		"id": [{
			"gpio": 1
		}],
		"state": "off"
	}
}
"gui": {
	"Lamp": {
		"name": "Switch",
		"group": [ "Switches" ],
		"media": [ "all" ]
	}
}

Optional Settings

GUI Settings

SettingDefaultFormatDescription
readonly11This switch is always readonly

Notes

The GPIO switch protocol follows the wiringX numbering as can be found here: http://wiringx.org

gpio_switch_v6.0.txt · Last modified: 2015/11/27 22:09 (external edit)