core: Airly doesn't find station
The problem
When I add the integration through the UI using my API key and my home location, I expect Airly to find the nearest station. However, it only produces an error “Geen Airly meetstations in dit gebied.” (No Airly stations in this area). When I move to the Airly developer area and try the API, I can find the nearest station to me:
[
{
"id": 10189,
"location": {
"latitude": 51.914999,
"longitude": 4.480289
},
"address": {
"country": "Netherlands",
"city": "Rotterdam",
"street": "Baan",
"number": "25",
"displayAddress1": "Rotterdam",
"displayAddress2": "Baan"
},
"elevation": 5.35,
"airly": false,
"sponsor": {
"id": 576,
"name": "EEA",
"description": "Source",
"logo": "https://cdn.airly.eu/logo/eea.png",
"link": "https://www.eea.europa.eu"
}
}
]
When I replace my home coordinates with the lat/lon of the station itself, it produces the exact same error. So it won’t find any station for me. Making the integration unusable.
Environment
- Home Assistant release with the issue: 0.107.4
- Last working Home Assistant release (if known): ?
- Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
- Integration causing this issue: Airly
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/airly/
Problem-relevant configuration.yaml
n/a. using the integrations UI.
Traceback/Error logs
Geen Airly meetstations in dit gebied.
Additional information
n/a
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (9 by maintainers)
I used exactly the coordinates of the station. You can try it with this station:
If you get error
No Airly stations in this areathat’s not an issue. You can use other coordinates closer to the existing measuring station.