MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. charlesf
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 8
    • Groups 1

    Posts

    Recent Best Controversial
    • Environment Canada Weather Module

      I have implemented a module (my first) to display the Environment Canada text weather forecast, marine wind forecast, and a graphical view of the weather forecast for day and night (the default Weather module only shows the day forecast). As this module is specifically for Environment Canada, only locations in Canada are supported. The elements are configurable, and forecasts can be displayed in English or French. Details and module code at MMM-EnvCanada.
      screenshot.png

      posted in Utilities
      charlesfC
      charlesf
    • RE: MMM-EnvCanada stopped working ...

      @crazylegs I have posted an update on GitHub that works with the new Environment Canada URL convention. I fetch the directory list and look for the most recent forecast xml file for the selected site code and then open the filename found, so I didn’t have to completely rewrite the module. I had issues with my http request to get the directory list that don’t occur when retrieving the xml files – no idea why, but my knowledge of JavaScript is very limited. I found a solution and the module now works.

      I agree it looks like we are being pushed to the other API, so it is hard to know how long this approach of fetching an xml document will continue to work. But it works for now.

      Comments welcome.

      posted in Troubleshooting
      charlesfC
      charlesf
    • 1 / 1