• 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.

need help with config file

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 7 Posters 25.3k Views 7 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.
  • A Offline
    abdullah
    last edited by Jun 7, 2016, 10:22 PM

    Thanks a lot man! Could you also tell me how to set weather? it says i “Please set the correct openweather appid in the config for module:current weather”

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Jun 7, 2016, 10:32 PM

      You might want to read the README on the module:
      https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather

      Basically, you need to go get your own API key for that to work.

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 1
      • A Offline
        abdullah
        last edited by Jun 8, 2016, 1:56 AM

        Thanks! could you tell me how to fix the time? for some odd reason the time is different.

        1 Reply Last reply Reply Quote 0
        • K Offline
          KirAsh4 Moderator
          last edited by Jun 8, 2016, 3:57 AM

          Which time? What’s displayed above the weather portion isn’t the current time, it’s showing you when the sun sets or rises.

          A Life? Cool! Where can I download one of those from?

          1 Reply Last reply Reply Quote 0
          • C Offline
            csdesign3 @Mate3
            last edited by Mar 6, 2017, 5:44 PM

            @Mate3 How about to edit the config.js file. I’ve tried to acess but i cant.

            M 1 Reply Last reply Mar 6, 2017, 7:12 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @csdesign3
              last edited by Mar 6, 2017, 7:12 PM

              @csdesign3
              I was just like you a few weeks ago. I didn’t know a thing about this, or coding. A complete noob, as they say. My suggestion, because it helped me, is, don’t do your editing in the terminal. Do it in the graphical user interface (GUI). Navigate your desktop as you would on a PC with Windows or a Mac’s Finder.

              Click on File Manager (the folder at the top left of your desktop, usually)
              Double click the MagicMirror folder
              Double click the config folder
              Right click the config.js.sample file - select Copy
              Right click again somewhere else in that same window - select Paste
              Rename the file to config.js and click the Rename button
              The new config.js file that you just pasted is now your working config file for MagicMirror
              Double click it and it should open in a text editor.

              This is one of the places where you will customize your MM. It’s actually good enough to run your MM, although it will only show some of the modules but you’ll be encouraged by the fact that it is at least working. Every module folder has a ReadMe file that instructs you on what to add to your config.js file to get that module up and running.

              I think that’s good for now. If you want to run MM right now to see how your new config.js is working you will have to go back to the terminal. Do this:

              Open a new terminal
              type cd MagicMirror
              then type npm start

              Sit back and watch the magic happen. When you calm down after a minute or two of watching your MM actually working and you want to quit MM, press the Option key on your keyboard. Select QUIT from File menu that appears, top left of your screen

              Create a working config
              How to add modules

              C D 3 Replies Last reply Mar 7, 2017, 2:04 PM Reply Quote 1
              • C Offline
                csdesign3 @Mykle1
                last edited by Mar 7, 2017, 2:04 PM

                @Mykle1 I there

                From 2 days of exploring i’m feeling more confortable playing with config.js via SSH. Yesterday i feel very lost because my inexperience with comand line in linux, but reading some forums here and there and with some help from varius users.

                Right now i have the Magic Mirror Running with any major problems. My concern is, i’ve doing something wrong, because PM2 doesn’t autorun at boot of raspberry, and i i have to have the graphical Debian running to MagicMirror showing of, but far from there it’s just acess SSH and pm2 start mm.sh and it runs without problem.

                Right now i’m looking the best way to:

                • Know all possible locations of content in screen (Top_left, top, right, bottom… etc);
                • The best way to transfer files (jpg, txt, etc), usb flash drive is not a option, because in the future the display and raspberry will be placed in a wall without direct easy acess;
                • Find more modules to: slide show images or videos.

                thanks again for the help :-)
                best regards carlos

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dmrowe84 @Mykle1
                  last edited by Mar 20, 2017, 3:08 AM

                  @Mykle1 I’m trying to make a MM for my wife, I’ve got everything ok, except the weather module, it just doesn’t show up on the screen, I’ve input my aapid and location id, and still won’t show. I’m in the middle of wiping and reflashing it now, was wondering if I could contact you with any questions of it still doesn’t work after this reflash, or with you had any advice?

                  M 1 Reply Last reply Mar 20, 2017, 12:06 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @dmrowe84
                    last edited by Mykle1 Mar 20, 2017, 12:06 PM Mar 20, 2017, 12:06 PM

                    @dmrowe84 said in need help with config file:

                    I’m in the middle of wiping and reflashing it now,

                    Don’t wipe and reflash every time a module doesn’t work. Most likely you could have gotten help here on the forums. So, ask first before you take that step again. :-)

                    was wondering if I could contact you with any questions of it still doesn’t work after this reflash, or with you had any advice?

                    Sure, this is the place to ask your questions and get answers. If I can’t help you, there are many helpful people here that can, and will. :-)

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dmrowe84 @Mykle1
                      last edited by Mar 21, 2017, 12:59 AM

                      This post is deleted!
                      M 1 Reply Last reply Mar 21, 2017, 2:58 AM 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