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.

    Certain Modules Making Screen Blank

    Scheduled Pinned Locked Moved Troubleshooting
    helpmodulecalendarnewsfeedconfig
    17 Posts 2 Posters 10.3k Views 2 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.
    • E Offline
      efk4
      last edited by efk4

      I’m really new to Raspberry Pi/Linux/90% of the code used here, so this is likely to be a dumb, easy fix (at least, I really hope so since it’s been driving me crazy!).

      I’m able to get the clock, currentweather and weatherforecast modules working perfectly. However, when I attempt to add any other modules (calendar, newsfeed, even some additional downloaded ones such as MMM-Todoist and MMM-RottenTomatoes) the screen appears completely blank.

      I’m planning on using this as an info screen type thing, rather than a mirror, so I have a background image which still appears like normal when this happens; all that happens is that no modules appear. Can anyone help with this? I’ll include my config.js code below; everything after weatherforecast is the stuff that doesn’t work - I’ve also removed all of my info.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      	address: [],
      	ipWhitelist: [],
      
      	language: "en",
      	timeFormat: 12,
      	units: "metric",
      
      	modules: [
      		{
      			module: "clock",
      			position: "top_left",
      			config: {
      				timeFormat: 12,
      				displaySeconds: true,
      				showPeriod: true,
      				clockBold: false,
      			}
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "Auckland",
      				locationID: "2193733",
      				appid: "#REMOVED#",
      				roundTemp: true,
      				degreeLabel: true,
      				animationSpeed: 1000,
      				showWindDirection: true,
      				showHumidity: true,
      				useBeaufort: false,
      				initialLoadDelay: 0,
      				retryDelay: 2500
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			config: {
      				location: "Auckland",
      				locationID: "2193733",
      				appid: "#REMOVED#",
      				roundTemp: true,
      				maxNumberOfDays: 7,
      				showRainAmount: true,
      				updateInterval: 600000,
      				animationSpeed: 1000,
      				fade: true,
      				fadePoint: 0.25,
      				initialLoadDelay: 2500,
      				retryDelay: 2500,
      				colored: true
      			}
      		},
      		{
      			module: "email",
      			position: "bottom_left",
      			header: "Email",
      			config: {
      				user: "#REMOVED#@gmail.com",
      			        password: "#REMOVED#",
      				host: "imap.google.com"
      			}
      		},
      		{
      			module: "MMM-Todoist",
      			position: "top_left",
      			header: "Assignments",
      			config: {
      				accessToken: "#REMOVED#",
      				lists: [ #REMOVED# ]
      			}
      		},
      		{
      			module: "MMM-RottenTomatoes",
      			position: "bottom-right",
      			config: {
      				showHeader: true,
      				showBoxOffice: true,
      				showOpeningThisWeek: true,
      				showComingSoon: true,
      				limitBoxOffice: 3,
      				limitOpeningThisWeek: 4,
      				limitComingSoon: 3,
      				boxOfficeAfter: true,
      				mergeOpeningAndComingSoon: true
      			}
      		},
      		{
      			module: "calendar",
      			header: "Menu",
      			position: "bottom-left",
      			config: {
      				maximumEntries: 3,
      				maximumNumberOfDays: 7,
      				displaySymbol: true,
      				defaultSymbol: cutlery,
      				maxTitleLength: 50,
      				wrapEvents: false,
      				fetchInterval: 300000,
      				animationSpeed: 2000,
      				fade: false,
      				timeFormat: relative,
      				getRelative: 3,
      				colored: false,
      				calendars: [
      				        {
      						url: "https://calendar.google.com/calendar/ical/#REMOVED#%40group.calendar.google.com/public/basics.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "NZ Herald",
      						url: "http://rss.nzherald.co.nz/rss/xml/nzhrsscid_000000001.xml",
      					},
      				]
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by

        @efk4 said in Certain Modules Making Screen Blank:

        everything after weatherforecast is the stuff that doesn’t work - I’ve also removed all of my info.

        What I would do is just add one at a time make sure that one works then add your next…

        I did put it through a validator and it failed at this one ->

        {
        module: “MMM-Todoist”,
        position: “top_left”,
        header: “Assignments”,
        config: {
        accessToken: “#REMOVED#”,
        lists: [ #REMOVED# ]
        }
        },

        E 1 Reply Last reply Reply Quote 1
        • E Offline
          efk4 @cowboysdude
          last edited by

          @cowboysdude That’s the way I originally did it - I added them one at a time. Even individually, they still made the same thing happen. Thanks for letting me know about the Todoist one, though - I’ll have to take a closer look at it, or more likely just take it out entirely.

          I even went as far as to add the default calender code from the original config.js.sample file instead of my own - but that made the same thing happen too. Could it be something to do with the module coding? Or the way it’s trying to access the information from the internet?

          cowboysdudeC 1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @efk4
            last edited by

            @efk4 I’m thinking no. Are you running MM 2.1.1?

            1 Reply Last reply Reply Quote 1
            • E Offline
              efk4
              last edited by efk4

              @cowboysdude I believe so? I downloaded Magic Mirror 3 days ago, so I’m assuming I’m running the latest version.

              cowboysdudeC 1 Reply Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer @efk4
                last edited by

                @efk4 OK well that’s interesting … I don’t see anything there that would cause that. Did you get a clean install without errors when you installed MagicMirror?

                E 1 Reply Last reply Reply Quote 1
                • E Offline
                  efk4 @cowboysdude
                  last edited by

                  @cowboysdude Yeah, as far as I can tell everything went fine.

                  1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by

                    Ok do this… keep your config.js and rename it to config.bak

                    Take the config.js.sample file and copy it to config.js and restart…

                    If everything runs fine then we go from there one module at a time to figure out which one is causing the issue for you.

                    E 1 Reply Last reply Reply Quote 1
                    • E Offline
                      efk4 @cowboysdude
                      last edited by

                      @cowboysdude I’ve done that, but it’s still doing the same thing.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        efk4
                        last edited by efk4

                        This has been driving me crazy for a couple of days now - if we can’t find a solution, would it be worth me starting over? As in, completely re-formatting my SD card, reinstalling Magic Mirror and all? I may not have formatted my SD card correctly the first time, which is making me wonder if that’s the issue.

                        I’m only a few days into doing this, so it wouldn’t be that big a deal if it were likely to fix it.

                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                        • cowboysdudeC Offline
                          cowboysdude Module Developer @efk4
                          last edited by

                          @efk4 You’re not getting any errors so it’s hard to tell why it’s happening… would love to take a look at your setup…

                          E 1 Reply Last reply Reply Quote 1
                          • E Offline
                            efk4 @cowboysdude
                            last edited by

                            @cowboysdude What’s annoying me the most is the fact that I haven’t altered anything major in the code - it’s pretty much all as downloaded. The only thing I’ve changed is main.css, when I changed the background from black to a picture.

                            Thank you for taking a look at it and giving me advice - I think I’m just going to start over and hope for the best. Thanks for your time!

                            cowboysdudeC 1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer @efk4
                              last edited by

                              @efk4 Yeah that’s a good idea. It’s never a good idea to change any of the files…

                              Next time use the custom.css to enter your background… You may have created an issue you aren’t aware of and CSS either works or doesn’t… doesn’t throw too many errors LOL

                              1 Reply Last reply Reply Quote 2
                              • E Offline
                                efk4
                                last edited by

                                Oh, awesome thank you. I wasn’t too sure whether to use custom.css or main.css - obviously I made the wrong choice haha. Thank you for the advice :)

                                cowboysdudeC 1 Reply Last reply Reply Quote 1
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @efk4
                                  last edited by

                                  @efk4 trial and error my friend… trial and error LOL

                                  1 Reply Last reply Reply Quote 2
                                  • E Offline
                                    efk4
                                    last edited by

                                    I redid everything and followed the step-by-step tutorial in the forum, and it all works perfectly now! Thanks so much for your help!

                                    cowboysdudeC 1 Reply Last reply Reply Quote 1
                                    • cowboysdudeC Offline
                                      cowboysdude Module Developer @efk4
                                      last edited by

                                      @efk4 Glad you got it working. I’m thinking something didn’t take when you installed it the first time :)

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