64 Commits

Author SHA1 Message Date
7ac7e75d82 fix litte bugs in API modul
add first code for daily and hourly forcast delete count
2022-12-13 14:00:46 +01:00
8ec9dae902 better formart 2022-11-26 06:43:20 +01:00
fdd6f0964a full api support weather and onecall 2022-11-25 14:09:45 +01:00
ee989a84bf change OpenWeatherMapAPI Code and extend 59_Weather.pm Modul 2022-11-24 19:22:40 +01:00
ddefbac55a new OpenWeatherMapAPI onecall v3 Support 2022-11-20 21:10:22 +01:00
655decd03a insert forcast attributs to english commandref 2020-10-17 14:40:20 +02:00
Marko Oldenburg
e67901d856 add wunderground documentation in commandref 2020-02-04 14:09:47 +01:00
Marko Oldenburg
58059fc918 delete table options in commandref 2019-12-06 13:12:35 +01:00
Marko Oldenburg
39704839ee check newLocation insert 2019-09-16 08:16:55 +02:00
Marko Oldenburg
c45d3be028 add wundergroundAPI for setter newLocation 2019-09-13 11:03:44 +02:00
Marko Oldenburg
7de03480f8 add commandref entry for set command newLocation 2019-09-11 09:00:13 +02:00
Marko Oldenburg
ddc004b0de change code in SetFn, change delimiter for set cmd newLocation 2019-09-10 10:50:30 +02:00
Marko Oldenburg
ec08d0ec53 add setter locationTemp to change location temporary 2019-09-09 17:35:35 +02:00
Marko Oldenburg
150581147f Bugfix forum #971394 2019-09-02 13:43:53 +02:00
Marko Oldenburg
0baf18e046 change loglevel 2019-06-15 09:45:03 +02:00
Marko Oldenburg
e1d10a7b4d add more logout, code stype, add LICENSE 2019-06-15 09:36:11 +02:00
Marko Oldenburg
4c34e181f9 fix little bug in weblink creator 2019-05-14 13:49:34 +02:00
Marko Oldenburg
06f0167d79 add sub for apioptions, add darksky api extend option 2019-03-19 21:35:59 +01:00
Marko Oldenburg
34abf65d39 change translation for nl 2019-03-18 13:26:00 +01:00
Marko Oldenburg
41cd7113f4 rewrite options sub for weblink 2019-03-18 13:17:55 +01:00
Marko Oldenburg
e3e7e4980f fix bugs in weblink and expand hourly forcast 2019-03-18 10:31:41 +01:00
Marko Oldenburg
9c11fa7c87 change package deklaration 2019-03-15 21:41:32 +01:00
Marko Oldenburg
7ae3eb7de9 Merge branch 'devel' into utf8fix 2019-03-14 18:40:48 +01:00
Marko Oldenburg
e9ded889e7 fix umlaute problem 2019-03-14 18:40:42 +01:00
Marko Oldenburg
c4e6100ad2 add contributors 2019-03-14 08:43:14 +01:00
Lippie81
7e930295c8
Update 59_Weather.pm
Bugfix zum letzten merge meines patches:
in sub WeatherAsHtmlH($;$$)  fehlte:
    $f =~ tr/dh/./cd;
    $f = "h" if ( !$f || length($f) > 1);
    $items =~ tr/0-9/./cd;
    $items = 6   if ( !$items );
2019-03-13 07:00:45 +01:00
Lippie81
1c2d293931
Update 59_Weather.pm
Paramater 2 und 3 werden automatisch dem zugehörigen internen Parameter Anzahl oder daily/hourly zugeordnet.
Damit ist die Reihenfolge beim Aufruf frei wählbar und beide Parameter können beim Aufruf beliebig weggelassen werden.
2019-03-12 21:07:58 +01:00
Lippie81
13941827d6
Update 59_Weather.pm
Bugfix: 
761: ReadingsVal( $d, "${fc}${i}_day_of_week", "" ),<br>%s =>Das <br>%s  gehört da nicht hin.
In Zeile 763 und 773 fehlt ein Komma als Zeilenabschluss.
2019-03-12 06:46:11 +01:00
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