netbymatt / ws4kp

WeatherStar 4000+
https://weatherstar.netbymatt.com
MIT License
274 stars 47 forks source link

Stuck on enter your location #29

Closed postbreak closed 1 year ago

postbreak commented 1 year ago

OS MacOS, Firefox, Safari, Raspberry Pi chromium, can't seem to get it to load any more. Checked the API and it seems to ok. Running local as well as your live website exhibits the same issue. Hopefully a simple fix, I use this on my desk every day and miss it.

rchpi87 commented 1 year ago

Same issue here. I miss it dearly !

netbymatt commented 1 year ago

This is interesting. I haven't pushed any updates in about two weeks. I tested myself on what I had easily available: Android/Chrome, Windows/Chrome, Windows/Firefox and Linux/Chromium and both geocoding (typing "Orlando, FL") and GPS location were working. Is it still happening?

I'm wondering if either the geocoding service went down, or more likely api.weather.gov had some downtime.

Can you describe further where things are going wrong? There's probably some opportunity for a better user-facing error message. Was it gps or typing a location? If typing a location the sequence should go something like this, let me know where it's stuck.

  1. Enter a location
  2. Auto complete shows a list of locations
  3. Click an auto complete location or "Go"
  4. You may very briefly see your typed location change to latitude, longitude, then to the name that NWS assigned to your location.
  5. Each forecast page loads.
rchpi87 commented 1 year ago

It looks like its working now. From what I noticed I wasn't getting the site information at the bottom. But now it's populating.

Location: New York City, Central Park, NJ Station Id: KNYC Radar Id: DIX Zone Id: NYZ072 Last Update: Fri, Sep 1, 2023, 7:30:57 AM EDT

netbymatt commented 1 year ago

I'll look into putting a friendly error message on screen when the call to geocoding or NWS fails at the location stage. Most of the actual weather-data fails relatively gracefully by leaving locations off the map/list, just showing error on the menu and/or skipping that page in the rotation if it can't load data.

This is certainly a good spot for improvement.

postbreak commented 1 year ago

I'll look into putting a friendly error message on screen when the call to geocoding or NWS fails at the location stage. Most of the actual weather-data fails relatively gracefully by leaving locations off the map/list, just showing error on the menu and/or skipping that page in the rotation if it can't load data.

This is certainly a good spot for improvement.

I can confirm it is working for me now. Thank you!