User Tools

Site Tools


generic_switch_v7_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

generic_switch_v7_0 [2015/04/24 11:10]
curlymo created
generic_switch_v7_0 [2015/11/27 21:09]
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>​ 
-"​devices":​ { 
- "​switch":​ { 
- "​protocol":​ [ "​generic_switch"​ ], 
- "​id":​ [{ 
- "​id":​ 100 
- }], 
- "​state":​ "​off"​ 
- } 
-}, 
-"​gui":​ { 
- "​switch":​ { 
- "​name":​ "​Switch",​ 
- "​group":​ [ "​Living"​ ], 
- "​media":​ [ "​all"​ ] 
- } 
-} 
-</​code>​ 
- 
-==== Optional Settings ==== 
- 
-GUI Settings 
-^Setting^Default^Format^Description^ 
-|readonly|1|1 or 0|Disable controlling this device from the GUIs| 
-|confirm|0|1 or 0|Ask for confirmation when switching device| 
generic_switch_v7_0.txt ยท Last modified: 2015/11/27 21:09 (external edit)