5 day weather forecast?

i’m running home assistant and wink hub. i can get the current day weather to be displayed but how do i get 5 day forecast for my area?

@chrispudge what Home Assistant component do you use for weather?

I used weather.home…i was able to add additional days using the tomorrow, +1 day, +2 day, etc but everyone shows the same info

Does home assistant UI shows forecast data correctly?

Yes

ok, can you also show the yaml config for this weather component?

There isn’t anything in the configuration.yaml for weather which makes me wonder how the previous screenshot i sent shoes on the overview page?

do you see anything related to weather on states page (/developer-tools/state)?
If so, can you copy entity name, state, and attributes?

since you don’t have a specific weather, it is most likely not supported yet. HA provides weather data in two formats, only weather sensors are currently supported for forecast (not weather.something entities with forecast).
This was planned overall, I will see if this is something that can be prioritized higher for sooner release.

I just added the darksky api to the configuration yaml but it still shows 5 days of the same weather…weird

Can you screenshot what you see in widget editor in the app?

Also, to clarify, if you used Dark Sky weather component (https://www.home-assistant.io/integrations/weather.darksky) forecast is not supported there yet.
Dark Sky sensor component (https://www.home-assistant.io/integrations/darksky) forecast is supported, but it will create separate sensor for each weather property, so it is a bit more work to configure.

I fixed the darksky in the config yaml and added mode daily but in home habit still only shows the same weather everyday…do i need darksky sensors just for the weather to show correct?

yes, or wait till weather forecast component is supported. I will check if it is possible in the next release.

Can you point me in the right dirextion about dark sky sensor? I dont see the setup?

This is the config I have in my personal setup. You probably don’t need all those monitored conditions for forecast only.

sensor:
  - platform: darksky
    api_key: !secret darksky_api_key
    scan_interval: 01:00
    forecast:
      - 0
      - 1
      - 2
      - 3
    monitored_conditions:
      - summary
      - temperature
      - temperature_high
      - temperature_low
      - apparent_temperature
      - dew_point
      - wind_speed
      - wind_bearing
      - cloud_cover
      - humidity
      - pressure
      - visibility
      - ozone
      - icon
      - nearest_storm_distance

Im sorry i see it you linked it

Ah i got it to work with the sensor now thanks igor!

oh, that’s great! happy to hear that :slight_smile:

Hi! Is there any chance weather component’s forecast section to be supported in near future?
Both default HA weather integration met.no and openweathermap integration provides weather state like this:

met.no
temperature: 13.8
humidity: 55
pressure: 1020.6
wind_bearing: 267.1
wind_speed: 8.3
attribution: >-
  Weather forecast from met.no, delivered by the Norwegian Meteorological
  Institute.
forecast:
  - datetime: '2020-05-28T12:00:00+03:00'
    temperature: 16.1
    condition: cloudy
    pressure: 1020
    humidity: 63.1
    wind_speed: 10.1
    wind_bearing: 288
  - datetime: '2020-05-29T12:00:00+03:00'
    temperature: 15.8
    condition: cloudy
    pressure: 1025
    humidity: 45.6
    wind_speed: 8.6
    wind_bearing: 9.6
  - datetime: '2020-05-30T12:00:00+03:00'
    temperature: 16.2
    condition: sunny
    pressure: 1026.1
    humidity: 39.5
    wind_speed: 18.4
    wind_bearing: 34.8
  - datetime: '2020-05-31T12:00:00+03:00'
    temperature: 15.5
    condition: sunny
    pressure: 1026.7
    humidity: 42.2
    wind_speed: 14.8
    wind_bearing: 58.4
  - datetime: '2020-06-01T12:00:00+03:00'
    temperature: 19
    condition: partlycloudy
    pressure: 1023.6
    humidity: 48.6
    wind_speed: 14.8
    wind_bearing: 55.8
friendly_name: Home

or this:

OpenWeatherMap
temperature: 13.6
humidity: 50
pressure: 1020
wind_bearing: 280
wind_speed: 7.2
attribution: Data provided by OpenWeatherMap
forecast:
  - datetime: 1590613200000
    temperature: 11.5
    precipitation: null
    condition: partlycloudy
  - datetime: 1590699600000
    temperature: 8.6
    precipitation: null
    condition: partlycloudy
  - datetime: 1590786000000
    temperature: 8.1
    precipitation: null
    condition: sunny
  - datetime: 1590872400000
    temperature: 9.2
    precipitation: null
    condition: sunny
  - datetime: 1590958800000
    temperature: 8.3
    precipitation: null
    condition: partlycloudy
friendly_name: OpenWeatherMap

Some data could be presented in sensors format for openweather, but forecat is limited to single entry of 2 hours. With DarkSky closing their services it seems a lot of people would be in search of new weather integrations, and they closed new signups so I already missed my chance :frowning:

1 Like