36 Commits

Author SHA1 Message Date
Lippie81
ff1b906e33
Update 59_Weather.pm
Aktualisierung des Änderungsvorschlags wie besprochen:
- WeatherAsHtml() haben jetzt alle die gleiche Schnittstelle  ($d, $f , $items)und sind damit abwärtskompatibel entsprechend Doku (ebenfalls angepasst)
Zur Absicherung der optionalen Parameter in WeatherAsHtml(): Filter auf die erlaubten Zeichen und setzen eines defaultwertes, falls der Parameter leer ist. Eine Abfrage auf defined() ist nicht notwendig, habe alle möglichen Eingabekombinationen abgeprüft.
In WeatherAsHtmlH($;$$) wird, wie vereinbart, _low_c und _high_c nur angezeigt, wenn die Readings vorhanden sind, ansonsten wird _temperature verwendet.
Gleiches habe ich in WeatherAsHtmlV($;$$) angepasst.
Die Änderungen laufen bei mir mit DarkSkyAPI und OpenWeatherMapAPI einwandfrei. Aussehen habe ich ebenfalls gecheckt.

Beste Grüße
Lippie
2019-03-07 22:34:49 +01:00
Marko Oldenburg
31256f1a17 little change 2019-03-05 21:01:23 +01:00
Lippie81
a94030f9f4
Update WeatherAsHtml
- alle WeatherAsHtml-functionen auf $d, $items, $i gleichgestellt
- Abfrage in WeatherAsHtmlH, ob *fc(i)_low_c vorhanden, wenn nicht Verwendung von *fc(i)_temperature
- Erweiterung der Beispiels um Anzahl und daily/hourly-Angabe
2019-03-05 20:24:24 +01:00
Marko Oldenburg
3eaf8f6be5 add code to use demo data up to start 2019-03-04 21:34:17 +01:00
Marko Oldenburg
9f4d28fffa typo fix in commandref 2019-01-23 07:37:52 +01:00
Marko Oldenburg
2baa3516f2 change commandref 2019-01-21 11:53:50 +01:00
Marko Oldenburg
ea46c7e7a0 add configuration forecast data 2019-01-21 11:41:33 +01:00
Marko Oldenburg
df89c03dc7 add forecastLimit and forecast Attribut 2019-01-21 08:49:38 +01:00
Marko Oldenburg
21081697d6 add internal MODEL for statistic 2019-01-18 21:07:48 +01:00
Marko Oldenburg
d25f5403fb remove attribut mode 2019-01-18 20:21:51 +01:00
Marko Oldenburg
b00621193f fix change attribut model 2019-01-18 19:08:07 +01:00
Marko Oldenburg
61c39b23d5 add note for day_of_week tranlation 2019-01-18 14:07:50 +01:00
Marko Oldenburg
5dbc93fa40 code style, add attribut model 2019-01-17 11:49:06 +01:00
Marko Oldenburg
4c2f92f632 add 59_Weather API-Modul Documentation, fix setreading line 2019-01-15 13:45:31 +01:00
Marko Oldenburg
6499d7f858 fix bugs, change day_of_week formated 2019-01-14 18:16:39 +01:00
Marko Oldenburg
957adf8454 change formated output, add hourly support for DarkSky - thanks to Lippie, multiple factor to wind speed and many bugfix 2019-01-13 21:13:54 +01:00
Marko Oldenburg
0fee7ac3bd fix table commandref 2019-01-13 10:30:37 +01:00
Marko Oldenburg
2f0f6175a3 fix table bug 2019-01-13 10:22:39 +01:00
Marko Oldenburg
2617d7edbf fix more typo in commandref 2019-01-13 09:37:01 +01:00
Marko Oldenburg
1dde02d570 expand error handling, fix typo in commandref 2019-01-13 09:22:28 +01:00
Marko Oldenburg
133f17427f fix negative tagcount for table 2019-01-12 16:35:03 +01:00
Dr. Boris Neubert
9656d8da49 removed dead or deprecated code, updated commandref 2019-01-12 15:00:52 +01:00
Marko Oldenburg
975f741947 change and expand the commandref for 59_Weather 2019-01-12 11:54:39 +01:00
Marko Oldenburg
19f7056f57 fix weblink bug by hourly forcast 2019-01-12 08:18:52 +01:00
Marko Oldenburg
4aa222ba33 change day_of_week processing 2019-01-12 07:34:54 +01:00
Marko Oldenburg
76a995a95d change day_of_week language handling 2019-01-11 08:47:13 +01:00
Marko Oldenburg
b9bb92d6f4 fix error in empty Hash check 2019-01-10 22:35:57 +01:00
Marko Oldenburg
9fddd33c83 change license reading 2019-01-10 14:58:51 +01:00
Marko Oldenburg
9c9e790d88 forcast Datastructure change to HashRef daily and hourly 2019-01-10 14:08:31 +01:00
Marko Oldenburg
1a9d7ad760 change hashRef for parameter from cachemaxage to apioptions 2019-01-10 10:55:03 +01:00
Marko Oldenburg
5b95ea31e4 publish forecast data in OpenWeatherMap, code change in 59_Weather, change response data structure for Weather Modul 2019-01-10 09:30:26 +01:00
Marko Oldenburg
c49d955687 add daily and hourly support code for WOM, fix bug Readingvalue HASH 2019-01-10 00:11:19 +01:00
Marko Oldenburg
7bbf5f7f50 change dumper output 2019-01-09 13:14:06 +01:00
Marko Oldenburg
117ebca8bc change data handle for callBackFn - wichtig alle Module Updaten 2019-01-09 12:55:21 +01:00
Marko Oldenburg
49a292cc50 fix write Hash then ref current not present 2019-01-09 12:17:10 +01:00
Marko Oldenburg
209cde6abb first commit 2019-01-09 10:37:55 +01:00