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.

    Location ID

    Scheduled Pinned Locked Moved Bug Hunt
    7 Posts 5 Posters 3.9k Views 5 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.
    • S Offline
      soccer19
      last edited by

      I am running the PI3 and I have set up all other aspects of the mirror as well as my API for the weather. My screen still shows that I am showing “Weather forecast New York, US”. Does this mean my API is wrong or am I not finding the code in any of the files that displays this?
      0_1549463301240_smart.PNG

      Thanks,

      Don

      S 1 Reply Last reply Reply Quote 0
      • R Offline
        robiv8
        last edited by

        show us your config for the weather

        1 Reply Last reply Reply Quote 0
        • S Offline
          Seann Module Developer @soccer19
          last edited by

          @soccer19 Have you altered the location attribute in your config.js for that module? I’m sure that’s all it is. Just change location: “New York” to the name of your city.

          1 Reply Last reply Reply Quote 0
          • S Offline
            soccer19
            last edited by

            in the config.js or the weather.js>?

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

              @soccer19 said in Location ID:

              in the config.js or the weather.js>?

              In the config.js for your weatherforecast entry. If you have a header set with a location you would have to change that as well

              {
              		module: "weatherforecast",
              		position: "top_right",	// This can be any of the regions.
              		config: {
              			location: "New York, US", // Change this to your location
              			locationID: "Your location ID", // Your Location ID from http://openweathermap.org/help/city_list.txt
              			appid: "Your API Key" //openweathermap.org API key.
              		}
              	},
              

              It is not recommended that you change anything in the module.js files

              Create a working config
              How to add modules

              V 1 Reply Last reply Reply Quote -1
              • V Offline
                videogame95 @Mykle1
                last edited by

                @Mykle1 said in Location ID:

                @soccer19 said in Location ID:

                in the config.js or the weather.js>?

                In the config.js for your weatherforecast entry. If you have a header set with a location you would have to change that as well

                {
                		module: "weatherforecast",
                		position: "top_right",	// This can be any of the regions.
                		config: {
                			location: "New York, US", // Change this to your location
                			locationID: "Your location ID", // Your Location ID from http://openweathermap.org/help/city_list.txt
                			appid: "Your API Key" //openweathermap.org API key.
                		}
                	},
                

                It is not recommended that you change anything in the module.js files

                1 Reply Last reply Reply Quote 0
                • V Offline
                  videogame95
                  last edited by

                  I have pasted in google photos code mirror still working I add in next album I’d (“New Mirror” ,)
                  It’s not working any help . I tried it with out the brackets still not working.

                  1 Reply Last reply Reply Quote 0

                  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