resoai / TileBoard

A simple yet highly configurable Dashboard for HomeAssistant
MIT License
1.63k stars 278 forks source link

fix(WEATHER, WEATHER_LIST): replace darksky with openweathermap in examples #676

Closed rchl closed 3 years ago

rchl commented 3 years ago

Also update icon mappings.

LucianTothezan commented 3 years ago

Hello. the version here above does not work on my tileboard. i am using openweathermap. the date is not changing if i activate the line for dateformat(please see attachement). also there is an undefined comment in the top right corner. how can i remove it please? image

rchl commented 3 years ago

You can remove undefined by adding state: false to the tile.

As for the date, are you using the latest version of TileBoard? And what is locale set to in your config?

LucianTothezan commented 3 years ago

thank You for your reply. plain stupid of me for the state: false issue. that one is solved. as for the locale i am on en-us and using the latest version of tileboard(the update was made by copying the content of the zip file in the existing location of the current tileboard. however in order to keep the config.js content from the old one, i just added the locale line in the config . i did a comparaison for the old and new config.js and i did not notice any others. is there another way of updating tileboard, without losing my custome configuration?)

LucianTothezan commented 3 years ago

ok, i finally got it working. i had to overwrite the index.html also. now the question remains on how to make openweathermap to show the forecast for the following days, not for the current day on 1 hour interval? there is a format that worked for me inwhich the forecast was for the next days but it was changing the day and also indexing with one hour on each day that was further in time than the current day(so it was using the same algorithm for +1 hour on the current day, but adding the +1 hour on each day). is there a way to do the forecaat always taking as reference the same hour of the day and not indexing it?

rchl commented 3 years ago

I'd recommend starting a thread in https://github.com/resoai/TileBoard/discussions

bosyd commented 2 years ago

ok, i finally got it working. i had to overwrite the index.html also. now the question remains on how to make openweathermap to show the forecast for the following days, not for the current day on 1 hour interval? there is a format that worked for me inwhich the forecast was for the next days but it was changing the day and also indexing with one hour on each day that was further in time than the current day(so it was using the same algorithm for +1 hour on the current day, but adding the +1 hour on each day). is there a way to do the forecaat always taking as reference the same hour of the day and not indexing it?

What Index.html file did you overwrite it with? I am having the same issue.