User Tools

Site Tools


relay_v5_0

Relay

FeatureSupport
Sending
Receiving
Config

Supported Brands

None

Sender Arguments

-t --on           turn the relay on
-f --off          turn the relay off
-g --gpio=gpio    the gpio the relay is connected to

Config

        "living": {
                "name": "Living",
                "switch": {
                        "name": "switch",
                        "protocol": [ "relay" ],
			"id": [{
				"gpio": 1
			}],
                        "state": "off"
                },
        }

Optional Settings

SettingDefaultFormatDescription
default-state“off”StateDefault state of the relay
gui-readonly01 or 0Disable controlling this device from the GUIs

Notes

The relay protocol follows the wiringPi numbering as can be found here: https://projects.drogon.net/raspberry-pi/wiringpi/pins/

relay_v5_0.txt · Last modified: 2015/11/27 21:09 (external edit)