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

Copy and paste of text to nano config/config.js

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 2 Posters 11.7k Views 2 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 Offline
    IDCreate @Mykle1
    last edited by IDCreate Nov 3, 2017, 11:31 PM Nov 3, 2017, 11:28 PM

    @Mykle1 thanks that was what it looked like at the beginning and was not doing anything so I went ahead as suggested https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather

    To test things out and to get things working you mentioned I needed an api key. So I went to the section information in the module set up a copy and past there example presuming that would be a working one.

    {
    		module: "currentweather",
    		position: "top_right",	// This can be any of the regions.
    									// Best results in left or right regions.
    		config: {
    			// See 'Configuration options' for more information.
    			location: "Amsterdam,Netherlands",
    			locationID: "", //Location ID from http://openweathermap.org/help/city_list.txt
    			appid: "abcde12345abcde12345abcde12345ab" //openweathermap.org API key.
    		}
    

    But unfortunately nothing happens, I thought if I was to simply post there code in replacement for mine to test it as above it would work. :-(

    M 1 Reply Last reply Nov 3, 2017, 11:31 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @IDCreate
      last edited by Nov 3, 2017, 11:31 PM

      @IDCreate said in Copy and paste of text to nano config/config.js:

      presuming that would be a working one.

      You presume incorrectly. That is an example. You need to go to openweathermap.org and sign up for your own API key. Get your locationID there at the same time. Enter those into your config

      Create a working config
      How to add modules

      I 1 Reply Last reply Nov 3, 2017, 11:32 PM Reply Quote 1
      • I Offline
        IDCreate @Mykle1
        last edited by Nov 3, 2017, 11:32 PM

        @Mykle1 ok thanks going there as we speak

        M 1 Reply Last reply Nov 4, 2017, 12:39 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @IDCreate
          last edited by Mykle1 Nov 4, 2017, 12:42 AM Nov 4, 2017, 12:39 AM

          @IDCreate

          So. now your config entry should look like this:

          {
          	module: "currentweather",
          	position: "top_right",
          	config: {
          		location: "", // This can be empty. Leave it as is
          		locationID: "2639577",  // inside the quotes
          		appid: "YOUR API KEY GOES HERE",  // inside the quotes
          	}
          },

          Create a working config
          How to add modules

          I 1 Reply Last reply Nov 4, 2017, 12:42 AM Reply Quote 1
          • I Offline
            IDCreate @Mykle1
            last edited by Nov 4, 2017, 12:42 AM

            @Mykle1 thanks you’ve a fantastic help. I’m trying it now but If I’m unable to do something like this. I don’t know how I’m going to be able to move forward, well I will just keep trying.

            M 1 Reply Last reply Nov 4, 2017, 12:44 AM Reply Quote 1
            • M Offline
              Mykle1 Project Sponsor Module Developer @IDCreate
              last edited by Nov 4, 2017, 12:44 AM

              @IDCreate said in Copy and paste of text to nano config/config.js:

              well I will just keep trying.

              Good attitude. You’ll get it.

              Create a working config
              How to add modules

              I 1 Reply Last reply Nov 4, 2017, 12:53 AM Reply Quote 2
              • I Offline
                IDCreate @Mykle1
                last edited by Nov 4, 2017, 12:53 AM

                @Mykle1 well I’ve done all you said, entered the locationID and put in the API KEY an it looks exactly like your code. I went to save it and the screen on my main screen where the mirror displayed the time, date and more just went blank.

                M 1 Reply Last reply Nov 4, 2017, 12:54 AM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @IDCreate
                  last edited by Nov 4, 2017, 12:54 AM

                  @IDCreate

                  post any errors from your terminal

                  Create a working config
                  How to add modules

                  I 1 Reply Last reply Nov 4, 2017, 12:55 AM Reply Quote 0
                  • I Offline
                    IDCreate @Mykle1
                    last edited by Nov 4, 2017, 12:55 AM

                    @Mykle1 you mean post the code from config.js?

                    M 1 Reply Last reply Nov 4, 2017, 12:56 AM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @IDCreate
                      last edited by Nov 4, 2017, 12:56 AM

                      @IDCreate said in Copy and paste of text to nano config/config.js:

                      you mean post the code from config.js?

                      No, but you can post that too. I mean copy and paste the output from your terminal window after you’ve tried to run the mirror

                      Create a working config
                      How to add modules

                      I 1 Reply Last reply Nov 4, 2017, 12:59 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        11/23
                        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