Weather Icons....
-
Can I ask where these are stored and how they are referenced?
I want to swap a couple as it would make more sense given the weather where I live. I want the cloudy icon to show for stable pressure, and I want to add a cloudy icon for cloudy weather without the sun in it.
Thanks for any pointers.
-
You can have a look at mycontroller/www/services/common_services.js
Icons referred to on this page from weather-icons
Example:
wi-day-sunny
use it asday-sunny
.IMPORTANT: When we move to new version of MyController, your changes will be replaced!!!
-
@jkandasa Thank you, very interesting.
I think for now I could just replace/rename the icon to do what I would like....
But.... I can't find where the icons are stored on the pi. Can you point me in the right direction please?
-
Changing Icon name in the library file is more complex than the approach I have mentioned above
It is placed under mycontroller/www/libs/weather-icons
-
@jkandasa Thank you for the above.
Today I finally got back to this and worked it out - it's so easy when you know!
Thanks!
-
@jkandasa Would it be at all possible to move (or alias) this file to the /conf directory so that changes are not reset upon upgrade?
-
@skywatch I hope it is possible. I will check it locally and update the status