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