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.

    Weather module config

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 2 Posters 4.8k 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.
    • S Offline
      sdetweil @mrlowndes
      last edited by sdetweil

      @mrlowndes u can test that the api works from your location

      put this in your browser

      https://api.weather.gov/points/LAT,LON/forecast
      

      replace the LAT,LON
      by the values from the google maps (maps.google.com) of your location…
      in the url, you will see two numbers xx.yyyyyy,-uu.zzzzzz
      just cut/paste that whole set of numbers and paste over the LAT,LON (notice the comma comes with the numbers too)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        mrlowndes
        last edited by

        @sdetweil Thanks so much, the documentation doesn’t make that clear at all

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @mrlowndes
          last edited by

          @mrlowndes no, this is just a test… making sure the api would work as called by the module

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mrlowndes @sdetweil
            last edited by

            @sdetweil yeah, no dice. This came up in my browser

            "title": "Data Unavailable For Requested Point",
                "type": "https://api.weather.gov/problems/InvalidPoint",
                "status": 404,
                "detail": "Unable to provide data for requested point 34.5444,119.7913",
                "instance": "https://api.weather.gov/requests/8199fbe2-ac6c-4c7c-b109-ed162794f780"
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @mrlowndes
              last edited by

              @mrlowndes as I said, only works for US locations

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                mrlowndes
                last edited by

                @sdetweil yeah, it is a US location

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @mrlowndes
                  last edited by sdetweil

                  @mrlowndes how can +119 be US location , mine is minus 97 (west of london)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mrlowndes
                    last edited by

                    @sdetweil I’m using the lat long listed here: https://forecast.weather.gov/MapClick.php?lat=34.54167&lon=-119.80917#.XqhoOJp7kWr

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @mrlowndes
                      last edited by

                      @mrlowndes u forgot the - sign

                      34.5444,119.7913",
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mrlowndes
                        last edited by

                        @sdetweil haha well that was dumb of me. I copied it from the web page where there isn’t a minus, but in the URL there obviously is. Thanks so much! got it working!

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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