my configuration.yaml
weather:
- platform: openweathermap
api_key: 5c4e8d53493f178287366344ad41ed07460
name: home
Howto display the forecast for the next days, not only the next hours?
my configuration.yaml
weather:
- platform: openweathermap
api_key: 5c4e8d53493f178287366344ad41ed07460
name: home
Howto display the forecast for the next days, not only the next hours?
If that is your real API key then, well… it’s already too late. But for the future, don’t post your API keys, someone can abuse them and make your account banned.
Regarding the question, what does the entity look like in developer tools? What are the attributes?
I believe you need to use the onecall_daily API. You configure this in the openweathermap integration.
Thanx,
no, that is no real api key.
The needed data is already there but i found no way to display it
In developer tools under states i found also the neede data
with the hint from hellis81 i found this https://github.com/home-assistant/core/pull/55841, seems there is no solution.
But since the Data is there, there is surely a way to display it, but i’m very new with hass and i see no way.
If checked the openweathermap site and it says
I think you could create a template sensor that only holds one value per day, and when this is used in lovelace then maybe it will display “days”.
But that means you need to create an “average” sensor of a set of a set of values.
I mean what should it display if it’s raining in the morning then sunshine the rest of the day?
Or do you just want noon weather?
should look like this i’d done with FHEM and data from DWD Opendata (Deutscher WetterDienst)
A daily Forecast 4-7 Days , 4 Times a day , 8, 12, 16,20
I just realized now that I looked at my own weather, mine only displays days.
Perhaps that is enough?
I’ll give it a try, but i’ve done no coding yet in hass.
I also found a DeutscherWetterDienst AddOn via HACS but also not able to get it work.
after all, several hours later, deleted all openweather stuff and reinstalled, now it works
Thanks for Support
@RKsHAss,
I love the card you have set up, Can you please share how you achieved current and forecast information. I would love to incorporate that as well.
@RKsHAss Thanks for the reply. The screen shots are exactly what I am trying and hoping to achieve but I am still lost without YAML dashboard card code.
late, again, missing a message if some replies to me
at least i’m using the Deutscher Wetter Dienst but for you, you may start with https://openweathermap.org/
Create a free account and get a API Key.
and then start with the - custom weather card -
insert this weather card
edit this card , show code editor
type: custom:weather-card
entity: weather.openweathermap
number_of_forecasts: '5'
forecast: false
hourly_forecast: false
details: false
than insert a secon weather card
and edit - show code editor
type: custom:weather-card
entity: weather.openweathermap
number_of_forecasts: '5'
forecast: true
hourly_forecast: true
current: false
details: false
should look look this