wind_gust zur OpenWeatherMapAPI.pm #1

Closed
opened 2021-06-09 18:26:23 +00:00 by marko · 0 comments
Owner
'wind_gust' => int(
                            sprintf( "%.1f", ( $data->{wind}->{gust} * 3.6 ) )
                              + 0.5
                        ),
'wind_speed' => int(
                            sprintf( "%.1f", ( $data->{wind}->{speed} * 3.6 ) )
                              + 0.5
                        ),
                        'wind_gust' => int(
                            sprintf( "%.1f", ( $data->{wind}->{gust} * 3.6 ) )
                              + 0.5
                        ),
'wind_speed' => int(
                                        sprintf(
                                            "%.1f",
                                            (
                                                $data->{list}->[$i]->{wind}
                                                  ->{speed} * 3.6
                                            )
                                        ) + 0.5
                                    ),
                                    'wind_gust' => int(
                                        sprintf(
                                            "%.1f",
                                            (
                                                $data->{list}->[$i]->{wind}
                                                  ->{gust} * 3.6
                                            )
                                        ) + 0.5
                                    ),
``` 'wind_gust' => int( sprintf( "%.1f", ( $data->{wind}->{gust} * 3.6 ) ) + 0.5 ), ``` ``` 'wind_speed' => int( sprintf( "%.1f", ( $data->{wind}->{speed} * 3.6 ) ) + 0.5 ), 'wind_gust' => int( sprintf( "%.1f", ( $data->{wind}->{gust} * 3.6 ) ) + 0.5 ), ``` ``` 'wind_speed' => int( sprintf( "%.1f", ( $data->{list}->[$i]->{wind} ->{speed} * 3.6 ) ) + 0.5 ), 'wind_gust' => int( sprintf( "%.1f", ( $data->{list}->[$i]->{wind} ->{gust} * 3.6 ) ) + 0.5 ), ```
marko self-assigned this 2021-06-09 18:32:32 +00:00
marko added the
enhancement
label 2021-06-09 18:35:58 +00:00
marko closed this issue 2021-06-09 18:41:30 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FHEM/mod-Weather#1
No description provided.