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.

    Something is wrong ....

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 4 Posters 7.0k Views 3 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.
    • P Offline
      Peter
      last edited by

      Unfortunately the problem is not solved.
      Maybe somebody can have a look at my config.js?

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "nl",
      	timeFormat: 24,
      	units: "metric",
      
      
      	modules: [
      		
      		{
      			module: 'MMM-WatchDog',
      			config: {
      			// See 'Configuration options' for more information.
      		}
      	},
      		{
      			module: 'mmm-systemtemperature',
      			position: 'top_center',	// This can be any of the regions.
      			classes: 'xsmall dimmed', // Add your own styling. Optional.
      			config: {
      			// See 'Configuration options' for more information.
      		}
      	},
      		{
      			module: 'mmm-wu-moonphase',
      			header: '',   // optionally you can add a header to this block
      			position: 'top_center',  // this can be any of the regions.   
      			config: {
      			// See 'Configuration options' for more information.
      			apikey: 'xxxxxxxxxxxx',
      			country: 'Nederland',
      			city: 'Apeldoorn',
      			apiLang: 'NL',
      			
      		}
      		},		 		
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      				module: 'calendar_monthly',
      				position: 'top_left',
      				config: {
      						// The config property is optional
      						// Without a config, a default month view is shown
      						// Please see the 'Configuration Options' section for more information
      				}
      			},
      		{
      			module: "calendar",
      			header: "Feestdagen en agenda",
      			position: "top_left",
      			config: {
      				maximumEntries: '10',
      				timeFormat: 'absolute',
      				urgency: 0,
      				getRelative: 0,
      				dateFormat: 'D MMM',
      				fullDayEventDateFormat: 'D MMM',
      				fadePoint: 0.50, // Start on 1/4th of the list.
      				calendars: [
      				{
      				symbol: 'calendar-check-o ',
      				url: 'https://www.mozilla.org/media/caldata/DutchHolidays.ics'
      				},
      				{
          				symbol: 'flag-checkered',
          				url: 'http://localhost:8080/MMM-Formula1/schedule.ics',
      				},
      				{
      				symbol: 'university ',
      				url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-5926e1a950f5588d305e66d8b0af0cfa/basic.ics'
      				},
      				{
      				url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-754f959bc1afb34da4f5ec42e92b1d01/basic.ics'
      			},
      				{
      				symbol: 'birthday-cake ',
      				url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgroup.calendar.google.com/private-2f98381b817baa8eb5bce7f11ac22120/basic.ics'
      			},
      				]
      			}
      		},
      		{
      			module: "MMM-MovieListings",
      			position: "bottom_left",
        				// Default module config.
      				defaults: {
          				apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxx',
      				region: 'NL',
          				language: 'en-EN',
          				interface: 'poster', //'list', 'poster', 'detailed'
          				includeMoviePlot: false,
          				maxPlotLength: 198,
          				header: 'Nu in de bioscoop',
          				moviesPerPage: 0,
          				refreshInterval: 1000 * 60 * 60 * 24, //Once a day
          				baseUrl: 'https://api.themoviedb.org/3/movie/now_playing',
          				animationSpeed: 2.5 * 1000,
          				pageChangeInterval: 30 * 1000
      		}		
      		},
      		
      		{
          			disabled: false,
          			module: 'MMM-NOAA',
          			position: 'top_right',
          			config: {
      
      			apiKey: "xxxxxxxxxxxxxxxxxx",    // https://www.wunderground.com/weather/api  select the middle plan... 
      			useAir: true,             // set to false if you do not want to use Air Quality Index
      			airKey: "xxxxxxxxxxxxxx",    // IF you want Air Quality Index
      			pws: "xxxxxxxxxx",         // go here to find your pws: https://www.wunderground.com/wundermap
      			showClock: false,           // Hides or shows clock
      			dformat: false,             // for M/D/YYYY format, false for D/M/YYYY
      			format: "24",              // 12 or 24 hour format.. will default to 12 hour if none selected.
      			ampm: false,                // to show AM and PM on Sunrise/Sunset time
      			showGreet: true,          // deafult is false - to show greeting under clock and above date
      			name: "xxxxxxxx",                  // Your name
      			showWind: true,
      			showDate: false,
      			showForecast: true,         //show bottom 3 day forecast
      			flash: true,                 //Today in forecast flashes halo
      			showUV: true,               //show UV index
              		showBar: true,             // show Barometer
              		showHum: true,              //show Humidity level
      			position: 'top_right',       //whatever you have in above position must also be here
              		alert: true                //show weather alerts default is true
      		}
      		},
      				
      		{
              		module: 'MMM-Formula1',
              		position: 'top_right',
              		header: 'Formule 1 Classificatie',
              		config: {
      			maxRows: 6,
      			season: 'current',
              		calendar: true,
              		fade: false,
              		fadePoint: 0.2,
      			grayscale: false,
                  		// Optional configuration options - see https://github.com/ianperrin/MMM-Formula1#configuration-options
              	}
          		},
      
      		{
      			module: "MMM-ImagesPhotos",
      			position: "bottom_right",
      			header: "Onze reizen door xxxxxxxxxxxxxx .................",
      			config: {
      			opacity: 1,
      			animationSpeed: 5000,
      			updateInterval: 50000,
      			maxWidth: "100%",
      			maxHeight: "100%",
      		}
      		},
      				
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "Algemeen Dagblad",
      						url: "http://www.ad.nl/home/rss.xml"
      					},
      					{
      						title: "Telegraaf",
      						url: "http://www.telegraaf.nl/rss/"
      					},
      					{
      						title: "Trouw",
      						url: "https://www.trouw.nl/home/rss.xml"
      					},
      					{
      						title: "Volkskrant",
      						url: "https://www.volkskrant.nl/nieuws-voorpagina/rss.xml"
      					},
      					{
      						title: "Nu.nl",
      						url: "http://www.nu.nl/rss/Algemeen"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      

      Thanks!
      Peter

      1 Reply Last reply Reply Quote 0
      • cruunnerrC Offline
        cruunnerr
        last edited by cruunnerr

        Thats not what u promised ;)

        You wanted to show your logs.

        Your config is ok. Maybe its one of your modules. U have to try out by disabling them step by step or maybe in blocks.

        Or try to run just default modules.

        But first post your logs. i have been asking for it since the last 3 posts :D

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          Peter @cruunnerr
          last edited by

          @cruunnerr , shame on me, you are right!
          This is my error log:

          /home/pi/.pm2/logs/MagicMirror-error-0.log last 15 lines:
          0|MagicMir | npm ERR! 
          0|MagicMir | npm ERR! Failed at the magicmirror@2.2.2 start script 'sh run-start.sh'.
          0|MagicMir | npm ERR! Make sure you have the latest version of node.js and npm installed.
          0|MagicMir | npm ERR! If you do, this is most likely a problem with the magicmirror package,
          0|MagicMir | npm ERR! not with npm itself.
          0|MagicMir | npm ERR! Tell the author that this fails on your system:
          0|MagicMir | npm ERR!     sh run-start.sh
          0|MagicMir | npm ERR! You can get information on how to open an issue for this project with:
          0|MagicMir | npm ERR!     npm bugs magicmirror
          0|MagicMir | npm ERR! Or if that isn't available, you can get their info via:
          0|MagicMir | npm ERR!     npm owner ls magicmirror
          0|MagicMir | npm ERR! There is likely additional logging output above.
          0|MagicMir | 
          0|MagicMir | npm ERR! Please include the following file with any support request:
          0|MagicMir | npm ERR!     /home/pi/MagicMirror/npm-debug.log
          
          
          
          
          

          Peter

          1 Reply Last reply Reply Quote 0
          • cruunnerrC Offline
            cruunnerr
            last edited by

            no need to shame ;)
            i have had this problem, too.

            Since i played around with new modules and deleted other modules it doesn’t comes up again.

            we discussed that issue already here

            I can’t help u, but maybe it really helps if you would uncomment modules step by step (maybe two at the same time) and wait if the error comes up again.

            I know, that will take a while, but for me it would be the choice how to solve it.

            I have no other idea, i am sorry :(

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Peter @cruunnerr
              last edited by

              @cruunnerr OK, I will follow your advice.
              And what to do when I find the module that is causing the ploblem?
              Delete it and install it again?
              I love all the modules that I use now, so it would be bad not to have them.
              Peter

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

                @Peter said in Something is wrong ....:

                And what to do when I find the module that is causing the ploblem?

                Create a new topic asking for help with that specific module that is causing problems. If the issue can be resolved then someone will help you. Or, tragically, if the issue can not be resolved, you may have to live without it. :-)

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Peter
                  last edited by

                  Maybe I found the problem; I think ImagePhotos caused the problem, but not the module but the pictures I used.
                  I had 70 high resolution holiday pictures roulating in the module and every now and then a picture had problems to load.
                  Some pictures were over 6mb.
                  I reseized a lot of pictures and am running over 2000 pictures now without problems (every picture is about 100kb).
                  Pictures are loading much smoother now.
                  Maybe this helps other people too!
                  Peter

                  1 Reply Last reply Reply Quote 0
                  • cruunnerrC Offline
                    cruunnerr
                    last edited by cruunnerr

                    I am glad u found out what causes your problem :D

                    Yeah, the RPi is very limited in processor power. That is the reason, why some users went over to old laptops or small x86 solutions :)

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    • 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