User Tools

Site Tools


generic_weather_v5_0

Differences

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

Link to this comparison view

generic_weather_v5_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>​
 +        "​living":​ {
 +                "​name":​ "​Living",​
 +                "​weather":​ {
 +                        "​name":​ "​Weather",​
 +                        "​protocol":​ [ "​generic_weather"​ ],
 + "​id":​ [{
 + "​id":​ 100
 + }],
 +                        "​temperature":​ 2300,
 +                        "​humidity":​ 7600,
 +                        "​battery":​ 0
 +                }
 +        }
 +</​code>​
 +Battery is a boolean. 0 is almost empty battery, 1 is a healthy battery
 +
 +==== Optional Settings ====
 +
 +^Setting^Default^Format^Description^
 +|device-decimals|2|number|How many decimals does the weather information contain (humidty and temperature)|
 +|gui-decimals|2|number|How many decimals should the GUIs display|
 +|gui-show-humidity|1|1 or 0|Don'​t display the humidity value|
 +|gui-show-temperature|1|1 or 0|Don'​t display the temperature value|
 +|gui-show-battery|0|1 or 0|Don'​t display the battery value|
 +|device-humidity-offset|0|number|Correct humidity value|
 +|device-temperature-offset|0|number|Correct temperature value|
  
generic_weather_v5_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)