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.

    Throwing down the gauntlet

    Scheduled Pinned Locked Moved Troubleshooting
    85 Posts 11 Posters 106.6k Views 11 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.
    • jproehlJ Offline
      jproehl @Mykle1
      last edited by

      @Mykle1 Thanks! I’m much closer. There are a couple of minor differences that I’m trying to ferret out:

      1. I had to change a few lines in your module call to MMM-WunderGround for the current weather - I zeroed out the fctext, fcdaycount, hourlyinterval and hourlycount otherwise I got the forecast right below the current conditions in addition to the one at upper-right

      2. Under my current conditions color icon/temperature, I see a line with two thermometers and an umbrella (i.e. the header for the forecasts) which I have no idea how to get rid of. I believe the changes I made under 1) should have removed any call for a forecast.

      3. I do not get any color changes like you have in the forecast at the upper right. Did you have to change something else to get those?

      Thanks a bunch!

      Mykle1M J 3 Replies Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @jproehl
        last edited by

        @jproehl said in Throwing down the gauntlet:

        I believe the changes I made under 1) should have removed any call for a forecast.

        This page will explain the effects of the individual config changes that you made.
        https://github.com/RedNax67/MMM-WunderGround

        Create a working config
        How to add modules

        jproehlJ 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @jproehl
          last edited by

          @jproehl said in Throwing down the gauntlet:

          I do not get any color changes like you have in the forecast at the upper right. Did you have to change something else to get those?

          This goes in your custom.css file for the coloring that I have. You can change the colors to your liking

          .MMM-WunderGround .max-temp {
            color: #f66;
          }
          
          .MMM-WunderGround .min-temp {
            color: #0ff;
          }
          
          .MMM-WunderGround .weather-icon {
            color: #f93;
          }
          
          .MMM-WunderGround .day {
            color: #6f6;
          }
          

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • jproehlJ Offline
            jproehl @Mykle1
            last edited by jproehl

            @Mykle1 and/or @strawberry-3.141:

            Great, thanks for the color update, I’ll try that in a minute.

            As for the current weather, I’ve been looking at the web page for MMM-WunderGround extensively. I don’t think all the changes I made to your current weather module call to WWW-WunderGround in your config.js were necessary, but I thought I should try to shut off ALL parameters that were possibly related to the forecast to see if I could get rid of that last line of header symbols used for the forecast. None did, because I still have those 3 icons (max thermometer, min thermometer and the umbrella) right below the current conditions icon and current temperature.

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @jproehl
              last edited by

              @jproehl

              Ok, well that is beyond me but I’ll go out on a limb here and say that Strawberry will be able to help you with that. That’s a custom.css thing and I do believe he is the resident expert. When he does fix it for you (because I am sure that he will) be sure to post the css entry so that I can see how it looks on mine. Right now, I sorta like the little icons

              Create a working config
              How to add modules

              jproehlJ 1 Reply Last reply Reply Quote 0
              • jproehlJ Offline
                jproehl @Mykle1
                last edited by

                @Mykle1 and/or @strawberry-3-141:
                I suspect that Strawberry will straighten me out on this.Those additions to custom.css do not change my font colors. I wonder if I have an error somewhere that is interfering with the proper loading of the custom.css file. When I start the display, I see a flash of text, which I think lists node.js, that disappears very fast that might be an error message. But since it’s so fast I can’t tell.

                Mykle1M strawberry 3.141S 2 Replies Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @jproehl
                  last edited by

                  @jproehl

                  Alright, I’ll check back in here to see how you make out. I’m interested in the outcome. I’m off to dinner right now

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @jproehl
                    last edited by

                    @jproehl

                    .region.top.right .MMM-WunderGround table th {
                    	display: none;
                    }
                    

                    Please create a github issue if you need help, so I can keep track

                    Mykle1M jproehlJ 2 Replies Last reply Reply Quote 1
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @strawberry 3.141
                      last edited by

                      @strawberry-3.141

                      Don’t know why, but I’m still amazed! Once again, Strawberry to the rescue!

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • jproehlJ Offline
                        jproehl @strawberry 3.141
                        last edited by

                        @strawberry-3.141 Hey, thanks for the reply. I’m not totally sure where to add that text, so I appended it to my custom.css file. But I don’t see any difference in the MagicMirror view.

                        Here are my custom.css and my config.js (with the appid’s removed). You’ll probably see what I’ve done wrong right away

                        ================== custom.css ==================

                        body {
                        .clock .time {
                        color: #99F;
                        }

                        .clock .date {
                        	color: #99F;
                        }
                        
                        .calendar .header {
                        	color: #F00;
                        }
                        
                        .newsfeed .title {
                        	color: #F00;
                        	font-size: large; 
                        }
                        
                        .MMM-WunderGround .max-temp {
                         color: #f66;
                        
                        .MMM-WunderGround .min-temp {
                         color: #0ff;
                        }
                        
                        .MMM-WunderGround .weather-icon {
                          color: #f93;
                        }
                        
                        .MMM-WunderGround .day {
                          color: #6f6;
                        }
                        
                        .region.top.center .MMM-WunderGround table.small {
                          display:none;
                        }
                        
                        .region.top.right .MMM-WunderGround table:not(.small) {
                          display:none;
                        }
                        
                        .region.top.right .MMM-WunderGround table.small td:nth-child(6) {
                          display:none;
                        }
                        
                        .region.top.right .MMM-WunderGround table th {
                        display: none;
                           }
                        

                        }

                        ==============================================

                        =================== config.js ==================

                        /* Magic Mirror Config Sample
                        *

                        • By Michael Teeuw http://michaelteeuw.nl
                        • MIT Licensed.
                          */

                        var config = {
                        port: 8080,
                        ipWhitelist: [‘127.0.0.1’, ‘::ffff:127.0.0.1’, ‘::1’],
                        language: ‘en’,
                        timeFormat: 24,
                        units: ‘imperial’,

                        modules: [
                        	{
                        		module: 'alert',
                        	},
                        	{
                        		module: 'updatenotification',
                        		position: 'top_bar'
                        	},
                        	{
                        		module: 'clock',
                        		position: 'top_center'
                        	},
                        	{
                        		module: 'calendar',  // My Google Calendar
                        		header: 'My Calendar',
                        		position: 'top_left',
                        		config: {
                        			calendars: [
                        				{
                        					symbol: 'calendar-check-o ',
                        					url: 'https://calendar.google.com/calendar/ical/japroehl%40gmail.com/private-xxx/basic.ics',
                        					maximumEntries: 15,
                        					timeformat: 'absolute',
                        					getrelative: 96,
                        					fadepoint: 0.9
                        				}
                        			]
                        		}
                        	},
                        	{
                        		module: 'MMM-WunderGround',
                        		header: 'Current Weather in Cornish',
                        		position: 'top_center',
                        		config: {
                        		apikey: '', // private; don't share!
                        		pws: 'NH/Cornish', //weather station
                        		currentweather: 1,
                        		coloricon: true,
                        		hourly: 0,
                        		fctext: 0,
                        		fcdaycount: 0,
                        		fcdaystart: 0,
                        		hourlyinterval: 0,
                        		hourlycount: 0,
                        		animationSpeed: 5000,
                        		alerttime: 10000,
                        		alerttruncatestring: 'english:',
                        		roundTmpDecs: 0,
                        		UseCardinals: 1,
                        		layout: 'vertical',
                        		windunits: 'mph',
                        		sysstat: 0
                        		}
                        	},
                        	{
                        		module: 'MMM-WunderGround',
                        			header: 'Forecast for Cornish',
                        		position: 'top_right',
                        		config: {
                        		apikey: '', // private; don't share!
                        		pws: 'NH/Cornish', //weather station
                        		currentweather: '0',
                        		coloricon: true,
                        		hourly: 0,
                        		fctext: 1,
                        		fcdaycount: 7,
                        		fcdaystart: 1,
                        		hourlyinterval: 6,
                        		hourlycount: 0,
                        		animationSpeed: 5000,
                        		alerttime: 10000,
                        		alerttruncatestring: 'english:',
                        		roundTmpDecs: 0,
                        		UseCardinals: 1,
                        		layout: 'vertical',
                        		windunits: 'mph',
                        		sysstat: 0
                        		}
                        	},
                        	{
                        		module: 'newsfeed',
                        		position: 'bottom_bar',
                        		config: {
                        			feeds: [
                        				{
                        					title: 'New York Times',
                        					url: 'http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml'
                        				},
                        				{
                        					title: 'BBC',
                        					url: 'http://feeds.bbci.co.uk/news/video_and_audio/news_front_page/rss.xml?edition=uk',
                        				},
                        				],
                        				showSourceTitle: true,
                        				showPublishDate: true
                        			}	
                        	 },
                        ]
                        

                        };

                        /*************** DO NOT EDIT THE LINE BELOW ***************/
                        if (typeof module !== ‘undefined’) {module.exports = config;}

                        jproehlJ Mykle1M 2 Replies Last reply Reply Quote 0
                        • jproehlJ Offline
                          jproehl @jproehl
                          last edited by

                          @jproehl Don’t know why it split the code like that, but is it a sign? I posted all of this as a block of text (file upload wasn’t allowed to my new user). So does this splitting of the text suggest a bad formatting command in either or both files?

                          Mykle1M 1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @jproehl
                            last edited by

                            @jproehl said in Throwing down the gauntlet:

                            I appended it to my custom.css file. But I don’t see any difference in the MagicMirror view.

                            First, close out the body with a }

                            body  {
                            } 
                            
                            .clock .time {
                            color: #99F;
                            }
                            
                            

                            Create a working config
                            How to add modules

                            jproehlJ 2 Replies Last reply Reply Quote 0
                            • jproehlJ Offline
                              jproehl @Mykle1
                              last edited by

                              @Mykle1 Doesn’t all of that text go within the body? There is a close } at the very end of the custom.css file that closes the body. Is that misplaced?

                              Mykle1M 1 Reply Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @jproehl
                                last edited by Mykle1

                                @jproehl said in Throwing down the gauntlet:

                                So does this splitting of the text suggest a bad formatting command in either or both files?

                                Nope. Before you paste code, simply put three back ticks It's under your tilde key, then close out the code with three more back ticks

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 0
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @jproehl
                                  last edited by Mykle1

                                  @jproehl said in Throwing down the gauntlet:

                                  Doesn’t all of that text go within the body? There is a close } at the very end of the custom.css file that closes the body. Is that misplaced?

                                  No sir, not in this case. css is a bit different than config. That last } in your css is not doing anything. You can remove it. If you fixed the body and save the css file, you should see your changes after relaunching MM

                                  Create a working config
                                  How to add modules

                                  jproehlJ 2 Replies Last reply Reply Quote 0
                                  • jproehlJ Offline
                                    jproehl @Mykle1
                                    last edited by

                                    @Mykle1 Okay, thanks! I was way off! I made that change and now I get red text for the high temperature (so that’s progress, yea!!) but all the other stuff is still gray. I must still have some other syntax errors some where. Back to looking at the code …

                                    1 Reply Last reply Reply Quote 0
                                    • jproehlJ Offline
                                      jproehl @Mykle1
                                      last edited by

                                      @Mykle1 Okay, I got it! I was missing a close bracket in my

                                      .MMM-WunderGround .min-temp

                                      definition, and fixing that fixed everything!! Even the line of icons in the current weather disappeared!!

                                      Thank you so much!

                                      Mykle1M 2 Replies Last reply Reply Quote 0
                                      • Mykle1M Offline
                                        Mykle1 Project Sponsor Module Developer @jproehl
                                        last edited by

                                        @jproehl said in Throwing down the gauntlet:

                                        and fixing that fixed everything!! Even the line of icons in the current weather disappeared!!
                                        Thank you so much!

                                        Glad to be of service. I’m just paying back Strawberry’s kindness to me by helping

                                        Create a working config
                                        How to add modules

                                        jproehlJ 1 Reply Last reply Reply Quote 1
                                        • jproehlJ Offline
                                          jproehl @Mykle1
                                          last edited by

                                          @Mykle1 Well, I applaud your efforts (it’s getting rarer in this messed up country) … I hope someday to figure this stuff out to a point where I can help another newbie. Thanks again!

                                          Mykle1M 1 Reply Last reply Reply Quote 1
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @jproehl
                                            last edited by

                                            @jproehl said in Throwing down the gauntlet:

                                            Well, I applaud your efforts (it’s getting rarer in this messed up country) …

                                            New York City, USA. I’m just trying to be good representative of my city and country.

                                            I hope someday to figure this stuff out to a point where I can help another newbie. Thanks again!

                                            Dude, one month ago I knew less than you, guaranteed. You will be helping others soon, guaranteed.

                                            Peace

                                            Create a working config
                                            How to add modules

                                            1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • 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