core: AirNow Integration has error "No results found for that location"
The problem
AirNow has been giving me trouble for a little while. I removed it and am trying to re-add it.
The lat/lon fields are filled with numbers that are very very long. I’m not sure if those came from my HA location or what. There are 14 digits past the decimal place.
When I type those large numbers into the AirNow web query the boxes turn red, and the URL is built funky, so it doesn’t work.
When I type smaller numbers with only 4 decimal places into the HA add integration box, I get a “No results found for that location, try changing the location or station radius”. The Latitude/Longitude fields reset to the long numbers and my API key is removed.
When I use smaller numbers in the AirNow query website, I get this response:
"DateIssue","DateForecast","ReportingArea","StateCode","Latitude","Longitude","ParameterName","AQI","CategoryNumber","CategoryName","ActionDay","Discussion"
"2023-12-05","2023-12-05","Denver-Boulder","CO","39.9003","-105.042","O3","-1","1","Good","false",""
"2023-12-05","2023-12-05","Denver-Boulder","CO","39.9003","-105.042","PM2.5","-1","1","Good","false",""
"2023-12-05","2023-12-06","Denver-Boulder","CO","39.9003","-105.042","O3","-1","1","Good","false",""
"2023-12-05","2023-12-06","Denver-Boulder","CO","39.9003","-105.042","PM2.5","-1","1","Good","false",""
Maybe that is the core issue? The state of CO doesn’t have any useful data right now?
What version of Home Assistant Core has the issue?
core-2023.11.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
AirNow
Link to integration documentation on our website
https://www.home-assistant.io/integrations/airnow
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
About this issue
- Original URL
- State: open
- Created 7 months ago
- Reactions: 2
- Comments: 24 (8 by maintainers)
Glad to hear it finally decided to work for you. I don’t have any other ideas right at the moment to check out… unfortunately these errors seem to be really hard to replicate, but definitely let me know if you see any other weirdness with it.
Is this related to this issue at all? I have had intermittent errors for the past couple of weeks but would assume API requests would already be using TLS 1.2/1.3?
(edit) It won’t let me re-add the integration at all even when increasing the range to 300 miles. Data on the website loads just fine.
No worries, glad it works now 😃
Looks like then problem is on AirNow’s end - no info available on their web site either.