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

Location ID

Scheduled Pinned Locked Moved Bug Hunt
7 Posts 5 Posters 3.2k 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 Feb 6, 2019, 2:28 PM

    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 Feb 6, 2019, 4:22 PM Reply Quote 0
    • R Offline
      robiv8
      last edited by Feb 6, 2019, 2:36 PM

      show us your config for the weather

      1 Reply Last reply Reply Quote 0
      • S Offline
        Seann Module Developer @soccer19
        last edited by Feb 6, 2019, 4:22 PM

        @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 Feb 6, 2019, 5:15 PM

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

          M 1 Reply Last reply Feb 6, 2019, 6:17 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @soccer19
            last edited by Mykle1 Feb 6, 2019, 6:20 PM Feb 6, 2019, 6:17 PM

            @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 Sep 11, 2020, 8:13 AM Reply Quote -1
            • V Offline
              videogame95 @Mykle1
              last edited by Sep 11, 2020, 8:13 AM

              @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 Sep 11, 2020, 2:25 PM

                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy