MagicMirror Forum

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

    Location ID Help

    Troubleshooting
    2
    6
    5859
    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.
    • shadymaple
      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
        chrisfoerg last edited by

        for which module?

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

          It would be the Weather Forecast module.

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

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

              shadymaple 1 Reply Last reply Reply Quote 0
              • shadymaple
                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy