mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
DarkSkyAPI: fix hourly wind at factor 3.6
git-svn-id: https://svn.fhem.de/fhem/trunk@18245 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f8c1f72571
commit
f1db5e868b
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# 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
|
- new: 44_ROLLO: Universal module to precisely control shutters/blinds
|
||||||
which support only open/close/stop
|
which support only open/close/stop
|
||||||
- bugfix: 59_Weather: DarkSky and OpenWeatherMapAPI change formated output,
|
- bugfix: 59_Weather: DarkSky and OpenWeatherMapAPI change formated output,
|
||||||
|
@ -530,9 +530,9 @@ sub _ProcessingRetrieveData($$) {
|
|||||||
'wind_direction' =>
|
'wind_direction' =>
|
||||||
$data->{hourly}->{data}->[$i]->{windBearing},
|
$data->{hourly}->{data}->[$i]->{windBearing},
|
||||||
'wind' => sprintf( "%.1f",
|
'wind' => sprintf( "%.1f",
|
||||||
$data->{hourly}->{data}->[$i]->{windSpeed} ),
|
($data->{hourly}->{data}->[$i]->{windSpeed} * 3.6) ),
|
||||||
'wind_speed' => sprintf( "%.1f",
|
'wind_speed' => sprintf( "%.1f",
|
||||||
$data->{hourly}->{data}->[$i]->{windSpeed} ),
|
($data->{hourly}->{data}->[$i]->{windSpeed} * 3.6) ),
|
||||||
'windGust' => sprintf( "%.1f",
|
'windGust' => sprintf( "%.1f",
|
||||||
$data->{hourly}->{data}->[$i]->{windGust} ),
|
$data->{hourly}->{data}->[$i]->{windGust} ),
|
||||||
'precipProbability' =>
|
'precipProbability' =>
|
||||||
|
Loading…
Reference in New Issue
Block a user