spkesDE / com.spkes.openMeteo

GNU General Public License v3.0
1 stars 1 forks source link

No data since a couple of weeks #3

Open pno034 opened 7 months ago

pno034 commented 7 months ago

Good day,

Since a couple of weeks the information/data stopped from my weather location. Everything worked flawless and changed nothing. I have tried adding a new location, restarted the app, removed the app en downloaded it again. Still no data.

Can you please check? Thanks in advance

38186ec7-77ad-4171-891a-a54dc603e72c

spkesDE commented 7 months ago

You're connection times out to the https://api.open-meteo.com/v1/forecast

I don't know why. Please try it over you local computer if you can call that api and check your network settings

pno034 commented 7 months ago

Thanks for you're reply.

Network settings looks ok. No response via local computer. Any other tips to check?

spkesDE commented 7 months ago

https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&hourly=temperature_2m

Does you get data from this link?

Restarting your homey is my only idea or re-adding the locations

pno034 commented 7 months ago

Yes i get data from the link.. If i create one via the website it is working -> https://api.open-meteo.com/v1/forecast?latitude=51.8117&longitude=3.9347&current=temperature_2m,wind_speed_10m&hourly=rain,freezing_level_height&daily=temperature_2m_min,wind_gusts_10m_max&timezone=Europe%2FBerlin&forecast_days=3&forecast_hours=24

Can i check/change the api on the homey app?

Restarting en re-adding already done a couple of times.... i will check further.. thanks

spkesDE commented 7 months ago

It's the same API that I use here. Please try the latest test version, I removed the timeout limiter which your reached. Maybe your homey needs more then 5s to get the data 🤷

https://homey.app/a/com.spkes.openMeteo/test/

pno034 commented 7 months ago

I will check and try... i don't understand, it always worked great!

pno034 commented 7 months ago

0c3bf3e7-a7ba-41a0-abd4-2443eda9cd97

Not working

spkesDE commented 7 months ago
stdout:
    2024-02-14T10:46:43.474Z [log] [OpenMeteo] OpenMeteo has been initialized
2024-02-14T10:46:43.563Z [log] [ManagerDrivers] [Driver:weather] WeatherDriver has been initialized
2024-02-14T10:48:54.804Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 1
2024-02-14T10:48:54.809Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 1
2024-02-14T10:50:22.860Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 1
2024-02-14T10:51:05.868Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 2
2024-02-14T10:51:05.872Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 2
2024-02-14T10:52:33.932Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 2
2024-02-14T10:53:21.036Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 3
2024-02-14T10:53:21.039Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 3
2024-02-14T10:54:49.102Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 3
2024-02-14T10:55:40.300Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 4
2024-02-14T10:55:40.304Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 4
2024-02-14T10:57:08.363Z [log] [OpenMeteo] Failed to call api.open-meteo.com. Current retry attempt: 4
2024-02-14T12:21:52.507Z [log] [OpenMeteo] OpenMeteo has been initialized
2024-02-14T12:21:52.588Z [log] [ManagerDrivers] [Driver:weather] WeatherDriver has been initialized

    stderr:
    2024-02-14T10:57:55.468Z [err] [ManagerDrivers] [Driver:weather] [Device:f6ceeb28-2455-4f77-aad4-4e1a3d63f00f] Device.onInit Error: connect ETIMEDOUT 
2024-02-14T10:57:55.473Z [err] [ManagerDrivers] [Driver:weather] [Device:9285e87a-9f9a-4adc-a82d-7ef0847d7f66] Device.onInit Error: connect ETIMEDOUT
2024-02-14T10:59:23.531Z [err] [ManagerDrivers] [Driver:weather] [Device:b3a60e9a-7225-4b6d-a332-977305db21dd] Device.onInit Error: connect ETIMEDOUT
spkesDE commented 7 months ago

Try to disable IPv6.

Had someone with the same issue on my telegram app. His issue was IPv6

https://community.homey.app/t/app-pro-telegram/66622/373?u=spkesde

pno034 commented 6 months ago

Late response, but disable IPv6 doesn't work. Did you received more issues from other users?

spkesDE commented 6 months ago

You're the only one so far

pno034 commented 6 months ago

haha f*ck :)

spkesDE commented 6 months ago

Maybe a DNS issue? You have something like PiHole running? Or try a DNS like 1.1.1.1?