Any US Weather Integrations Provide EXPECTED Wind Speed/Bearing?

Hello all,

I am using the Open Weather Map integration for weather data, but recently, it stopped providing the EXPECTED wind speed and direction. I was using that entity in some charts which showed what wind speeds were expected in the future. Now those charts are empty.

Do any of you know of an alternate service which would provide that data in the USA? Or a way to extract that into a helper or something which could store the information for use in a graph?

Any help would be appreciated…

Thanks!

Tempest forecasts provide this, but you’ll need to own a Tempest device.

For more information about Tempest devices and what info is available, see the video I posted in my thread in the social section. All the code for the forecast dashboard and everything is in there.

Thanks, but I can’t see myself spending close to $400 for a proprietary system. That kind of defeats the purpose of an “open home” in the first place.

I was hoping to hear from people who use any of the other freely available services to see if any of them provide the information, without having to install them all myself to find out.

Perhaps you are unfamiliar with what a local weather station is and does… Your characterization is quite odd.

Further, this isn’t about “open home”, it’s SMART home. :wink:

The NWS integration provides the following daily or hourly forecast attributes:

friendly_name: Hourly Forecast
forecast: 
- datetime: '2024-08-12T02:00:00-04:00'
  precipitation_probability: 1
  condition: partlycloudy
  wind_bearing: 315
  temperature: 62
  dew_point: 58
  wind_speed: 1
  humidity: 87

Bearing resolution is only 45°.

You can also pull this forecast plot from the NWS.

1 Like

I understand a weather station. I just can’t see spending that to get one piece of information. I’m happy with the weather information provided by the freely available services for my needs. I am just trying to replace the one piece they used to provide, but don’t seem to anymore.

I appreciate the suggestion, though. :+1:

But is that the wind speed and direction they expect in the future? I know it’s a “forecast”, but what OWM used to provide was what the wind speed and direction was expected to be over the next day, not what it currently is. This allowed a separate graph showing actual vs. expected…

You can get the hourly forecast for the next 7 days. Pick what you’d like. If you want the next 24 hours worth of data, you can pick that out with forecast indexes 0 through 23. Similarly, the next 6 hours would be 0 though 5. If you need entities rather than attributes, you’ll need to create template sensors.

Lastly, the NWS-provided direction resolution is only half as good as what’s shown in your image.

1 Like

Maybe one of you can help figure out how to extract this information from the forecast? I don’t really understand how to do this…

There’s a weather.get_forecasts service. Apparently, we can create a template sensor which pulls this information, but I don’t know where to start with that? I basically need two sensors…

Forecast Wind Speed
Forecast Wind Bearing

This is what is returned from the daily forecast when the service is called.

weather.open_weather_map:
  forecast:
    - datetime: "2024-08-19T17:00:00+00:00"
      condition: rainy
      temperature: 78
      pressure: 1005
      cloud_coverage: 99
      wind_speed: 8.81
      wind_bearing: 256
      uv_index: 6.95
      precipitation_probability: 20
      precipitation: 0.01
      apparent_temperature: 80
      dew_point: 71
      wind_gust_speed: 10.98
      humidity: 78
    - datetime: "2024-08-19T18:00:00+00:00"
      condition: cloudy
      temperature: 78
      pressure: 1005
      cloud_coverage: 99
      wind_speed: 11.1
      wind_bearing: 278
      uv_index: 4.7
      precipitation_probability: 80
      precipitation: 0
      apparent_temperature: 79
      dew_point: 72
      wind_gust_speed: 17.05
      humidity: 84
    - datetime: "2024-08-19T19:00:00+00:00"
      condition: cloudy
      temperature: 77
      pressure: 1005
      cloud_coverage: 99
      wind_speed: 11.3
      wind_bearing: 295
      uv_index: 2.8
      precipitation_probability: 80
      precipitation: 0
      apparent_temperature: 78
      dew_point: 72
      wind_gust_speed: 18.16
      humidity: 84
    - datetime: "2024-08-19T20:00:00+00:00"
      condition: cloudy
      temperature: 77
      pressure: 1005
      cloud_coverage: 99
      wind_speed: 13.24
      wind_bearing: 296
      uv_index: 1.97
      precipitation_probability: 74
      precipitation: 0
      apparent_temperature: 78
      dew_point: 69
      wind_gust_speed: 19.66
      humidity: 77
    - datetime: "2024-08-19T21:00:00+00:00"
      condition: cloudy
      temperature: 74
      pressure: 1005
      cloud_coverage: 100
      wind_speed: 13.8
      wind_bearing: 299
      uv_index: 1.19
      precipitation_probability: 50
      precipitation: 0
      apparent_temperature: 75
      dew_point: 67
      wind_gust_speed: 22.77
      humidity: 78
    - datetime: "2024-08-19T22:00:00+00:00"
      condition: cloudy
      temperature: 71
      pressure: 1006
      cloud_coverage: 100
      wind_speed: 12.15
      wind_bearing: 301
      uv_index: 0.57
      precipitation_probability: 39
      precipitation: 0
      apparent_temperature: 71
      dew_point: 64
      wind_gust_speed: 25.12
      humidity: 79
    - datetime: "2024-08-19T23:00:00+00:00"
      condition: cloudy
      temperature: 66
      pressure: 1006
      cloud_coverage: 100
      wind_speed: 10.33
      wind_bearing: 302
      uv_index: 0.1
      precipitation_probability: 31
      precipitation: 0
      apparent_temperature: 66
      dew_point: 60
      wind_gust_speed: 23.53
      humidity: 85
    - datetime: "2024-08-20T00:00:00+00:00"
      condition: cloudy
      temperature: 64
      pressure: 1007
      cloud_coverage: 100
      wind_speed: 8.43
      wind_bearing: 296
      uv_index: 0
      precipitation_probability: 23
      precipitation: 0
      apparent_temperature: 64
      dew_point: 59
      wind_gust_speed: 20.42
      humidity: 89
    - datetime: "2024-08-20T01:00:00+00:00"
      condition: cloudy
      temperature: 63
      pressure: 1007
      cloud_coverage: 97
      wind_speed: 8.41
      wind_bearing: 302
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 63
      dew_point: 58
      wind_gust_speed: 20.07
      humidity: 88
    - datetime: "2024-08-20T02:00:00+00:00"
      condition: cloudy
      temperature: 62
      pressure: 1007
      cloud_coverage: 88
      wind_speed: 7.76
      wind_bearing: 313
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 62
      dew_point: 57
      wind_gust_speed: 18.99
      humidity: 88
    - datetime: "2024-08-20T03:00:00+00:00"
      condition: cloudy
      temperature: 61
      pressure: 1007
      cloud_coverage: 92
      wind_speed: 6.76
      wind_bearing: 322
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 61
      dew_point: 56
      wind_gust_speed: 15.52
      humidity: 87
    - datetime: "2024-08-20T04:00:00+00:00"
      condition: cloudy
      temperature: 61
      pressure: 1008
      cloud_coverage: 94
      wind_speed: 6.44
      wind_bearing: 321
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 60
      dew_point: 55
      wind_gust_speed: 14.58
      humidity: 87
    - datetime: "2024-08-20T05:00:00+00:00"
      condition: cloudy
      temperature: 61
      pressure: 1008
      cloud_coverage: 95
      wind_speed: 6.35
      wind_bearing: 330
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 60
      dew_point: 55
      wind_gust_speed: 13.51
      humidity: 85
    - datetime: "2024-08-20T06:00:00+00:00"
      condition: cloudy
      temperature: 61
      pressure: 1008
      cloud_coverage: 96
      wind_speed: 4.79
      wind_bearing: 328
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 61
      dew_point: 54
      wind_gust_speed: 10.96
      humidity: 82
    - datetime: "2024-08-20T07:00:00+00:00"
      condition: cloudy
      temperature: 62
      pressure: 1008
      cloud_coverage: 97
      wind_speed: 5.17
      wind_bearing: 318
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 61
      dew_point: 54
      wind_gust_speed: 11.9
      humidity: 78
    - datetime: "2024-08-20T08:00:00+00:00"
      condition: cloudy
      temperature: 62
      pressure: 1008
      cloud_coverage: 99
      wind_speed: 4.83
      wind_bearing: 326
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 61
      dew_point: 53
      wind_gust_speed: 11.21
      humidity: 77
    - datetime: "2024-08-20T09:00:00+00:00"
      condition: cloudy
      temperature: 60
      pressure: 1009
      cloud_coverage: 97
      wind_speed: 5.14
      wind_bearing: 307
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 59
      dew_point: 52
      wind_gust_speed: 9.78
      humidity: 79
    - datetime: "2024-08-20T10:00:00+00:00"
      condition: cloudy
      temperature: 58
      pressure: 1009
      cloud_coverage: 77
      wind_speed: 6.62
      wind_bearing: 311
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 58
      dew_point: 51
      wind_gust_speed: 14.88
      humidity: 82
    - datetime: "2024-08-20T11:00:00+00:00"
      condition: cloudy
      temperature: 58
      pressure: 1010
      cloud_coverage: 60
      wind_speed: 5.77
      wind_bearing: 313
      uv_index: 0.07
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 57
      dew_point: 51
      wind_gust_speed: 14.27
      humidity: 82
    - datetime: "2024-08-20T12:00:00+00:00"
      condition: partlycloudy
      temperature: 62
      pressure: 1011
      cloud_coverage: 50
      wind_speed: 5.53
      wind_bearing: 319
      uv_index: 0.36
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 61
      dew_point: 51
      wind_gust_speed: 14.29
      humidity: 70
    - datetime: "2024-08-20T13:00:00+00:00"
      condition: sunny
      temperature: 64
      pressure: 1011
      cloud_coverage: 0
      wind_speed: 7
      wind_bearing: 326
      uv_index: 1.56
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 63
      dew_point: 49
      wind_gust_speed: 13.85
      humidity: 59
    - datetime: "2024-08-20T14:00:00+00:00"
      condition: sunny
      temperature: 67
      pressure: 1011
      cloud_coverage: 0
      wind_speed: 9.44
      wind_bearing: 327
      uv_index: 3.41
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 65
      dew_point: 47
      wind_gust_speed: 14.61
      humidity: 52
    - datetime: "2024-08-20T15:00:00+00:00"
      condition: sunny
      temperature: 69
      pressure: 1011
      cloud_coverage: 0
      wind_speed: 10.07
      wind_bearing: 334
      uv_index: 5.08
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 68
      dew_point: 46
      wind_gust_speed: 13.11
      humidity: 45
    - datetime: "2024-08-20T16:00:00+00:00"
      condition: sunny
      temperature: 71
      pressure: 1011
      cloud_coverage: 0
      wind_speed: 9.66
      wind_bearing: 332
      uv_index: 6.48
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 70
      dew_point: 45
      wind_gust_speed: 11.01
      humidity: 41
    - datetime: "2024-08-20T17:00:00+00:00"
      condition: sunny
      temperature: 72
      pressure: 1011
      cloud_coverage: 0
      wind_speed: 9.69
      wind_bearing: 326
      uv_index: 6.81
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 71
      dew_point: 45
      wind_gust_speed: 10.31
      humidity: 38
    - datetime: "2024-08-20T18:00:00+00:00"
      condition: sunny
      temperature: 73
      pressure: 1011
      cloud_coverage: 0
      wind_speed: 10.09
      wind_bearing: 318
      uv_index: 6.46
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 72
      dew_point: 44
      wind_gust_speed: 10.02
      humidity: 37
    - datetime: "2024-08-20T19:00:00+00:00"
      condition: sunny
      temperature: 73
      pressure: 1012
      cloud_coverage: 0
      wind_speed: 10.51
      wind_bearing: 317
      uv_index: 5.22
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 71
      dew_point: 43
      wind_gust_speed: 10.2
      humidity: 37
    - datetime: "2024-08-20T20:00:00+00:00"
      condition: sunny
      temperature: 72
      pressure: 1012
      cloud_coverage: 1
      wind_speed: 10.69
      wind_bearing: 318
      uv_index: 3.4
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 70
      dew_point: 43
      wind_gust_speed: 10.56
      humidity: 37
    - datetime: "2024-08-20T21:00:00+00:00"
      condition: sunny
      temperature: 70
      pressure: 1012
      cloud_coverage: 2
      wind_speed: 10.45
      wind_bearing: 318
      uv_index: 1.78
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 69
      dew_point: 43
      wind_gust_speed: 10.78
      humidity: 40
    - datetime: "2024-08-20T22:00:00+00:00"
      condition: sunny
      temperature: 67
      pressure: 1013
      cloud_coverage: 4
      wind_speed: 12.19
      wind_bearing: 320
      uv_index: 0.64
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 65
      dew_point: 46
      wind_gust_speed: 13.8
      humidity: 49
    - datetime: "2024-08-20T23:00:00+00:00"
      condition: sunny
      temperature: 60
      pressure: 1014
      cloud_coverage: 3
      wind_speed: 12.71
      wind_bearing: 320
      uv_index: 0.15
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 59
      dew_point: 46
      wind_gust_speed: 23.11
      humidity: 61
    - datetime: "2024-08-21T00:00:00+00:00"
      condition: sunny
      temperature: 57
      pressure: 1015
      cloud_coverage: 3
      wind_speed: 10.85
      wind_bearing: 314
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 56
      dew_point: 44
      wind_gust_speed: 24.99
      humidity: 65
    - datetime: "2024-08-21T01:00:00+00:00"
      condition: sunny
      temperature: 56
      pressure: 1016
      cloud_coverage: 0
      wind_speed: 9.69
      wind_bearing: 315
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 55
      dew_point: 44
      wind_gust_speed: 24.81
      humidity: 67
    - datetime: "2024-08-21T02:00:00+00:00"
      condition: sunny
      temperature: 54
      pressure: 1016
      cloud_coverage: 0
      wind_speed: 6.91
      wind_bearing: 322
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 52
      dew_point: 44
      wind_gust_speed: 17.09
      humidity: 72
    - datetime: "2024-08-21T03:00:00+00:00"
      condition: sunny
      temperature: 52
      pressure: 1016
      cloud_coverage: 4
      wind_speed: 5.77
      wind_bearing: 319
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 51
      dew_point: 44
      wind_gust_speed: 13.91
      humidity: 76
    - datetime: "2024-08-21T04:00:00+00:00"
      condition: sunny
      temperature: 50
      pressure: 1016
      cloud_coverage: 2
      wind_speed: 4.36
      wind_bearing: 306
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 49
      dew_point: 44
      wind_gust_speed: 4.03
      humidity: 83
    - datetime: "2024-08-21T05:00:00+00:00"
      condition: sunny
      temperature: 49
      pressure: 1016
      cloud_coverage: 1
      wind_speed: 4.23
      wind_bearing: 304
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 47
      dew_point: 44
      wind_gust_speed: 3.94
      humidity: 88
    - datetime: "2024-08-21T06:00:00+00:00"
      condition: sunny
      temperature: 48
      pressure: 1016
      cloud_coverage: 2
      wind_speed: 4.25
      wind_bearing: 299
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 46
      dew_point: 44
      wind_gust_speed: 3.36
      humidity: 91
    - datetime: "2024-08-21T07:00:00+00:00"
      condition: sunny
      temperature: 47
      pressure: 1016
      cloud_coverage: 6
      wind_speed: 4.03
      wind_bearing: 299
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 45
      dew_point: 44
      wind_gust_speed: 2.98
      humidity: 92
    - datetime: "2024-08-21T08:00:00+00:00"
      condition: partlycloudy
      temperature: 47
      pressure: 1016
      cloud_coverage: 23
      wind_speed: 3.38
      wind_bearing: 297
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 46
      dew_point: 43
      wind_gust_speed: 2.26
      humidity: 91
    - datetime: "2024-08-21T09:00:00+00:00"
      condition: partlycloudy
      temperature: 51
      pressure: 1016
      cloud_coverage: 47
      wind_speed: 2.42
      wind_bearing: 288
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 50
      dew_point: 44
      wind_gust_speed: 3.78
      humidity: 80
    - datetime: "2024-08-21T10:00:00+00:00"
      condition: cloudy
      temperature: 53
      pressure: 1016
      cloud_coverage: 60
      wind_speed: 2.15
      wind_bearing: 293
      uv_index: 0
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 51
      dew_point: 44
      wind_gust_speed: 4.88
      humidity: 76
    - datetime: "2024-08-21T11:00:00+00:00"
      condition: cloudy
      temperature: 54
      pressure: 1017
      cloud_coverage: 68
      wind_speed: 1.9
      wind_bearing: 310
      uv_index: 0.08
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 52
      dew_point: 45
      wind_gust_speed: 3.85
      humidity: 76
    - datetime: "2024-08-21T12:00:00+00:00"
      condition: cloudy
      temperature: 55
      pressure: 1017
      cloud_coverage: 73
      wind_speed: 1.81
      wind_bearing: 328
      uv_index: 0.26
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 54
      dew_point: 46
      wind_gust_speed: 6.49
      humidity: 76
    - datetime: "2024-08-21T13:00:00+00:00"
      condition: cloudy
      temperature: 58
      pressure: 1017
      cloud_coverage: 100
      wind_speed: 2.26
      wind_bearing: 344
      uv_index: 0.81
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 57
      dew_point: 46
      wind_gust_speed: 7.9
      humidity: 67
    - datetime: "2024-08-21T14:00:00+00:00"
      condition: cloudy
      temperature: 63
      pressure: 1017
      cloud_coverage: 72
      wind_speed: 3.74
      wind_bearing: 354
      uv_index: 2.36
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 62
      dew_point: 46
      wind_gust_speed: 6.93
      humidity: 55
    - datetime: "2024-08-21T15:00:00+00:00"
      condition: cloudy
      temperature: 66
      pressure: 1017
      cloud_coverage: 66
      wind_speed: 4.54
      wind_bearing: 336
      uv_index: 2.76
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 65
      dew_point: 46
      wind_gust_speed: 6.87
      humidity: 49
    - datetime: "2024-08-21T16:00:00+00:00"
      condition: cloudy
      temperature: 68
      pressure: 1017
      cloud_coverage: 59
      wind_speed: 4.21
      wind_bearing: 313
      uv_index: 3.86
      precipitation_probability: 0
      precipitation: 0
      apparent_temperature: 67
      dew_point: 45
      wind_gust_speed: 7.61
      humidity: 46

Replace the kxxx with the closest NWS station and append this to your configuration.yaml file:
The entity will be sensor.hourly_forecast, but you can change it to your liking.

template:
  - trigger:
      - platform: time_pattern
        minutes: "/5"
      - platform: homeassistant
        event: start
    action:
      - service: weather.get_forecasts
        data:
          type: hourly
        target:
          entity_id: weather.kxxx
        response_variable: hourly
    sensor:
      - name: Hourly Forecast
        unique_id: hourly_forecast
        state: "{{ now().isoformat() }}"
        icon: mdi:timer-sand
        attributes:
          forecast: "{{ hourly['weather.kxxx'].forecast }}"

Here is a link to help you find the closest NWS station:

I don’t know how to restrict the forecasts to 24 hours, but I hope someone with more experience can help you trim it down to only what’s necessary.

The data set will look like this:

forecast: 
- datetime: '2024-08-19T14:00:00-04:00'
  precipitation_probability: 64
  condition: lightning-rainy
  wind_bearing: 270
  temperature: 80
  dew_point: 69
  wind_speed: 9
  humidity: 69
- datetime: '2024-08-19T15:00:00-04:00'
  precipitation_probability: 64
  condition: lightning-rainy
  wind_bearing: 270
  temperature: 81
  dew_point: 70
  wind_speed: 9
  humidity: 69
1 Like

That’s pretty much what I already have from the Open Weather Map above. I just don’t understand the code involved to pull the future wind speed and wind bearing results from that service request into a template sensor.

My understanding is that the information is still contained within the service request, but it no longer creates those sensors I used to get automatically. I have to figure out how to make them myself now.

Progress. SMH

The result I posted above is showing what the service is returning up to August 21st. Hourly for 48 hours. I just need to extract that future data into a template sensor that stores the information. Then I can use that sensor instead for future wind speed and wind bearing.

Do you have any record of the entities, states, or attributes that were used before, or examples of the ones that are still used? Is there any information regarding the polar plots you posted?

Edit: Per the OWM documentation, I expect it’ll be something like this:

sensor.open_weather_map_temperature

What’s in the entity state matters.

How exactly do you pull the day and night wind forcast graph. I have the nws integration set up. Thx