• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    Weather Icons....

    scheduled pinned locked moved Comments & Feedback
    7 posts 2 posters 1.3k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • skywatchS offline
      skywatch
      global:last-edited-by,

      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.

      jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @skywatch
        global:last-edited-by,

        @skywatch

        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 as day-sunny.

        IMPORTANT: When we move to new version of MyController, your changes will be replaced!!!

        skywatchS one-reply-to-this-post last-reply-time reply quote 0
        • skywatchS offline
          skywatch @jkandasa
          global:last-edited-by,

          @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? 😉

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @skywatch
            global:last-edited-by,

            @skywatch

            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

            skywatchS one-reply-to-this-post last-reply-time reply quote 0
            • skywatchS offline
              skywatch @jkandasa
              global:last-edited-by,

              @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! 🙂

              one-reply-to-this-post last-reply-time reply quote 1
              • skywatchS offline
                skywatch
                global:last-edited-by,

                @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?

                jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                • jkandasaJ offline
                  jkandasa @skywatch
                  global:last-edited-by,

                  @skywatch I hope it is possible. I will check it locally and update the status

                  one-reply-to-this-post last-reply-time reply quote 0
                  • first-post
                    last-post

                  0

                  online

                  644

                  users

                  532

                  topics

                  3.4k

                  posts
                  Copyright © 2015-2025 MyController.org | Contributors | Localization