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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @jbeck615
      last edited by

      @jbeck615 said in Throwing down the gauntlet:

      ive never touched any of the monthly calendar files until i added your lines above to the end of my mcal.css file

      Those should have been added to your custom.css file within your css folder

      and was curious if you had any thoughts as to why your numbers are aligned to the left (when facing monitor) of the abbreviated days and mine are aligned to the right?

      Are you talking about WunderGround still? If so, then mine are aligned to the right as well.

      Create a working config
      How to add modules

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

        @jbeck615 said in Throwing down the gauntlet:

        the main config file and never touch the config files of each modules folder?

        There are no config files in each module folder. Anything inside the actual module folder is part of the module and should not be altered. You set up each modules configuration in the config.js file inside your config folder. After that, any customizing of each module should be done in the custom.css file in your css folder.

        This is the WunderGround entry in my config.js file. The setup of the module.

        {
            			module: 'MMM-WunderGround', // Just for current weather
            			position: 'top_center',
            			config: {
                		apikey: 'YOUR API KEY', // private; don't share!
                		pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool
        			currentweather: 1,
                		coloricon: true,
        			animationSpeed: 5000,
            			roundTmpDecs: 0,
            			UseCardinals: 1,
        			windunits: "mph", // bft or mph
        			}
        		},
        		{
            			module: 'MMM-WunderGround', // Just for forecast
            			position: 'top_right',
            			config: {
                		apikey: 'YOUR API KEY AGAIN', // private; don't share!
                		pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool
        			currentweather: 0,
                		coloricon: true,
                		hourly: '1',
                		fctext: '1',
                		fcdaycount: "10",
                		fcdaystart: "1",
                		hourlyinterval: "2",
                		hourlycount: "1",
        			animationSpeed: 5000,
                		alerttime: 10000,
                		alerttruncatestring: "english:",
            			roundTmpDecs: 0,
            			UseCardinals: 1,
            			layout: "vertical",
        			windunits: "mph",
            			sysstat: "0"
        			}
        		},
        

        And this is the WunderGround entry in my custom.css file. To customize things like color, icons, position, size, etc…

        }
        
        .region.top.right .MMM-WunderGround table th {
          display: none; /* removes icons above max-temp, min-temp and % chance of rain */
        }
        
        .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,   /* selector for ONLY current weather Thanks to Strawberry-3.141 */
        .region.top.right .MMM-WunderGround table:not(.small),   /* selector for ONLY weather forecast */
        .region.top.right .MMM-WunderGround table.small td:nth-child(6)  {
          display: none;    /* this line and line above selector for NO rain amount column */
        }
        

        I hope this clears things up for you

        Create a working config
        How to add modules

        J 3 Replies Last reply Reply Quote 0
        • J Offline
          jbeck615 @Mykle1
          last edited by

          @Mykle1 sorry i meant to say the js files not the config. i swear im not as dumb as im sounding here! however your clarification did make sense so thank you!

          1 Reply Last reply Reply Quote 0
          • J Offline
            jbeck615 @Mykle1
            last edited by

            @Mykle1 but just to make sure, changes only go in the config.js file in the config folder, dont touch the js files in each of hte modules, and if needed, modify the css files in each module correct? ive just been a bull in a china shop even if most of it is working well. thanks!

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

              @jbeck615 said in Throwing down the gauntlet:

              changes only go in the config.js file in the config folder

              Each module has a ReadMe that describes the config.js options. You’re not really changing the config.js file. You’re choosing options that the author has provided

              , dont touch the js files in each of hte modules

              Correct. Those are part of the module itself

              , and if needed, modify the css files in each module correct?

              You modify the custom.css file FOR each module, not IN the module folder

              Create a working config
              How to add modules

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jbeck615 @Mykle1
                last edited by

                @Mykle1 yep on the same page now! ill stop messing with the js files in each modules folder. thanks

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

                  @jbeck615 said in Throwing down the gauntlet:

                  yep on the same page now! ill stop messing with the js files in each modules folder. thanks

                  You’re welcome. I did it too, at first

                  Create a working config
                  How to add modules

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

                    @jbeck615 The custom.css file is in the css directory in /pi/MagicMirror not within each module directory.

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jbeck615 @jproehl
                      last edited by

                      @jproehl yep i am aligned after getting that clarification earlier. HUGE thanks

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jbeck615 @Mykle1
                        last edited by

                        @Mykle1 quick question, at the bottom of the css coding above, what does “selector” mean? thanks again!

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

                          @jbeck615 it’s kind of a query to which elements you want a css rule to be applied

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

                          1 Reply Last reply Reply Quote 1
                          • C Offline
                            cyberphox
                            last edited by

                            Almost accomplished this look today. Got some duplicate weather showing up I’m sure I can fix. The main problem I’m having is: No Realistic icons for weather at all. :(

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

                              @cyberphox said in Throwing down the gauntlet:

                              Almost accomplished this look today. Got some duplicate weather showing up I’m sure I can fix. The main problem I’m having is: No Realistic icons for weather at all.

                              Are you using WunderGround weather? If so, make sure you have coloricon: true, in your config. Like this.

                              module: 'MMM-WunderGround', // Just for current weather
                                  			position: 'top_center',
                                  			config: {
                                      		apikey: 'YOUR API KEY', // private; don't share!
                                      		pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool
                              			currentweather: 1,
                                      		coloricon: true,
                              			animationSpeed: 5000,
                                  			roundTmpDecs: 0,
                                  			UseCardinals: 1,
                              			windunits: "mph", // bft or mph
                              

                              Create a working config
                              How to add modules

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                cyberphox @Mykle1
                                last edited by

                                @Mykle1 Definitely using WunderGround…got the colors changed and have coloricon: true…gonna go double check it again! lol

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  cyberphox
                                  last edited by

                                  @Mykle1 ok so turns out all this time I was using an older WunderGround module. Once I did a git pull and updated - bam - there were the realistic icons!

                                  Now I have to play with widths! how did you manage to fit your calendar, date/weather, and weather forecast all along the top! LOL

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

                                    @cyberphox said in Throwing down the gauntlet:

                                    @Mykle1 ok so turns out all this time I was using an older WunderGround module. Once I did a git pull and updated - bam - there were the realistic icons!

                                    Yup, that’ll do it. You won’t forget that ever again, will ya? ;-)

                                    Now I have to play with widths! how did you manage to fit your calendar, date/weather, and weather forecast all along the top! LOL

                                    in custom.css

                                    body {
                                      margin: 20px; /* This made the entire screen have a 20px border. Thanks to Strawberry-3.141  */
                                      height: calc(100% - 40px);
                                      width: calc(100% - 40px);
                                    }
                                    

                                    That gives you a margin of only 20pixels around the entire screen. You can go even closer but I didn’t want anything too close to the edge. That’s enough to gain you some more real estate. Also, I have my monitor set to its highest resolution. You might want to try that.
                                    Then I simply put calendar in top_left, date and weather both top_middle and weather forecast top_right.

                                    Create a working config
                                    How to add modules

                                    C 1 Reply Last reply Reply Quote 1
                                    • C Offline
                                      cyberphox @Mykle1
                                      last edited by cyberphox

                                      @Mykle1 Tried adding the CSS and didn’t really seem like anything changed. Checked my monitor settings in Display settings and it said it detected my monitor at 1015x1856
                                      Maybe I’m not getting a full 1200x1920 resolution?

                                      Never mind…running tvservice -s shows 1920x1080 resolution…must be something little i am missing again!

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        cyberphox
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Advokaten
                                          last edited by

                                          Thanks for posting this! I just have a problem with systemstats-module. If I have a space between “System” and “Load”, the two words will go into two lines. If I write in “System_Load”, however, I get it to stay on one line. It’s like there’s a < br > hidden somewhere lol. Any ideas? Thanks again.

                                          1 Reply Last reply Reply Quote 0
                                          • KimzerK Offline
                                            Kimzer
                                            last edited by

                                            Can someone please tell me how i can change the color of the numbers next to the sun? The 17.3 degrees bit.
                                            alt text

                                            And here, can someone please tell me how i can change the color of the song title, there are two of them in white so both preferably.
                                            alt text

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 3 / 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