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

                  @lexcyr bummer

                  this may need a proxy to get around this… (code change)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    joebloe
                    last edited by

                    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!

                    karsten13K 1 Reply Last reply Reply Quote 0
                    • karsten13K Online
                      karsten13 @joebloe
                      last edited by

                      found a solution meanwhile, will provide a PR in the github repo

                      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