#National Weather Service (NWS) no forecast

53 messages · Page 1 of 1 (latest)

edgy relic
#

After installing the NWS integration, and adding a few local weather stations, I do not see forecast data in the created weather station entities.

There are a few reports about this happening, but they seem to be related to older versions of the integration, or the API being down. The API appears to be functioning, it's returning current weather data, but there's no forecast, and if there's some way that that needs to be enabled, it's unclear how to do that from the documentation.

hollow canopy
#

I just pulled KSTP and didn't have any issue

edgy relic
#

That's strange.

#

I've tried adding two stations from around my area, and both return no forecast.

hollow canopy
#

any exceptions in the browser console?

#

How about try the get_forecasts action?

edgy relic
#

The console doesn't show anything remarkable, no.

#

Where in the UI is that window?

hollow canopy
#

Developer-tools/Actions

edgy relic
#

Aah, thanks. Standby.

#

"Failed to perform the action weather.get_forecasts. Weather entity 'weather.kstp' does not support 'daily' forecast"

hollow canopy
#

Try twice daily

#

I think that's what NWS has

edgy relic
#
weather.kstp:
  forecast: []
hollow canopy
#

hmm yep that's no forecast

edgy relic
#

Which is what it shows in the diagnostic data I downloaded.

hollow canopy
#

Try reload the config entry?

edgy relic
#

Heh, indeed. There's NO WEATHER tomorrow

#

Reloaded. Both return []

hollow canopy
#

🤷
Open a core issue I guess, if there isn't one.

#

Maybe you're banned from NWS 🤣

edgy relic
#

That would be most unfortunate. I don't think I've been mean to any weather forecasters lately...

#

If, say, my network was banned for too many requests, or something, how would I know that?

#

API keys, which I entered as an email address, don't have to be verified somehow to work, do they?

hollow canopy
#

I would have to assume there would be some kind of error in the log in that case.

#

No you don't have to do anything for api key

#

I just tried now and used "hello" and it worked fine.

edgy relic
#

That is bizarre. I just updated to 2024.12 a few minutes ago, and nobody else is having this issue? That seems unlikely.

#

(It was also not working before the update, I should mention.)

#

I can use Pirate Weather or something if I have to, but...it's the National freaking Weather Service. That's as close to dependable as you can get.

hollow canopy
#

Open an issue. The maintainer seems to be active.

#

Attach debug logs

edgy relic
#

I will. I just don't want to be an annoyance if this is some sort of odd configuration issue. You'd think lots of folks would notice.

By the way, I have debug logging enabled, but there's not an obvious way to download those...?

hollow canopy
#

If you use the enable/debug log button on the integration page, a log is downloaded in the browser when you click "Disable"

#

So I guess that makes it easy to capture a ~5m window or such

edgy relic
#

As in, HA will try to download a .json or somesuch? I didn't see that happen when I disabled the entry.

#

OH

#

Nevermind.

#

Yeah, looking at the logs, the site is returning a 404.

hollow canopy
#

actually hang on a sec...

edgy relic
#
2024-12-05 10:50:28.405 ERROR (MainThread) [homeassistant.components.nws] Error requesting NWS forecast station KMSP data: 404, message='Not Found', url='https://api.weather.gov/points/44.93,93.06'
hollow canopy
#

I put in KTSP as the Metar code... but the forecast is identical to my home location... suspicious

edgy relic
#
2024-12-05 10:50:28.427 ERROR (MainThread) [homeassistant.components.nws] Error requesting NWS forecast hourly station KMSP data: 404, message='Not Found', url='https://api.weather.gov/points/44.93,93.06'
hollow canopy
#

ok actually I'm sorry, it was just fetching my home forecast 😂

#

thats... not how I expected it would work

edgy relic
#

(I added KMSP as well to test, hence...that.)

hollow canopy
#

ok... yep

#

if I use your coords I get no forecast

#

I assumed it would get the forecast from the METAR I input, my bad

edgy relic
#

That's a reasonable assumption

#

Alright, I'll open a core issue then. Not just me. I feel better.

#

Hm, I wonder if I pick a random station in, say, Nebraska.

#

Yeah, it seems to be broken for all requests.