briis / hass-weatherflow

Home Assistant Integration for WeatherFlow Stations
MIT License
67 stars 11 forks source link

"Error while retrieving data: Timeout fetching weatherflow data" warning - should provide more informative info #41

Closed cec0827 closed 2 years ago

cec0827 commented 2 years ago

While attempting to use the hass-weatherflow addon I found out my Weatherflow Tempest was malfunctioning and was not providing some key data. It is believed this lead to the warning message which has too broad of a scope. Where the fetch is performed OK but the data is incomplete it is suggested to add additonal info or use a different message identifying a possible station malfunction for improved troubleshooting.

briis commented 2 years ago

Thanks. I will work on this as soon as I have time.

rightsaidfred99 commented 2 years ago

Is this the same error message?

Error while retreiving data: Empty dataset returned from WeatherFlow. Make sure the station is online.

I'm getting this but checking the official app, it is indeed online so I suspect maybe they broke something as HA isn't getting the data now

briis commented 2 years ago

@rightsaidfred99 Have you looked at the log file to see if errors show up? You could turn on debug for this integration if there is nothing in there. And it is working fine here.

Try also and go to https://weatherflow.github.io/Tempest/api/swagger/#!/observations/getStationObservation then click the Authorize button at the top and enter your personal token. After that scroll down a bit on this page, and enter your Station ID. Please post the result here.

This will show if data are available. If they are, I will need to see what else can be wrong.

rightsaidfred99 commented 2 years ago

Thanks, it's working again (I redid the whole thing again). I had only just created the API yesterday so maybe there was just a bit of lag on their end but it works now. Many thanks for putting the time into this!!

briis commented 2 years ago

No activity for several month. Closing the issue