Unexpected error fetching environment_canada weather data: Weather update failed; no timestamp found
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 250, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/environment_canada/__init__.py", line 117, in _async_update_data
await self.ec_data.update()
File "/usr/local/lib/python3.10/site-packages/env_canada/ec_weather.py", line 378, in update
raise ECWeatherUpdateFailed("Weather update failed; no timestamp found")
env_canada.ec_weather.ECWeatherUpdateFailed: Weather update failed; no timestamp found
This has been a problem for me for the past several days. It just stopped working with the exact error message in the logs. Is it really something on their side? I would think that if it was a universal problem, there would be a lot more people on here complaining. Any thoughts? I have been waiting for days to see if it would self-correct, but no luck yet. Migrating to Pirate Weather shortly if this doesnât work out.
Just removed the integration, restarted HA and re-added it. During the initial integration configuration, the following error occurs:
2023-05-20 10:40:47.948 ERROR (MainThread) [homeassistant.components.environment_canada.config_flow] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/environment_canada/config_flow.py", line 53, in async_step_user
info = await validate_input(user_input)
File "/usr/src/homeassistant/homeassistant/components/environment_canada/config_flow.py", line 29, in validate_input
await weather_data.update()
File "/usr/local/lib/python3.10/site-packages/env_canada/ec_weather.py", line 378, in update
raise ECWeatherUpdateFailed("Weather update failed; no timestamp found")
env_canada.ec_weather.ECWeatherUpdateFailed: Weather update failed; no timestamp found
I assume it is coming from their side, but what has anything changed that requires an update in the integration? Thanks!
With the core update to 2023.9.0, the forecast part will no longer be available with the 2024.3 update. I donât understand what I have to do to keep the forecasts.
Are you using the forecast data programatically? If youâre able to post what youâre doing now, we could try to map it to the new approach. If youâre only displaying the forecasts using the built-in weather card, I think you should be fine.
Hi I am still facing issue with Environment Canada and suddenly it stopped working. I am using version 2023.7.1 and it was working well. I also tried fresh installation of version 2023.9.3 and 2023.10.1 but failed to add integration with both. Is EC server issue still persisting? Thank you.
Hello, I noticed Environment_Canada weather has stopped working yesterday after performing an update yesterday. (I think it was the HA 2023.10.1 update)
Current system info:
Home Assistant 2023.10.1
Supervisor 2023.10.0
Operating System 10.5
Frontend 20231005.0 - latest
I tried removing it and re-adding it back to integration, but failed to do so.
Steps taken:
removed and re-added Environment_Canada integration (tried to)
add Province Code/Site Name (Lat and Long were auto populated.)
returns [Unexpected error]
cannot proceed further
Your help is appreciated.
Edit: Did some testing and found that itâs an issue with my area. Other areas seem to be fine. Not sure if Environment_Canada removed my area⌠(ON/s0000585)
Hi, I tried multiple locations for Ontario, none of them worked and it kept giving the same error message â!Unexpected errorâ. We are supposed to input either station ID or longitude & latitude but it does not work either or both. Issue seems something different, Environment Canada integration does not work with existing installations and new installation.
If anyone else observed something different please do share! Thank You.
I am running 2023.7.1, 2023.7.3 and 2023.10.1; three different installations. 2023.7.x both were working but now showing status sensor status as âUnavailableâ whereas 2023.10.1 is a fresh installation and was unable to add Environment Canada integration.
I upgraded 2023.10.1 to 2023.10.3 and it worked. All the weather sensors are getting updates. Thanks for pointing to issue#101533, they fixed it in version 2023.10.2. Your link really helped in fixing the issue that has been going on for almost a month. Thanks again.
Hi, is there any way to access the hourly forecast information? The integration page describes an hourly sensor (Current conditions and hourly forecast, disabled by default), but I canât find any way to enable this in the integration. However, I can see the hourly data is displayed in the weather card. Thank you.