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 14.6k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @IDCreate
      last edited by

      @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 Reply Quote 1
      • I Offline
        IDCreate @Mykle1
        last edited by

        @Mykle1 ok thanks going there as we speak

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

          @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 Reply Quote 1
          • I Offline
            IDCreate @Mykle1
            last edited by

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

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

              @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 Reply Quote 2
              • I Offline
                IDCreate @Mykle1
                last edited by

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

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

                  @IDCreate

                  post any errors from your terminal

                  Create a working config
                  How to add modules

                  I 1 Reply Last reply Reply Quote 0
                  • I Offline
                    IDCreate @Mykle1
                    last edited by

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

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

                      @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 Reply Quote 0
                      • I Offline
                        IDCreate @Mykle1
                        last edited by

                        @Mykle1 ok I just thought it was a case of save the config.js and it would come up.
                        I’ll do that now

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

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

                          ok I just thought it was a case of save the config.js and it would come up.

                          Yes, save the config, but then restart your MM

                          Create a working config
                          How to add modules

                          I 1 Reply Last reply Reply Quote 1
                          • I Offline
                            IDCreate @Mykle1
                            last edited by IDCreate

                            @Mykle1 Oh wow it’s working! :-) The time in the top right above the weather bit says 7.02am where the actual correct time on the left of the screen is 1.04am. Thanks I’m well pleased, its a start.

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

                              @IDCreate

                              That is the sunrise time. Notice the little icon that looks like a sunrise next to it. After sunrise you will get the sunset time and a sunset icon

                              Create a working config
                              How to add modules

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

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

                                Oh wow it’s working! :-)

                                Ahh, the sweet sound of success! :-)

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  IDCreate @Mykle1
                                  last edited by

                                  @Mykle1 oh right ok haha, in that case I think I’ll call it a night for now and get some sleep. You’ve been an absolutely great help, I hope I’ve not been to much trouble. I’m not sure what time it is there but you certainly deserve a drink. :-)

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

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

                                    you certainly deserve a drink. :-)

                                    Good idea! Sleep well, mate

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