diff --git a/FHEM/59_Weather.pm b/FHEM/59_Weather.pm index ff553c93f..7e265d8eb 100755 --- a/FHEM/59_Weather.pm +++ b/FHEM/59_Weather.pm @@ -82,8 +82,6 @@ sub Weather_UpdateReading($$$$) { my ($hash,$prefix,$key,$value)= @_; - return 0 if(!defined($value) || $value eq ""); - #Log 1, "DEBUG WEATHER: $prefix $key $value"; my $unitsystem= $hash->{READINGS}{unit_system}{VAL}; diff --git a/docs/commandref.html b/docs/commandref.html index 452c86cf2..f64991067 100644 --- a/docs/commandref.html +++ b/docs/commandref.html @@ -4296,33 +4296,52 @@ A line ending with \ will be concatenated with the next one, so long lines Define
define <name> Weather <location> [<interval> [en|de|fr|es]]
define <name> Weather <location> [<interval> [<language>]]
location
is any string that is recognized as a
- location, either a town name or a zip code. Browse to the URL
+ location, either a town name or a zip code or latitude/longitude (in decimal notation,
+ multiplied by one million). Browse to the URL
http://www.google.de/ig/api?weather=location&hl=en
to see the raw output for your location.interval
is the time between subsequent updates
in seconds. It defaults to 3600 (1 hour).en
, de
, fr
,
- es
. It determines the natural language in which the forecast information appears.
- It defaults to en. If you want to set the language you also have to set the interval.da
,
+ de
,
+ en
,
+ es
,
+ fi
,
+ fr
,
+ it
,
+ ja
,
+ ko
,
+ nl
,
+ no
,
+ pt-BR
,
+ ru
,
+ sv
,
+ zv-CN
,
+ zv-TW
.
+
+ It determines the natural language in which the forecast information appears.
+ It defaults to en
. If you want to set the language you also have to set the interval.define MyWeather Weather "Frankfurt,HE" define Forecast Weather "Amsterdam,NL" 1800 define weather Weather "30000,France" 3600 fr -+ define W Weather ,,,50500000,30500000 600 es +
get <name> <reading>
city | name of town returned for location |
fc?_high_c | forecasted daily high in degrees centigrade |
fc?_icon | relative path for forecast icon, prefix with http://www.google.com to form a valid URL for display in web interfaces |
fc?_low_c | forecasted daily low in degrees centigrade |
humidity | current humidity |
humidity | current humidity in % |
icon | relative path for current icon |
postal_code | location sent to server |
temperature | current temperature in degrees centigrade |
temp_c | current temperature in degrees centigrade |
temp_f | current temperature in degrees Fahrenheit |
wind | wind speed in km/h |
wind_condition | wind direction and speed |