• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Changing icons of the modules Current Weather and Weather Forecast

Scheduled Pinned Locked Moved Development
301 Posts 30 Posters 1.2m Views 33 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.
  • I Offline
    idoodler Module Developer @justjim1220
    last edited by May 26, 2018, 9:27 AM

    @justjim1220 There are some realy awesome icons! I’d prefere https://codepen.io/joshbader/pen/EjXgqr

    I was just looking on how to implement these icons in the MMM-forecast-io module and noticed, that there are way more possible conditions then available icons. And this is the case for most of the icon sets.

    1 Reply Last reply Reply Quote 0
    • V Offline
      Vulcain
      last edited by May 27, 2018, 12:47 PM

      @lucianomag I try this set, its not bad !!0_1527424936850_mm_vclouds_try_0.PNG

      1 Reply Last reply Reply Quote 0
      • P Offline
        PhilReis
        last edited by May 27, 2018, 4:06 PM

        @Vulcain how did you implented the weather icons?

        V 1 Reply Last reply May 27, 2018, 5:02 PM Reply Quote 0
        • V Offline
          Vulcain @PhilReis
          last edited by Vulcain May 27, 2018, 5:05 PM May 27, 2018, 5:02 PM

          @PhilReis just a try but, here an example

          I put all the icons in a directory called “icon” (/home/pi/MagicMirror/css/icon) in the css directory and i configure :

          custom.css (/home/pi/MagicMirror/css/custom.css)

          
          .wi-cloudy:before {
          
          content: url("/css/icon/28.png");
          
          }
          
          .weatherforecast .wi-cloudy:before {
          
          content: "";
          height:60px;
          width:87.5px;
          display: block; 
          background-image : url("/css/icon/28.png");
          background-size: 87.5px 60px;
          }
          

          config.js (/home/pi/MagicMirror/config/config.js)

          		{
          			module: "currentweather",
          			position: "top_right",
          			config: {
          				location: "Montpellier",
          				locationID: "2992166", 
          				appid: "XXXXXXXX",
          				roundTemp: true,
          				degreeLabel: true,
          				showPeriod: false,
          				onlyTemp: true,
          				iconTable: {
              					'01d': 'wi-day-sunny',
              					'02d': 'wi-day-cloudy',
              					'03d': 'wi-cloudy',
              					'04d': 'wi-cloudy-windy',
              					'09d': 'wi-showers',
              					'10d': 'wi-rain',
              					'11d': 'wi-thunderstorm',
              					'13d': 'wi-snow',
              					'50d': 'wi-fog',
              					'01n': 'wi-night',
              					'02n': 'wi-night-cloudy',
              					'03n': 'wi-night-cloudy',
              					'04n': 'wi-night-cloudy',
              					'09n': 'wi-night-showers',
              					'10n': 'wi-night-rain',
              					'11n': 'wi-night-thunderstorm',
              					'13n': 'wi-night-snow',
              					'50n': 'wi-night-alt-cloudy-windy'
          				}
          

          If it helps you I’m happy !

          P S S F 4 Replies Last reply May 27, 2018, 6:48 PM Reply Quote 0
          • P Offline
            PhilReis @Vulcain
            last edited by May 27, 2018, 6:48 PM

            @vulcain i will try it soon. Thank you 🙂🙂

            L 1 Reply Last reply May 28, 2018, 6:30 PM Reply Quote 0
            • L Offline
              LucianoMag @PhilReis
              last edited by May 28, 2018, 6:30 PM

              @philreis Nice !!!:clapping_hands_light_skin_tone: :clapping_hands_light_skin_tone: :clapping_hands_light_skin_tone:

              1 Reply Last reply Reply Quote 0
              • S Offline
                SoleLo @Vulcain
                last edited by Jul 3, 2018, 5:54 AM

                @vulcain I can’t seem to find the icon folder… could it be in another location?

                V 1 Reply Last reply Jul 10, 2018, 8:01 AM Reply Quote 0
                • P Offline
                  PhilReis
                  last edited by Jul 5, 2018, 8:53 PM

                  I try this icons: https://www.amcharts.com/free-animated-svg-weather-icons/

                  0_1530823925424_icon.JPG

                  But at the moment only the 3 icons on the picture works.

                  S 1 Reply Last reply Jul 5, 2018, 9:33 PM Reply Quote 0
                  • S Offline
                    SoleLo @PhilReis
                    last edited by Jul 5, 2018, 9:33 PM

                    @philreis said in Changing icons of the modules Current Weather and Weather Forecast:

                    https://www.amcharts.com/free-animated-svg-weather-icons/

                    These are awesome, can you walk me through how you did it?

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      PhilReis
                      last edited by Jul 6, 2018, 7:17 AM

                      @SoleLo in the next few days i will implement the other icon. Then I’ll tell you how I did it.

                      S 1 Reply Last reply Jul 6, 2018, 8:35 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 30
                      • 31
                      • 2 / 31
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy