Danielhiversen / home_assistant_airthings_cloud

Airthings cloud
Apache License 2.0
32 stars 6 forks source link

404 error, Airthings change something on their site? #26

Closed MeighenHouse closed 3 years ago

MeighenHouse commented 3 years ago

Noticed the values weren't updating today and restarted Home Assistant.

Now the log only shows this:

Logger: custom_components.airthings_cloud.sensor Source: custom_components/airthings_cloud/sensor.py:247 Integration: airthings_cloud (documentation, issues) First occurred: 1:47:41 PM (1 occurrences) Last logged: 1:47:41 PM

Error connecting to Airthings, resp code: 404 Not Found

Been happening for a while now. Website and app appear to be fine.

gregology commented 3 years ago

It looks like they changed the url from https://web-api.airthin.gs/v1/dashboard to https://web-api.airthin.gs/v1/dashboards and updated the JSON mapping for multiple dashboards. I'm testing that now

gregology commented 3 years ago

I have created a pull request to fix the new mapping. You can wait for the PR to be merged or make the changes yourself in the existing installations

Danielhiversen commented 3 years ago

Fixed by https://github.com/Danielhiversen/home_assistant_airthings_cloud/pull/27