testing #62
							
								
								
									
										38
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,4 +1,38 @@ | |||||||
| ### fix: missing perl modules (HEAD -> patch-removePrivatFnDeklaration) | ### feat: new reading owmAPICode for original code (HEAD -> patch-createDecimal) | ||||||
|  | >Tue, 11 Jul 2023 14:10:13 +0200 | ||||||
|  |  | ||||||
|  | >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||||
|  |  | ||||||
|  | >Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||||
|  |  | ||||||
|  | [Ticket: no] | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ### feat: add human-readable text of daily forecast | ||||||
|  | >Tue, 6 Jun 2023 08:35:06 +0200 | ||||||
|  |  | ||||||
|  | >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||||
|  |  | ||||||
|  | >Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||||
|  |  | ||||||
|  | add the proper human-readable text description of the daily forecast | ||||||
|  |  | ||||||
|  | [Ticket: no] | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ### add temperatur reading and fix weblink | ||||||
|  | >Tue, 23 May 2023 08:08:42 +0200 | ||||||
|  |  | ||||||
|  | >Author: Marko Oldenburg (oldenburg@b1-systems.de) | ||||||
|  |  | ||||||
|  | >Commiter: Marko Oldenburg (oldenburg@b1-systems.de) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ### fix: missing perl modules | ||||||
| >Sun, 5 Feb 2023 09:26:04 +0100 | >Sun, 5 Feb 2023 09:26:04 +0100 | ||||||
|  |  | ||||||
| >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||||
| @@ -8,7 +42,7 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| ### fix: failed then Readonly is missing (origin/patch-removePrivatFnDeklaration) | ### fix: failed then Readonly is missing | ||||||
| >Sun, 5 Feb 2023 09:20:20 +0100 | >Sun, 5 Feb 2023 09:20:20 +0100 | ||||||
|  |  | ||||||
| >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| UPD 2023-01-29_16:14:48 25809 FHEM/59_Weather.pm | UPD 2023-01-29_16:14:48 25809 FHEM/59_Weather.pm | ||||||
| UPD 2023-06-06_07:31:00 34254 lib/FHEM/Core/Weather.pm | UPD 2023-06-06_07:31:00 34254 lib/FHEM/Core/Weather.pm | ||||||
| UPD 2023-01-29_16:14:48 50106 lib/FHEM/APIs/Weather/DarkSkyAPI.pm | UPD 2023-01-29_16:14:48 50106 lib/FHEM/APIs/Weather/DarkSkyAPI.pm | ||||||
| UPD 2023-06-06_08:24:10 33488 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm | UPD 2023-07-11_14:08:00 33779 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm | ||||||
| UPD 2023-06-02_05:03:58 36607 lib/FHEM/APIs/Weather/wundergroundAPI.pm | UPD 2023-06-02_05:03:58 36607 lib/FHEM/APIs/Weather/wundergroundAPI.pm | ||||||
|   | |||||||
| @@ -591,6 +591,7 @@ sub _FillSelfHashWithWeatherResponseForWeatherCurrent { | |||||||
|         'wind_direction' => $data->{wind}->{deg}, |         'wind_direction' => $data->{wind}->{deg}, | ||||||
|         'cloudCover'     => $data->{clouds}->{all}, |         'cloudCover'     => $data->{clouds}->{all}, | ||||||
|         'code'           => $codes{ $data->{weather}->[0]->{id} }, |         'code'           => $codes{ $data->{weather}->[0]->{id} }, | ||||||
|  |         'owmAPICode'     => $data->{weather}->[0]->{id}, | ||||||
|         'iconAPI'        => $data->{weather}->[0]->{icon}, |         'iconAPI'        => $data->{weather}->[0]->{icon}, | ||||||
|         'sunsetTime'     => _strftimeWrapper( |         'sunsetTime'     => _strftimeWrapper( | ||||||
|             "%a, %e %b %Y %H:%M", |             "%a, %e %b %Y %H:%M", | ||||||
| @@ -670,6 +671,7 @@ sub _FillSelfHashWithWeatherResponseForForecastHourly { | |||||||
|                 ), |                 ), | ||||||
|                 'cloudCover' => $data->{list}->[$i]->{clouds}->{all}, |                 'cloudCover' => $data->{list}->[$i]->{clouds}->{all}, | ||||||
|                 'code' => $codes{ $data->{list}->[$i]->{weather}->[0]->{id} }, |                 'code' => $codes{ $data->{list}->[$i]->{weather}->[0]->{id} }, | ||||||
|  |                 'owmAPICode' => $data->{list}->[$i]->{weather}->[0]->{id}, | ||||||
|                 'iconAPI'    => $data->{list}->[$i]->{weather}->[0]->{icon}, |                 'iconAPI'    => $data->{list}->[$i]->{weather}->[0]->{icon}, | ||||||
|                 'rain1h'     => ( |                 'rain1h'     => ( | ||||||
|                       $data->{list}->[$i]->{rain}->{'1h'} |                       $data->{list}->[$i]->{rain}->{'1h'} | ||||||
| @@ -732,6 +734,7 @@ sub _FillSelfHashWithWeatherResponseForOnecallCurrent { | |||||||
|         'rain_1h'    => ( $data->{rain}->{'1h'} ? $data->{rain}->{'1h'} : 0 ), |         'rain_1h'    => ( $data->{rain}->{'1h'} ? $data->{rain}->{'1h'} : 0 ), | ||||||
|         'cloudCover' => $data->{current}->{clouds}, |         'cloudCover' => $data->{current}->{clouds}, | ||||||
|         'code'       => $codes{ $data->{current}->{weather}->[0]->{id} }, |         'code'       => $codes{ $data->{current}->{weather}->[0]->{id} }, | ||||||
|  |         'owmAPICode' => $data->{current}->{weather}->[0]->{id}, | ||||||
|         'iconAPI'    => $data->{current}->{weather}->[0]->{icon}, |         'iconAPI'    => $data->{current}->{weather}->[0]->{icon}, | ||||||
|         'condition'  => |         'condition'  => | ||||||
|           encode_utf8( $data->{current}->{weather}->[0]->{description} ), |           encode_utf8( $data->{current}->{weather}->[0]->{description} ), | ||||||
| @@ -834,6 +837,7 @@ sub _FillSelfHashWithWeatherResponseForOnecallDaily { | |||||||
|                     $data->{daily}->[$i]->{weather}->[0]->{description} |                     $data->{daily}->[$i]->{weather}->[0]->{description} | ||||||
|                 ), |                 ), | ||||||
|                 'code' => $codes{ $data->{daily}->[$i]->{weather}->[0]->{id} }, |                 'code' => $codes{ $data->{daily}->[$i]->{weather}->[0]->{id} }, | ||||||
|  |                 'owmAPICode' => $data->{daily}->[$i]->{weather}->[0]->{id}, | ||||||
|                 'iconAPI'    => $data->{daily}->[$i]->{weather}->[0]->{icon}, |                 'iconAPI'    => $data->{daily}->[$i]->{weather}->[0]->{icon}, | ||||||
|                 'pressure'   => int( |                 'pressure'   => int( | ||||||
|                     sprintf( "%.1f", $data->{daily}->[$i]->{pressure} ) + 0.5 |                     sprintf( "%.1f", $data->{daily}->[$i]->{pressure} ) + 0.5 | ||||||
| @@ -854,7 +858,6 @@ sub _FillSelfHashWithWeatherResponseForOnecallDaily { | |||||||
|                     sprintf( "%.1f", ( $data->{daily}->[$i]->{wind_deg} ) ) |                     sprintf( "%.1f", ( $data->{daily}->[$i]->{wind_deg} ) ) | ||||||
|                 ), |                 ), | ||||||
|                 'cloudCover' => $data->{daily}->[$i]->{clouds}, |                 'cloudCover' => $data->{daily}->[$i]->{clouds}, | ||||||
|                 'code' => $codes{ $data->{daily}->[$i]->{weather}->[0]->{id} }, |  | ||||||
|                 'rain'       => ( |                 'rain'       => ( | ||||||
|                     $data->{daily}->[$i]->{rain} ? $data->{daily}->[$i]->{rain} |                     $data->{daily}->[$i]->{rain} ? $data->{daily}->[$i]->{rain} | ||||||
|                     : 0 |                     : 0 | ||||||
| @@ -921,6 +924,7 @@ sub _FillSelfHashWithWeatherResponseForOnecallHourly { | |||||||
|                 'wind_direction' => $data->{hourly}->[$i]->{wind_deg}, |                 'wind_direction' => $data->{hourly}->[$i]->{wind_deg}, | ||||||
|                 'cloudCover'     => $data->{hourly}->[$i]->{clouds}, |                 'cloudCover'     => $data->{hourly}->[$i]->{clouds}, | ||||||
|                 'code' => $codes{ $data->{hourly}->[$i]->{weather}->[0]->{id} }, |                 'code' => $codes{ $data->{hourly}->[$i]->{weather}->[0]->{id} }, | ||||||
|  |                 'owmAPICode' => $data->{hourly}->[$i]->{weather}->[0]->{id}, | ||||||
|                 'iconAPI'    => $data->{hourly}->[$i]->{weather}->[0]->{icon}, |                 'iconAPI'    => $data->{hourly}->[$i]->{weather}->[0]->{icon}, | ||||||
|                 'rain1h'     => ( |                 'rain1h'     => ( | ||||||
|                       $data->{hourly}->[$i]->{rain}->{'1h'} |                       $data->{hourly}->[$i]->{rain}->{'1h'} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user