• 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.

My display so far...

Scheduled Pinned Locked Moved Showcase
66 Posts 18 Posters 74.8k Views 22 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.
  • R Offline
    rudibarani Project Sponsor @j.e.f.f
    last edited by Jun 27, 2017, 9:30 PM

    @j.e.f.f It worked before your update and I did not change anything.
    The relevant part is:

    {
    			module: 'MMM-MyWeather',
    			position: 'top_center',
    			config: {
    				apikey: '###', // private; don't share!
    				pws: 'pws:IBRAUNSC93',
    				units: 'metric',
    				coloricon: true,
    				fcdaycount: "3",
    				fcdaystart: "0",
    				lang: 'de',
    				fctext: '1',
    				scaletxt: '0',
    				daily: '1',
    				hourly: '1',
    				hourlyinterval: "3",
    				hourlycount: "3",
    				fade: false,
    				fadepoint: '0.75',
    				initialLoadDelay: 1000,
    				alerttime: 10000,
    				alerttruncatestring: "english:",
    				roundTmpDecs: 1,
    				UseCardinals: 1,
    				windunits: 'bft',
    				layout: "vertical",
    				iconset: 'colourful',
    				currentweather: 1, // 0 to hide
    				currentweatherdetails: 0,
    				forecasttable: 1, // 0 to hide
    				forecasttablecolumnheadericons: 0,
    				forecasttableheadertext: "Home",
    				sysstat: 0
    			}
    		},
    
    J 2 Replies Last reply Jun 27, 2017, 9:33 PM Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @rudibarani
      last edited by Jun 27, 2017, 9:33 PM

      @rudibarani thanks. I’ll take a look tonight when I get home from work.

      1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @rudibarani
        last edited by Jun 28, 2017, 12:58 AM

        @rudibarani Ok try pulling the latest commit. I indeed broke the default timeFormat setting. I didn’t notice because my config was using an explicit configuration option.

        R 1 Reply Last reply Jun 28, 2017, 3:37 AM Reply Quote 0
        • R Offline
          rudibarani Project Sponsor @j.e.f.f
          last edited by rudibarani Jun 28, 2017, 3:40 AM Jun 28, 2017, 3:37 AM

          @j.e.f.f Now its working again, but the timeformat still does not show up in the 24h format:
          0_1498621210581_871b9421-b2c6-4e7e-b9e5-2d5f3b066b4b-image.png

          Thanks a lot and greetings from Germany.

          J 1 Reply Last reply Jun 29, 2017, 8:07 PM Reply Quote 0
          • B Offline
            brandongomez
            last edited by Jun 29, 2017, 7:39 PM

            I’m sure there’s a way to do this in css but not sure how. I want to make the icon and temperature smaller.

            0_1498765163780_Screen Shot 2017-06-29 at 11.47.35 AM.png

            J 1 Reply Last reply Jun 29, 2017, 8:13 PM Reply Quote 0
            • J Offline
              j.e.f.f Project Sponsor Module Developer @rudibarani
              last edited by Jun 29, 2017, 8:07 PM

              @rudibarani in your config, set the timeFormat to HH:mm and you shoudl see 24-hour format.

              I just tried this. My config looks like this:

                  {
                      module: 'MMM-MyWeather',
                      position: 'top_right',
                      classes: 'default everyone',
                      config: {
                        apikey: '...', // private; don't share!
                        pws: 'pws:IONTORON421', //Toronto Beaches
                        units: 'metric',
                        // other configs omitted for clarity 
                        timeFormat: 'HH:mm',  //Set this here
                      }
                  },
              
              

              And it looks like this:

              0_1498766827572_Screen Shot 2017-06-29 at 4.03.28 PM.png

              R 1 Reply Last reply Jun 29, 2017, 8:15 PM Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @brandongomez
                last edited by Jun 29, 2017, 8:13 PM

                @brandongomez You can target both of these in CSS as follows:

                /* Icon */
                .MMM-MyWeather .currentWeatherIconWrapper .currentWeatherIcon {
                  max-width: 140px;
                  max-height: 140px; /* play with these two values to get the size you want */
                }
                
                /* temperature text */
                .MMM-MyWeather div.large span.bright {
                  font-size: 65px;
                  line-height: 65px; /* play with these two numbers to adjust text size */
                }
                B 1 Reply Last reply Jun 29, 2017, 10:36 PM Reply Quote 0
                • R Offline
                  rudibarani Project Sponsor @j.e.f.f
                  last edited by Jun 29, 2017, 8:15 PM

                  @j.e.f.f Ah - you are using the moments-timeformat. Now it works :)
                  I was confused, as the timeformat in the config.js was either “12” or “24”.
                  Thanks for the clarification!

                  J 1 Reply Last reply Jun 29, 2017, 8:16 PM Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @rudibarani
                    last edited by j.e.f.f Jun 29, 2017, 8:16 PM Jun 29, 2017, 8:16 PM

                    @rudibarani Yeah I like using the Moment.js format since it gives you the ultimate flexibility with how you want to display time.

                    Glad it’s working for you now! :)

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      brandongomez @j.e.f.f
                      last edited by Jun 29, 2017, 10:36 PM

                      @j.e.f.f Thanks for the quick response!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 5 / 7
                      5 / 7
                      • First post
                        45/66
                        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