diff --git a/fhem/CHANGED b/fhem/CHANGED index 7c1d07943..1f36ca088 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfixe: DarkSkyAPI: fix hourly wind at factor 3.6 - new: 44_ROLLO: Universal module to precisely control shutters/blinds which support only open/close/stop - bugfix: 59_Weather: DarkSky and OpenWeatherMapAPI change formated output, diff --git a/fhem/FHEM/DarkSkyAPI.pm b/fhem/FHEM/DarkSkyAPI.pm index 5f6f720cc..6eae07d48 100644 --- a/fhem/FHEM/DarkSkyAPI.pm +++ b/fhem/FHEM/DarkSkyAPI.pm @@ -530,9 +530,9 @@ sub _ProcessingRetrieveData($$) { 'wind_direction' => $data->{hourly}->{data}->[$i]->{windBearing}, 'wind' => sprintf( "%.1f", - $data->{hourly}->{data}->[$i]->{windSpeed} ), + ($data->{hourly}->{data}->[$i]->{windSpeed} * 3.6) ), 'wind_speed' => sprintf( "%.1f", - $data->{hourly}->{data}->[$i]->{windSpeed} ), + ($data->{hourly}->{data}->[$i]->{windSpeed} * 3.6) ), 'windGust' => sprintf( "%.1f", $data->{hourly}->{data}->[$i]->{windGust} ), 'precipProbability' =>