This is an old revision of the document!
GPIO Switch
None
-g --gpio=gpio the gpio the relay is connected to
"living": { "name": "Living", "switch": { "name": "switch", "protocol": [ "gpio_switch" ], "id": [{ "gpio": 1 }], "state": "off" }, }
Setting | Default | Format | Description |
---|---|---|---|
gui-readonly | 0 | 1 or 0 | Disable controlling this device from the GUIs |
The GPIO switch protocol follows the wiringPi numbering as can be found here: https://projects.drogon.net/raspberry-pi/wiringpi/pins/
Or the Radxa numbering as found here: http://radxa.com/Rock/extension_header