This shows you the differences between two versions of the page.
— |
generic_switch_v5_0 [2015/11/27 22:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **Generic Switch** | ||
+ | ^Feature^Support^ | ||
+ | |Sending|{{http://wiki.pilight.org/lib/images/supported.gif}}| | ||
+ | |Receiving|{{http://wiki.pilight.org/lib/images/notsupported.gif}}| | ||
+ | |Config|{{http://wiki.pilight.org/lib/images/supported.gif}}| | ||
+ | |||
+ | ==== Supported Brands ==== | ||
+ | |||
+ | //None// | ||
+ | |||
+ | ==== Sender Arguments ==== | ||
+ | <code> | ||
+ | -t --on send an on signal | ||
+ | -f --off send an off signal | ||
+ | -i --id=id control a device with this id | ||
+ | </code> | ||
+ | |||
+ | ==== Config ==== | ||
+ | <code> | ||
+ | "living": { | ||
+ | "name": "Living", | ||
+ | "switch": { | ||
+ | "name": "Switch", | ||
+ | "protocol": [ "generic_switch" ], | ||
+ | "id": [{ | ||
+ | "id": 100 | ||
+ | }], | ||
+ | "state": "off" | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | ==== Optional Settings ==== | ||
+ | |||
+ | ^Setting^Default^Format^Description^ | ||
+ | |gui-readonly|1|1 or 0|Disable controlling this device from the GUIs| |