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.

    Starter problem

    Scheduled Pinned Locked Moved Troubleshooting
    73 Posts 8 Posters 73.5k Views 5 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.
    • K Offline
      kurt @strawberry 3.141
      last edited by

      @strawberry-3.141
      fine , is on my list :)

      1 Reply Last reply Reply Quote 0
      • K Offline
        kurt @strawberry 3.141
        last edited by paviro

        @strawberry-3.141
        Hallo strawberry
        Can you pleas tell me whats wrong with my config.js
        By now nothing is shown. I wanted to impement the W.Linien modul, but also the weatherforcast was not shown.
        Thank you in advance
        Kurt

        /* 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: 'de',
        	timeFormat: 24,
        	units: 'metric',
        
        	modules: [
        		{
                              module: "MMM-WienerLinien",
                              position: "top_left",
                              config: {
                                   api_key: "NZXDPzyd3QsAtTCT",
                                   stations: ["142", "141"],
                },
        
        		{
        			module: 'alert',
        		},
        		{
        			module: "updatenotification",
        			position: "top_bar"
        		},
        		{
        			module: 'clock',
        			position: 'top_left'
        		},
        		
        	
        		{
        			module: 'compliments',
        			position: 'lower_third'
        		},
        		{
        			module: 'currentweather',
        			position: 'top_right',
        			config: {
        				location: 'Vienna Austria',
        				locationID: '',  //ID from http://www.openweathermap.org
        				appid: 'xxxxxxxxxxxxxxxxxxx'
        			}
        		},
        		{
        			module: 'weatherforecast',
        			position: 'top_right',
        			header: 'Das Wetter',
        			config: {
        				location: 'Vienna Austria',
        				locationID: '5128581',  //ID from http://www.openweathermap.org
        				appid: 'xxxxxxxxxxxxxxxxxxx'
        			}
        		},
        		{
        			module: 'newsfeed',
        			position: 'bottom_bar',
        			config: {
        				feeds: [
        					{
        						title: "Der Standard",
        						url: "http://derstandard.at/?page=rss&ressort=Seite1"
        					}
        				],
        				showSourceTitle: true,
        				showPublishDate: true
        			}
        		},
        	]
        
        };
        
        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== 'undefined') {module.exports = config;}
        

        Note from admin: Please use Markdown on code snippets for easier reading!

        in_a_daysI 2 Replies Last reply Reply Quote 0
        • in_a_daysI Offline
          in_a_days @kurt
          last edited by in_a_days

          @kurt

          You’re missing a } here

          {
                        module: "MMM-WienerLinien",
                        position: "top_left",
                        config: {
                             api_key: "xxxxxxxxxxx",
                             stations: ["142", "141"],
          },
          

          should be

          {
                        module: "MMM-WienerLinien",
                        position: "top_left",
                        config: {
                             api_key: "xxxxxxxxxxx",
                             stations: ["142", "141"],
                        }
          },
          

          Could be other issues, but check that out first :)

          What ship would bear me ever back across so wide a Sea?

          K FrühstückF 2 Replies Last reply Reply Quote 2
          • in_a_daysI Offline
            in_a_days @kurt
            last edited by in_a_days

            @kurt

            Also, it’s a good idea to remove your personal API codes when sharing your config file(s).

            What ship would bear me ever back across so wide a Sea?

            1 Reply Last reply Reply Quote 0
            • K Offline
              kurt @in_a_days
              last edited by

              Thank you @in_a_days
              I copied your answer into the right place, but the screen stays black.

              in_a_daysI 1 Reply Last reply Reply Quote 0
              • in_a_daysI Offline
                in_a_days @kurt
                last edited by in_a_days

                @kurt

                You’re welcome, did you re-start the mirror program after changing the config file?

                What ship would bear me ever back across so wide a Sea?

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kurt @in_a_days
                  last edited by

                  @in_a_days
                  Yes with strg R on the raspi

                  in_a_daysI 1 Reply Last reply Reply Quote 0
                  • in_a_daysI Offline
                    in_a_days @kurt
                    last edited by

                    @kurt

                    Hmm. I’ll test your config.js on my system and see if I can isolate the problem.

                    What ship would bear me ever back across so wide a Sea?

                    K 1 Reply Last reply Reply Quote 0
                    • K Offline
                      kurt @in_a_days
                      last edited by

                      @in_a_days
                      wow thanks a lot

                      1 Reply Last reply Reply Quote 0
                      • yawnsY Offline
                        yawns Moderator
                        last edited by

                        Did you run npm install in the MMM-WienerLinien folder?

                        K 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 2 / 8
                        • 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