pkissling / clock-weather-card

A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons
Other
309 stars 66 forks source link

The forecast_rows block randomly disappears #295

Closed rbalaev closed 7 months ago

rbalaev commented 7 months ago

The block with the weather forecast disappears, and during the day it appears and then disappears.

image image
pkissling commented 7 months ago

hi @rbalaev, can you post the content of your developer console in your browser once the forecast rows disappeared. also, what weather provider are you using?

rbalaev commented 7 months ago

hi @rbalaev, can you post the content of your developer console in your browser once the forecast rows disappeared. also, what weather provider are you using? I'm seeing these errors now. but at the moment 4 lines are output instead of 5.

Weather provider is Meteorologisk institutt

image image image image
pkissling commented 7 months ago

can you please provide me your lat, long and altitude configured for the met.no weather provider? i would like to reproduce the problem, if possible

Kibakus commented 7 months ago

can you please provide me your lat, long and altitude configured for the met.no weather provider? i would like to reproduce the problem, if possible

my example (Yekaterinburg) 56.8383,60.6035

the problem persists in:

rbalaev commented 7 months ago

can you please provide me your lat, long and altitude configured for the met.no weather provider? i would like to reproduce the problem, if possible 55.871213, 37.491839

pkissling commented 7 months ago

quick heads up: i am trying to reproduce with met.no in yekaterinenburg. so far i was not able to reproduce the issue.

Kibakus commented 7 months ago

quick heads up: i am trying to reproduce with met.no in yekaterinenburg. so far i was not able to reproduce the issue.

I can send it only in a week logs :(

Please write to me in telegram @Kibakus

The error is exactly like in the screenshot

ereenke commented 7 months ago

The same problem - block with weekly or hourly forecast is not displayed. There are many errors in the console.

ksnip_20231213-194832

I checked Met.no and OpenWeatherMap providers - the same does not work. What is characteristic, I am also from Russia (52.4870, 85.1466).

Finally, I tried specifying Berlin coordinates and the forecast block showed up and the errors disappeared. I hope this will give you an idea where to look for the problem.

pkissling commented 7 months ago

The same problem - block with weekly or hourly forecast is not displayed. There are many errors in the console.

ksnip_20231213-194832

I checked Met.no and OpenWeatherMap providers - the same does not work. What is characteristic, I am also from Russia (52.4870, 85.1466).

Finally, I tried specifying Berlin coordinates and the forecast block showed up and the errors disappeared. I hope this will give you an idea where to look for the problem.

thank you. with the coordinates you provided i am able to reproduce the problem. i will try to create a fix tomorrow

pkissling commented 7 months ago

released 2.1.10, which should fix the issue. it had to do extremely low temperatures and the fact that no dedicated color was provided fur such extreme ranges. i also added a darker blue color for temperatures below -20 degrees

image
Kibakus commented 7 months ago

released 2.1.10, which should fix the issue. it had to do extremely low temperatures and the fact that no dedicated color was provided fur such extreme ranges. i also added a darker blue color for temperatures below -20 degrees image

Thank you, but we sometimes have -30, as well as -40)))

pkissling commented 7 months ago

poor you :D temperatures -20 degrees will still be rendered correctly. the color blue color will just not go darker below -20 degrees. but the card should render the bars properly

Kibakus commented 7 months ago

poor you :D temperatures -20 degrees will still be rendered correctly. the color blue color will just not go darker below -20 degrees. but the card should render the bars properly

It’s sad that for us -20 is no different from -40 :)

Kibakus commented 7 months ago

poor you :D temperatures -20 degrees will still be rendered correctly. the color blue color will just not go darker below -20 degrees. but the card should render the bars properly

It’s sad that for us -20 is no different from -40 :)

It’s funny that less than -20 degrees was not envisaged.