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 Help

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 2 Posters 6.9k 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.
    • shadymapleS Offline
      shadymaple
      last edited by

      I located the index list of city data, itś a .jz file. Not sure how to open that to view my location? Iḿ located in Windber, Pennsylvania…close to Johnstown or Pittsburgh

      1 Reply Last reply Reply Quote 0
      • C Offline
        chrisfoerg
        last edited by

        for which module?

        1 Reply Last reply Reply Quote 0
        • shadymapleS Offline
          shadymaple
          last edited by

          It would be the Weather Forecast module.

          1 Reply Last reply Reply Quote 0
          • shadymapleS Offline
            shadymaple
            last edited by

            I changed the Location and took out the Location ID, seems to be working correctly now. My code:

            	{
            		module: 'currentweather',
            		position: 'top_right',
            		config: {
            			location: 'WINDBER,US',
            			locationID: '',  //ID from http://www.openweathermap.org
            			appid: '48588f342a2ec0786f66876ef390757c'
            		}
            	},
            
            
            	{
            		module: 'weatherforecast',
            		position: 'top_right',
            		header: 'Weather Forecast',
            		config: {
                        		location: 'WINDBER,US',
            			locationID: '',  //ID from http://www.openweathermap.org
                        		appid: '48588f342a2ec0786f66876ef390757c'
            		}
            	},
            
            1 Reply Last reply Reply Quote 0
            • C Offline
              chrisfoerg
              last edited by

              you’ll find the ID in the URL: http://www.openweathermap.org/city/5219722

              shadymapleS 1 Reply Last reply Reply Quote 0
              • shadymapleS Offline
                shadymaple @chrisfoerg
                last edited by

                @chrisfoerg Ok got it, thanks very much!

                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