Read the statement by Michael Teeuw here.
Weather not displaying envcanada provider
-
Platform : Xubuntu
Node version: v14.18.1
MagicMirror Version : V2-BetaDescription:
Hello,
After installation and configuration of MagicMirror everything was working and the weather envcanada as well.
Since this morning it’s just loading. i’ve tried with a fresh installation and still not loading.
Unfortunately don’t know from where to start for troubleshooting.
i’ve already check several time the configuration and it seems fine. But i am pretty sure i am missing something, you can see the config below:{ module: "weather", position: "top_right", config: { weatherProvider: "envcanada", type: "current", location: "Québec, QC", siteCode: "s0000620", //provCode: "QC" } }, { module: "weather", position: "top_right", header: "Forecast", config: { weatherProvider: "envcanada", type: "forecast", location: "Québec, QC", siteCode: "s0000620", //provCode: "QC" } },Thanks in advance for your help.
-
@lexcyr said in Weather not displaying envcanada provider:
MagicMirror Version : V2-Beta
what does that mean ? v2 beta?
we are at v 2.17.1
use my install script , see
https://github.com/sdetweil/MagicMirror_scriptsrename the MM folder out of the way, the script assumes new install
this sounds like the expired certificate authority certificate, bug in electron, fixed in 2.17.1
-
@lexcyr
i just made a fresh installion using your script, and i still have the same problem :( -
@lexcyr can I show the mm startup messages
-
@sdetweil here is it:

-
I notice you have provCode commented out in your config file. The envcanada provider requires that parm, so uncomment and see if your problem is resolved.
-
@crazylegs Already and still not working

-
@lexcyr using your config, and the MM config set to address:“0.0.0.0”
I see in the dev window
Access to XMLHttpRequest at 'https://thingproxy.freeboard.io/fetch/https://dd.weather.gc.ca/citypage_weather/xml/QC/s0000620_e.xml' from origin 'http://0.0.0.0:8090' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.but using address:“localhost” works ok
-
@sdetweil Thank you.
you are right it’s working with localhost, but now i don’t know how to make it listen to other interface in the sametime to be able to access to it remotely. :(
-
@lexcyr try this, not sure
find the ip address of the pi,
ipconfig, look in your router, …whatever wayreplace
address:"localhost",with
address:"???",like on my machine
address:"192.168.2.106",where ??? is the ip address
in my MMM-Config, this address choice is in the dropdown list
-
@sdetweil Just tried it, now i am able to remotely connect to MM but the weither is gone again :(.
-
@lexcyr bummer
this may need a proxy to get around this… (code change)
-
Hi,
I have the same problem with envcanada provider. I start a fresh installation and it’s always in loading mode.
I use version 2.18.
Do you have a solution ou an eta for a fix ?
Thanks! -
found a solution meanwhile, will provide a PR in the github repo
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login