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.

    Super nooby question- How to configure the downloaded modules and weather wont show up

    Scheduled Pinned Locked Moved Troubleshooting
    20 Posts 5 Posters 10.8k Views 4 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.
    • hartattackH Offline
      hartattack
      last edited by

      Hi Ghaal! Welcome first and foremost!

      You need to edit the config.js file. However, we first need to make sure it is created. On your pi, in the GUI, look for an icon that looks like a file folder. If you click on that, it will open a directory of your files. From there, look for the file called Magic Mirror, open that, then look for a file called Config and open that. Inside there, do you see a file that is titled config.js (don’t confuse this with the config.js.sample file)?

      Mykle1M G 2 Replies Last reply Reply Quote 1
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @ghaal
        last edited by

        @ghaal

        Do you have Teamspeak?

        Create a working config
        How to add modules

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

          @hartattack said in Super nooby question- How to configure the downloaded modules and weather wont show up:

          Hi Ghaal! Welcome first and foremost!

          You got him hart? Ok! Remember, you can use the TeamSpeak Help Desk if you want to take him there

          Create a working config
          How to add modules

          hartattackH G 2 Replies Last reply Reply Quote 0
          • hartattackH Offline
            hartattack @Mykle1
            last edited by

            @Mykle1 If it gets too complex, I will work my way over there, but I have a feeling this should be fairly simple as pointing in the right direction ;)

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

              @hartattack said in Super nooby question- How to configure the downloaded modules and weather wont show up:

              should be fairly simple as pointing in the right direction

              Riiiiiggghtt! ;-)

              At least he’s up and running.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • G Offline
                ghaal
                last edited by

                Sorry, I haven’t replied in like two weeks, but I ran into some major problems. My brother broke my HDMI cable while it was plugged into my monitor and I take to take off half the plastic to take the head out of the monitor. Then I had to put the plastic back on so it would fit in my frame again. I also had to order a new cable. But I’m here and ready to work on it thank you.

                cowboysdudeC 1 Reply Last reply Reply Quote 1
                • cowboysdudeC Offline
                  cowboysdude Module Developer @ghaal
                  last edited by

                  @ghaal Don’t feel bad so far I’ve broken a 32" tv and a 24" monitor… that’s some of the stuff I’ve broken LOL

                  1 Reply Last reply Reply Quote 1
                  • G Offline
                    ghaal @hartattack
                    last edited by

                    @hartattack Okay, I got to the config folder. I saw all my modules there and I edited the weather modules so they have the location ID an appid and clock module so it has the 12 hour format, saved, and restarted my Pi. I turned on the Pi using:

                    pi@magicpi:~ $ cd MagicMirror/config
                    pi@magicpi:~/MagicMirror/config $ cp config.js.sample config.js
                    You can now try to start MagicMirror².

                    pi@magicpi:~/MagicMirror/config $ cd $HOME/MagicMirror
                    pi@magicpi:~/MagicMirror $ npm start

                    I got that code from: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6

                    When I turned it on though, none of the edits I made were showing. The weather wasn’t showing and the clock was still in 24 hour format. When I went to the config folder none of the previous edits were there.

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • G Offline
                      ghaal @Mykle1
                      last edited by

                      @Mykle1 I don’t have it and I don’t know what it is TBH. Is it an app or an online thing, or something integrated into this forum?

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

                        @ghaal said in Super nooby question- How to configure the downloaded modules and weather wont show up:

                        When I went to the config folder none of the previous edits were there.

                        It sounds like you didn’t save the config.js after you edited it. Copy and paste your config.js here so we can take a look at it.

                        Create a working config
                        How to add modules

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

                          @ghaal said in Super nooby question- How to configure the downloaded modules and weather wont show up:

                          Is it an app or an online thing, or something integrated into this forum?

                          https://forum.magicmirror.builders/topic/2147/teamspeak-magic-mirror-help-desk

                          I don’t know if anyone is there right now but i’ll be there 3 hours from now. If you can make it then I’ll try to help you

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            ghaal @Mykle1
                            last edited by

                            @Mykle1 I will, but I can’t do that until an hour or two

                            brobergB 1 Reply Last reply Reply Quote 0
                            • brobergB Offline
                              broberg Project Sponsor @ghaal
                              last edited by

                              @ghaal this line cp config.js.sample config.js
                              Copys the sample config to the config.js file and should only be done once. If you do this everytime you start your mirror you will keep replacing your config.j s file with the sample config.

                              G 1 Reply Last reply Reply Quote 2
                              • G Offline
                                ghaal @broberg
                                last edited by

                                @broberg I don’t get it. I have not copied any file into another one (does it automatically happen?) Should I copy this file? How? I have tried editing the regular config, and haven’t touched the sample one. Should I?

                                brobergB 1 Reply Last reply Reply Quote 0
                                • brobergB Offline
                                  broberg Project Sponsor @ghaal
                                  last edited by

                                  @ghaal you copy the sample file ONCE after you have installed the mirror software.

                                  But it looked like you where repeating the copy command ( cp = copy ) before you started the mirror (npm start ) and IF you do this each time, it doesn’t matter what you have saved in the config.js file since it will be overwritten each time you type in : cp config.js.sample config.js

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    ghaal
                                    last edited by

                                    {
                                    module: “currentweather”,
                                    position: “top_right”, .
                                    config: {
                                    location: “(My city)”,
                                    locationID: "(my id) ",
                                    appid: “my appid”
                                    }
                                    }

                                    G 1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      ghaal @ghaal
                                      last edited by

                                      @ghaal that’s my weather module, but it doesn’t show up

                                      G 1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        ghaal @ghaal
                                        last edited by

                                        @ghaal {

                                        		module: "currentweather",
                                        
                                        		position: "top_right",
                                        
                                        		config: {
                                        
                                        			location: "Irvine",
                                        
                                        			locationID: "5359777",
                                        
                                        			appid: "ee6dbcc4823bb3f9a7f26c49fa64729c"
                                        
                                        		}
                                        
                                        	},
                                        
                                        	{
                                        
                                        		module: "weatherforecast",
                                        
                                        		position: "top_right",
                                        
                                        		header: "Weather Forecast",
                                        
                                        		config: {
                                        
                                        			location: "BlahBlah",
                                        
                                        			locationID: "####",
                                        
                                        			appid: "blahblahblah"
                                        
                                        		}
                                        

                                        that’s a more accurate of focast and current, both don’t show on the magicmirror page. I made sure not to add extra spaces when removing my appid and location.

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

                                          @ghaal said in Super nooby question- How to configure the downloaded modules and weather wont show up:

                                          that’s a more accurate of focast and current, both don’t show on the magicmirror page. I made sure not to add extra spaces when removing my appid and location.

                                          Here it is! You can copy and paste right from here into your config

                                                        {
                                          		module: "currentweather",
                                          		position: "top_right",
                                          		config: {
                                          			location: "Irvine",
                                          			locationID: "5359777",
                                          			appid: "YOUR API KEY"
                                          		}
                                          		},
                                          		{
                                          		module: "weatherforecast",
                                          		position: "top_right",
                                          		header: "Weather Forecast",
                                          		config: {
                                          			location: "Irvine",
                                          			locationID: "5359777",
                                          			appid: "YOUR API KEY"
                                          		}
                                          		}, // end of weatherforecast entry needs a comma
                                          

                                          Create a working config
                                          How to add modules

                                          1 Reply Last reply Reply Quote 1

                                          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 / 1
                                          • 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