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 92.0k 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.
    • I
      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
        kurt @in_a_days
        last edited by

        @in_a_days
        Yes with strg R on the raspi

        I 1 Reply Last reply
        Reply Quote 0
        • I
          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
            kurt @in_a_days
            last edited by

            @in_a_days
            wow thanks a lot

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

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

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

                @yawns
                no ! how can I do this?

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

                  @kurt

                  From a new terminal session:

                  cd MagicMirror/modules/MMM-WienerLinien

                  npm install

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

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

                    @in_a_days
                    the installation went well, but when I try to reboot the booting logo appears shortly, but thats it.
                    But into the MM folder there are two config folder now, one .config and one config
                    Either I didn’t recogbize that bevor, or one is new.

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

                      @kurt

                      Just wanted to check in. I tried to copy the config.js you posted and I had some problems as well. I’m a bit busy today, but I have some ideas and if you’re still stuck I’ll try to have a solution for you tomorrow. :)

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

                      K 1 Reply Last reply
                      Reply Quote 0
                      • K
                        kurt
                        last edited by paviro

                        Hallo
                        Has somebody an idea to help?
                        The internet connection is fine, cause the rss from the Ney York Times is shown.
                        Thank you in advance
                        kurt

                        > magicmirror@2.1.0 start /home/pi/MagicMirror
                        > electron js/electron.js
                        
                        Starting MagicMirror: v2.1.0
                        Loading config ...
                        Loading module helpers ...
                        No helper found for module: alert.
                        Initializing new module helper ...
                        No helper found for module: clock.
                        Initializing new module helper ...
                        No helper found for module: compliments.
                        No helper found for module: currentweather.
                        No helper found for module: weatherforecast.
                        Initializing new module helper ...
                        All module helpers loaded.
                        Starting server op port 8080 ... 
                        Server started ...
                        Connecting socket for: updatenotification
                        Connecting socket for: calendar
                        Starting node helper for: calendar
                        Connecting socket for: newsfeed
                        Starting module: newsfeed
                        Sockets connected & modules started ...
                        Whoops! There was an uncaught exception...
                        { Error: listen EADDRINUSE :::8080
                            at Object.exports._errnoException (util.js:1026:11)
                            at exports._exceptionWithHostPort (util.js:1049:20)
                            at Server._listen2 (net.js:1253:14)
                            at listen (net.js:1289:10)
                            at net.js:1399:9
                            at _combinedTickCallback (internal/process/next_tick.js:77:11)
                            at process._tickCallback (internal/process/next_tick.js:98:9)
                            at Module.runMain (module.js:592:11)
                            at run (bootstrap_node.js:402:7)
                            at startup (bootstrap_node.js:157:9)
                          code: 'EADDRINUSE',
                          errno: 'EADDRINUSE',
                          syscall: 'listen',
                          address: '::',
                          port: 8080 }
                        MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        Launching application.
                        

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

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

                          @kurt this means probably that there is already an instance of magicmirror running on your pi because the port is already used

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

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

                            @strawberry-3.141
                            Thank you strawberry, but how about this now?

                            pi@raspberrypi:~ $ DISPLAY=:0 npm start
                            npm ERR! Linux 4.4.38-v7+
                            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
                            npm ERR! node v6.9.4
                            npm ERR! npm  v3.10.10
                            npm ERR! path /home/pi/package.json
                            npm ERR! code ENOENT
                            npm ERR! errno -2
                            npm ERR! syscall open
                            
                            npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                            npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                            npm ERR! enoent This is most likely not a problem with npm itself
                            npm ERR! enoent and is related to npm not being able to find a file.
                            npm ERR! enoent 
                            
                            npm ERR! Please include the following file with any support request:
                            npm ERR!     /home/pi/npm-debug.log
                            

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

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

                              @kurt you are in the wrong directory again :D

                              cd ~MagicMirror first

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

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

                                @strawberry-3.141
                                Sorry , but now get the starting logo with the" Please create a config file"
                                Thank you

                                pi@raspberrypi:~ $ cd ~/MagicMirror 
                                pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
                                
                                > magicmirror@2.1.0 start /home/pi/MagicMirror
                                > electron js/electron.js
                                
                                Starting MagicMirror: v2.1.0
                                Loading config ...
                                WARNING! Could not find config file. Please create one. Starting with default configuration.
                                Loading module helpers ...
                                Initializing new module helper ...
                                No helper found for module: helloworld.
                                All module helpers loaded.
                                Starting server op port 8080 ... 
                                Server started ...
                                Connecting socket for: updatenotification
                                Sockets connected & modules started ...
                                Launching application.
                                

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

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

                                  @kurt are you sure you have a config file in /home/pi/MagicMirror/config

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

                                  K 2 Replies Last reply
                                  Reply Quote 0
                                  • K
                                    kurt @strawberry 3.141
                                    last edited by

                                    @strawberry-3.141 I’m allready working on that mistake.
                                    you a right, don’t know who took this fike from that place.
                                    Change the config, file and place over there.
                                    Mystery…
                                    Thanks
                                    Kurt

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

                                      @strawberry-3.141
                                      I’m working with File Zilla to transfer the files.
                                      By now I guess he the one who makes the config folder dissapear. Have you ever heard of something like that? or can you recommend an other tool to upload files? I tried Cyberduck, but won’t work.
                                      Thanks

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

                                        @kurt im using filezilla or an usb stick

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

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

                                          @strawberry-3.141
                                          Anyway, I copied the folder again to the pi.
                                          calender, changed compliments and newsfeed appear.
                                          Do you have an idea, why the weather and the forecast dont show?
                                          Thanks

                                          /* 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: 'alert',
                                          		},
                                          		{
                                          			module: "updatenotification",
                                          			position: "top_bar"
                                          		},
                                          		{
                                          			module: 'clock',
                                          			position: 'top_left'
                                          		},
                                          		{
                                          			module: 'calendar',
                                          			header: 'US Holidays',
                                          			position: 'top_left',
                                          			config: {
                                          				calendars: [
                                          					{
                                          						symbol: 'calendar-check-o ',
                                          						url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                                          					}
                                          				]
                                          			}
                                          		},
                                          		{
                                          			module: 'compliments',
                                          			position: 'lower_third'
                                          		},
                                          		{
                                          			module: 'currentweather',
                                          			position: 'top_right',
                                          			config: {
                                          				location: 'Vienna',
                                          				locationID: '2761369',  //ID from http://www.openweathermap.org
                                          				appid: 'xxxxxxxxxxxxxxxxxx'
                                          			}
                                          		},
                                          		{
                                          			module: 'weatherforecast',
                                          			position: 'top_right',
                                          			header: 'Das Wetter',
                                          			config: {
                                          				location: 'Vienna',
                                          				locationID: '2761369',  //ID from http://www.openweathermap.org
                                          				appid: 'xxxxxxxxxxxxxxxxx'
                                          			}
                                          		},
                                          		{
                                          			module: 'newsfeed',
                                          			position: 'bottom_bar',
                                          			config: {
                                          				feeds: [
                                          					{
                                          						title: "Der Standard",
                                          						url: "http://derStandard.at/?page=rss&ressort=Seite1"
                                          					}
                                          				],
                                          				showSourceTitle: true,
                                          				showPublishDate: true
                                          			}
                                          		},
                                          	]
                                          
                                          };
                                          
                                          

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

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

                                            @kurt do you get any errors in the terminal, maybe your api key is incorrect etc.

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

                                            K 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
                                            • 2 / 4
                                            • 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