Comments (7)
Hey there @MatthewFlamm, @kamiyo, mind taking a look at this issue as it has been labeled with an integration (nws
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of nws
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign nws
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
nws documentation
nws source
(message by IssueLinks)
from core.
This error Failed to call service weather.get_forecasts. Service call requested response data but did not match any entities
is because the entity is unavailable due to some combination of NWS API weather outage or caching issue and stale data of the observation station you are using. When an entity is unavailable, the weather.get_forecasts
service returns this error.
It is an unfortunate design that the unavailability of the observation data prevents you from retrieving the forecast data, even if that data is valid.
from core.
#119114 has a discussion of the no data/stale data problem for NWS.
from core.
I just curl'd the API real quick for one of the stations not working in HA and the data looks good and current, here's just the timestamps but the forecast also looks good and matches their own UI.
"forecastGenerator": "HourlyForecastGenerator", "generatedAt": "2024-06-25T21:01:21+00:00", "updateTime": "2024-06-25T20:11:55+00:00", "validTimes": "2024-06-25T14:00:00+00:00/P8DT2H",
Like I said in #119114 I had never seen this behavior since recently upgrading my HA core which was quite a bit behind. I'm not sure if there were other changes in regards to how you handle this caching/validation that weren't there previously? A bit confused since the data looks good when I skip over the integration.
from core.
I just curl'd the API real quick for one of the stations not working in HA and the data looks good and current, here's just the timestamps but the forecast also looks good and matches their own UI.
This looks like the forecast endpoint, the observation end point is separate and causes most, but not all, problems.
The recent changes were maybe a bit too aggressive on pruning out stale data. And just because you curl once and get valid data does not mean that your HA user agent isn't being served stale data.
These are my guesses to what is going on.
from core.
Thanks, that explains it. I just looked at their example docs real quick, but using the observations/latest route I see:
"timestamp": "2024-06-24T21:13:00+00:00"
With my 2 hour timeout for valid data that lines up perfectly. So just issues on their side. I'll chalk it up to their recent changes and maybe some deployment issues as I've never seen such a gap. Thanks for helping me confirm.
I'm going to do a REST sensor for the forecast endpoint temporarily as that data looks good.
from core.
Now you have me thinking that it might be better with the current state of HA to have separate entities for observations and forecasts, but this is going around the weather entity model. So probably not a good long term solution.
from core.
Related Issues (20)
- TP-Link Smart Home - Error fetching xx.xxx.xxx.xxx data: Unable to connect to the device: xx.xxx.xxx.xxx:9999: HOT 21
- Ecovacs integration not showing work mode with T30 Omni HOT 9
- Certificate Expiry integration does not seem to check the whole cert chain. HOT 2
- Environment Canada not returning complete data HOT 4
- Nest integration bloats HA backups HOT 4
- iRobot Roomba and Braava failed to set up after upgrading to core 2024.7.3 HOT 1
- Authentication error 429/421 with controls but status sensors are working HOT 69
- [discovergy] fails to load HOT 2
- Sonos integration mixes up speakers/they become unavailable HOT 12
- Gree Climate dont found my AC HOT 1
- Holiday mode is missing from Melcloud integration HOT 1
- Unknown state for Airzone Cloud binary sensor HOT 14
- Error Netatmo HOT 9
- Text helper is not always set from automation when using trigger HOT 5
- Unable to Authenticate HOT 2
- YELLOW: Missing WiFi option in Network settings HOT 3
- Deconz Integration: Phantom Switching HOT 4
- Risco integration automation entities not showing HOT 6
- Wrong topics for autodiscovered devices of Greenwave PowerNode 6-plug HOT 3
- Not Sync state in HA when MELCloud app or remote is used HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.