• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 65.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 paviro Jan 20, 2017, 7:41 PM Jan 19, 2017, 7:06 PM

    @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!

    I 2 Replies Last reply Jan 19, 2017, 7:08 PM Reply Quote 0
    • I Offline
      in_a_days @kurt
      last edited by in_a_days Jan 19, 2017, 7:13 PM Jan 19, 2017, 7:08 PM

      @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 F 2 Replies Last reply Jan 19, 2017, 7:18 PM Reply Quote 2
      • I Offline
        in_a_days @kurt
        last edited by in_a_days Jan 19, 2017, 7:18 PM Jan 19, 2017, 7:12 PM

        @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 Jan 19, 2017, 7:18 PM

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

          I 1 Reply Last reply Jan 19, 2017, 7:21 PM Reply Quote 0
          • I Offline
            in_a_days @kurt
            last edited by in_a_days Jan 19, 2017, 7:22 PM Jan 19, 2017, 7:21 PM

            @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 Jan 19, 2017, 7:23 PM Reply Quote 0
            • K Offline
              kurt @in_a_days
              last edited by Jan 19, 2017, 7:23 PM

              @in_a_days
              Yes with strg R on the raspi

              I 1 Reply Last reply Jan 19, 2017, 7:26 PM Reply Quote 0
              • I Offline
                in_a_days @kurt
                last edited by Jan 19, 2017, 7:26 PM

                @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 Jan 19, 2017, 7:26 PM Reply Quote 0
                • K Offline
                  kurt @in_a_days
                  last edited by Jan 19, 2017, 7:26 PM

                  @in_a_days
                  wow thanks a lot

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    yawns Moderator
                    last edited by Jan 19, 2017, 7:49 PM

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

                    K 1 Reply Last reply Jan 19, 2017, 7:57 PM Reply Quote 0
                    • K Offline
                      kurt @yawns
                      last edited by Jan 19, 2017, 7:57 PM

                      @yawns
                      no ! how can I do this?

                      I 1 Reply Last reply Jan 19, 2017, 8:00 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 3 / 8
                      3 / 8
                      • First post
                        22/73
                        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