User Tools

Site Tools


gpio_switch_v7_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
confirm01 or 0Ask for confirmation when switching device

Notes

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

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