-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Environment
MagicMirror² version: 2.33.0
Node version: 22.18.0
npm version: 10.9.3
Platform: Raspberry Pi 4 - Bookworm
Which start option are you using?
node --run start
Are you using PM2?
Yes
Module
weather
Have you tried disabling other modules?
- Yes
- No
Have you searched if someone else has already reported the issue on the forum or in the issues?
- Yes
What did you do?
Validated there are no issues in logs and that Config.js is correct. The problem is definitely specific to the envcanada provider in the Weather module
What did you expect to happen?
Verify that Environment Canada provider is not working properly
What actually happened?
Verified that Environment Canada data is not providing data to Weather module
Additional comments
The envcanada provider in the default Weather module was fixed in MM v2.33.0 to use a new URL hierarchy that Environment Canada implemented to access weather data for Canadian locations. Subsequent to this provider update, Environment Canada has implemented one further update to their URL hierarchy to make it easier to access 'current day' weather data. Here are the old and new URL formats with the updated in bold:
Old: https://dd.weather.gc.ca/citypage_weather/...
New: https://dd.weather.gc.ca/**today/**citypage_weather/...
As a result of this additional URL update, the envcanada provider is, once again, not able to pull weather data. The net effect is that the Weather module will display outdated information or will display 'loading' in place of weather data.
Solution: The envcanada provider code will need to be updated (again) to incorporate the URL format change.
Participation
- I am willing to submit a pull request for this change.