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 3.9k 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.
    • S Offline
      sdetweil @lexcyr
      last edited by

      @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

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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @lexcyr
          last edited by

          @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 Reply Quote 0
          • L Offline
            lexcyr @sdetweil
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • crazylegsC Offline
              crazylegs @lexcyr
              last edited by

              @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 Reply Quote 0
              • L Offline
                lexcyr @crazylegs
                last edited by lexcyr

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

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @lexcyr
                  last edited by

                  @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 Reply Quote 0
                  • L Offline
                    lexcyr @sdetweil
                    last edited by

                    @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 Reply Quote 0
                    • S Offline
                      sdetweil @lexcyr
                      last edited by

                      @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 Reply Quote 0
                      • L Offline
                        lexcyr @sdetweil
                        last edited by

                        @sdetweil Just tried it, now i am able to remotely connect to MM but the weither is gone again :(.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          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