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