User Tools

Site Tools


generic_label_v7_0

Differences

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

Link to this comparison view

generic_label_v7_0 [2015/04/19 17:11]
curlymo created
generic_label_v7_0 [2015/11/27 21:09]
Line 1: Line 1:
-**Generic Dimmer** 
  
-^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>​ 
--i --id=id ​              ​control a device with this id 
--l --label=label ​        show a specific label 
--c --color=color ​        give the label a specific color 
-</​code> ​ 
- 
-==== Config ==== 
-<​code>​ 
-"​devices":​ { 
- "​label":​ { 
- "​protocol":​ [ "​generic_label"​ ], 
- "​id":​ [{ 
- "​id":​ 100 
- }], 
- "​label":​ "​test1234",​ 
- "​color":​ "​red"​ 
- } 
-}, 
-"​gui":​ { 
- "​label":​ { 
- "​name":​ "​Label",​ 
- "​group":​ [ "​Living"​ ], 
- "​media":​ [ "​all"​ ] 
- } 
-} 
-</​code>​ 
- 
-==== Optional Settings ==== 
- 
-//None// 
- 
-==== Comments ==== 
- 
-Please notice that the label color is not validated in any way. The color information is just forwarded to the GUIs as is. So it could be that some GUIs do not support certain color naming. Using hex colors is therefor the safest, e.g. ''#​000000''​. 
generic_label_v7_0.txt ยท Last modified: 2015/11/27 21:09 (external edit)