-
|
I would like that the background image of the clock view shows an image of the current weather, eg: raining, cloudy, partially cloudy, sunny, snowy, clear night, cloudy night, etc. So very similar to the feature of having the little weather icon in the corner but now also applied to the background image. Any ready-to-be-copied code that I could use to achieve that ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
This can be done, I think, with some javascript to set the background image in the view. You would need to create a dictionary with a corresponding image for each mdi icon for the weather. Then in your javascript you would need to match the mdi icon for the current weather to that icon in the dictionary and pull the correct image and display it. That's how I would approach it. Do know that you would also have to select images that looked good behind the forecast or you'll have a hard time reading it. |
Beta Was this translation helpful? Give feedback.
-
|
we only talked about the weather page and dynamic background based on the weather status. So I made this. You must put pictures in the weather folder in the backgrounds folder. I'm not sure if I have all the weather statuses like this. |
Beta Was this translation helpful? Give feedback.
-
|
Yes. This is what I was talking about. Nice work. |
Beta Was this translation helpful? Give feedback.
-
|
@jpbaril You can find @EyeVisionsNL submission here: |
Beta Was this translation helpful? Give feedback.
@jpbaril You can find @EyeVisionsNL submission here:
https://dinki.github.io/View-Assist/docs/community-contributions/cc-views/weatherdynamic