• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Weather not displaying envcanada provider

Scheduled Pinned Locked Moved Bug Hunt
14 Posts 5 Posters 2.8k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    lexcyr
    last edited by Oct 17, 2021, 10:11 PM

    Platform : Xubuntu
    Node version: v14.18.1
    MagicMirror Version : V2-Beta

    Description:
    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.

    S L C 3 Replies Last reply Oct 18, 2021, 2:02 AM Reply Quote 0
    • S Offline
      sdetweil @lexcyr
      last edited by Oct 18, 2021, 2:02 AM

      @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_scripts

      rename 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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • L Offline
        lexcyr @lexcyr
        last edited by Oct 18, 2021, 2:59 PM

        @lexcyr
        i just made a fresh installion using your script, and i still have the same problem :(

        S 1 Reply Last reply Oct 18, 2021, 3:38 PM Reply Quote 0
        • S Offline
          sdetweil @lexcyr
          last edited by Oct 18, 2021, 3:38 PM

          @lexcyr can I show the mm startup messages

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Oct 20, 2021, 12:17 AM Reply Quote 0
          • L Offline
            lexcyr @sdetweil
            last edited by Oct 20, 2021, 12:17 AM

            @sdetweil here is it:
            fbbbc939-af6b-4e1d-aaa4-4720ffdf38e1-image.png

            1 Reply Last reply Reply Quote 0
            • C Offline
              crazylegs @lexcyr
              last edited by Oct 24, 2021, 2:47 AM

              @lexcyr

              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.

              L 1 Reply Last reply Oct 24, 2021, 7:54 PM Reply Quote 0
              • L Offline
                lexcyr @crazylegs
                last edited by lexcyr Oct 24, 2021, 7:56 PM Oct 24, 2021, 7:54 PM

                @crazylegs Already and still not working
                a917a569-7e27-456f-bed2-98aa57a01013-image.png

                S 1 Reply Last reply Oct 24, 2021, 10:58 PM Reply Quote 0
                • S Offline
                  sdetweil @lexcyr
                  last edited by Oct 24, 2021, 10:58 PM

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  L 1 Reply Last reply Oct 28, 2021, 1:16 PM Reply Quote 0
                  • L Offline
                    lexcyr @sdetweil
                    last edited by Oct 28, 2021, 1:16 PM

                    @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. :(

                    S 1 Reply Last reply Oct 28, 2021, 1:20 PM Reply Quote 0
                    • S Offline
                      sdetweil @lexcyr
                      last edited by Oct 28, 2021, 1:20 PM

                      @lexcyr try this, not sure

                      find the ip address of the pi,
                      ipconfig, look in your router, …whatever way

                      replace

                      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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      L 1 Reply Last reply Oct 28, 2021, 2:59 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/14
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy