home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.15k stars 29.83k forks source link

Openweathermap integration returns wind speed in km/h, not in m/s #121897

Open epiniguin opened 2 months ago

epiniguin commented 2 months ago

The problem

Openweathermap integration returns wind speed in km/h, not in m/s as written in the integration documentation and in the OWM API documentation.

What version of Home Assistant Core has the issue?

core-2024.7.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Openweathermap

Link to integration documentation on our website

https://www.home-assistant.io/integrations/openweathermap/

Diagnostics information

As you can see below the forecast wind speed is 29.77. It can't be the wind speed in m/s, because in my area we NEVER have these hurricane speeds. Besides, the Openweathermap android app tells us that the forecast wind speed for today is 8 m/s and wind gust speed is 7 m/s. Yes, the gust is smaller than usual speed today, and it's a bug of OWM model, I guess. :-)


- datetime: '2024-07-13T10:00:00+00:00'
  condition: sunny
  temperature: 34.9
  templow: 21.4
  pressure: 1012
  cloud_coverage: 5
  wind_speed: 29.77
  wind_bearing: 76
  uv_index: 8.93
  precipitation_probability: 0
  precipitation: 0
  dew_point: 9.9
  wind_gust_speed: 27.79
  humidity: 25

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

_No response_

### Additional information

_No response_
home-assistant[bot] commented 2 months ago

Hey there @fabaff, @freekode, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (openweathermap) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `openweathermap` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign openweathermap` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


openweathermap documentation openweathermap source (message by IssueLinks)

luka6000 commented 1 month ago

Just came here to report the same issue. here's comparison with different wind sources for same location

image

After switching unit of the sensor to km/h it gives completely unrealistic value for this day

image