User Tools

Site Tools


generic_weather_v7_0

Differences

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

Link to this comparison view

generic_weather_v7_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Generic Weather**
  
 +^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 --temperature=temperature ​  set the temperature
 +-h --humidity=humidity ​        set the humidity
 +-b --battery=battery ​          set the battery level
 +-i --id=id ​                    ​control a device with this id
 +</​code> ​
 +
 +==== Config ====
 +<​code>​
 +"​devices":​ {
 + "​weather":​ {
 + "​protocol":​ [ "​generic_weather"​ ],
 + "​id":​ [{
 + "​id":​ 100
 + }],
 + "​temperature":​ 23.00,
 + "​humidity":​ 76.00,
 + "​battery":​ 0
 + }
 +},
 +"​gui":​ {
 + "​weather":​ {
 + "​name":​ "​Weather",​
 + "​group":​ [ "​Weather"​ ],
 + "​media":​ [ "​all"​ ]
 + }
 +}
 +</​code>​
 +Battery is a boolean. 0 is almost empty battery, 1 is a healthy battery
 +
 +==== Optional Settings ====
 +
 +Device Settings
 +^Setting^Default^Format^Description^
 +|humidity-offset|0|number|Correct humidity value|
 +|temperature-offset|0|number|Correct temperature value|
 +
 +GUI Settings
 +^Setting^Default^Format^Description^
 +|temperature-decimals|2|number|How many decimals the GUIs should display for temperature|
 +|humidity-decimals|2|number|How many decimals the GUIs should display for humidity|
 +|show-humidity|1|1 or 0|Don'​t display the humidity value|
 +|show-temperature|1|1 or 0|Don'​t display the temperature value|
 +|show-battery|0|1 or 0|Don'​t display the battery value|
generic_weather_v7_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)