• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Weather Icons....

    Scheduled Pinned Locked Moved Comments & Feedback
    7 Posts 2 Posters 861 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • skywatchS Offline
      skywatch
      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 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @skywatch
        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 1 Reply Last reply Reply Quote 0
        • skywatchS Offline
          skywatch @jkandasa
          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 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @skywatch
            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 1 Reply Last reply Reply Quote 0
            • skywatchS Offline
              skywatch @jkandasa
              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! 🙂

              1 Reply Last reply Reply Quote 1
              • skywatchS Offline
                skywatch
                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 1 Reply Last reply Reply Quote 0
                • jkandasaJ Offline
                  jkandasa @skywatch
                  last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  0

                  Online

                  587

                  Users

                  529

                  Topics

                  3.4k

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