Wind Speed Data From National Weather Service Integration

Greetings,

I’ve set up the National Weather Service integration to pull data from one of the NWS local stations. The data feed appears to work fine, however, the wind speed as reported from the integration appears to be several times that of what the station reports on the NWS site. I’m hopeful that this is just a configuration issue on my part and that someone else has come across the same problem and resolved it.

What I noticed:

Below is a screen shot taken this morning out of HA:
image
Wind speed is reported as being 37mph.

Below is the data as show on the NWS web site:
image
Note the difference in wind speed (37 above vs. 10) The reading time and the other sensor values all appear to be either the same or within a reasonable amount of variance.

I then did the same for another station with similar results:
HA values:
image
29MPH wind speed

NWS station data:
image
5.8MPH wind speed

As with the screenshots above, the wind speed appears quite a bit different while the other sensor values appear similar.

Just in case someone is wondering if perhaps the difference is due to wind gusts, I don’t think that is the case. Conditions right now are calm and as can be seen at the bottom of the NWS forecast in the first example (station KDVO), winds are only expected to peak at 11mph today which is far different from the 37mph reported out of HA.

Is there a configuration option or other setup task that I just missed with the integration? Has anyone else run into something similar and solved it?

thanks in advance for the help!

Can you check https://api.weather.gov/stations/KDVO/observations/latest and report the value under windSpeed and the HA value at that time?

This link will give you the value from the API, it is hard to know whether the website is in sync with the API.

from the api link:
“windSpeed”: {
“value”: 24.120000000000001,
“unitCode”: “unit:km_h-1”,
“qualityControl”: “qc:V”

As reported in HA (just refreshed):
Wind speed 54 mi/h (N)

Still a difference. Is it possible that there is a conversion issue? The api looks like it is reporting in kilometers.

thanks for the help

Apparently, NWS decided to switch to using km/hr rather than m/s all of a sudden. This seems to be true for every station I check. Can you create an issue on GitHub on the home assistant core repository?

Done. Thanks for looking into it and finding the conversion problem.

1 Like

Thanks for running it down! A fix PR was submitted.