MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Location ID

    Bug Hunt
    5
    7
    2205
    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
      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
        robiv8 last edited by

        show us your config for the weather

        1 Reply Last reply Reply Quote 0
        • S
          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
            soccer19 last edited by

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

            Mykle1 1 Reply Last reply Reply Quote 0
            • Mykle1
              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
                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
                  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
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy