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

    Posts

    Recent Best Controversial
    • RE: London tube status

      @soqueen hi what does your config look like? If you PM it to me (sans API keys etc.) I’ll try and recreate the issue and suggest a correct config or add a fix to the css.

      posted in Requests
      N
      nigel-daniels
    • RE: MMM-Weather-Now

      @StefanBols thanks! I have accepted the pull request.

      posted in Utilities
      N
      nigel-daniels
    • Calendar 'Loading...' issue with iCloud

      I have seen a problem when using an iCloud url with the calendar module that I thought I’d post in case anyone else runs into the issue.

      Symptoms
      The symptom is the calendar sticks with the ‘Loading…’ message but never loads. On the command line I saw the following error:

      Ready to go! Please point your browser to: http://localhost:8080
      Create new calendar fetcher for url: http://p02-calendarws.icloud.com/ca/subscribe/1/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Interval: 300000
      Whoops! There was an uncaught exception...
      [Error: Invalid UNTIL value: 20160730T115959]
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      Cause
      With Mitchs support the problem has been traced to the rrule library which handles recurring calendar events. There is an open issue on the library here:

      https://github.com/jkbrzt/rrule/issues/145

      It seems the library is strictly following RFC2445 detailing how UTC dates work, but it seems not every calendar provider is structuring the dates per RFC2445 when they are set to a local time.

      I’ve added the problem I’m seeing to the issue 145. I hope that helps anyone else encountering the same issue.

      posted in Troubleshooting
      N
      nigel-daniels
    • RE: MMM-Weather-Now

      @cowboysdude np. The two files impacted are:

      chancestorms.gif
      nt_chancestorms.gif

      They should be named:

      chancetstorms.gif
      nt_chancetstorms.gif

      posted in Utilities
      N
      nigel-daniels
    • RE: MMM-Tube-Status (London Underground)

      @djbenny07 Yeay! It lives :)

      posted in Transport
      N
      nigel-daniels
    • RE: MMM-Tube-Status (London Underground)

      @djbenny07 ok there were a couple issues here that my linter picked up:

      1. the tube module must look like this:

      {
      module: 'MMM-Tube-Status',
      position: 'top_left',
      header: 'Tube'
      },

      Note the terminating commas on each line bar the last one in the braces.

      1. The final line seems to use ticks to quote undefined not single quotes so it should be:

      if (typeof module !== 'undefined') {module.exports = config;}

      It can happen that copying between editors, email clients, browsers, etc introduces this sort of error and it’s a real pain to spot!

      I hope this fixes it up for you.

      posted in Transport
      N
      nigel-daniels
    • RE: MMM-Weather-Now

      FYI there is a minor fix to the chance of storm icons, there was a typo in the gif files name which prevented it from displaying. This also impacted MMM-3Day-Forecast.

      posted in Utilities
      N
      nigel-daniels
    • RE: MMM-3Day-Forecast

      FYI there is a minor fix to the chance of storm icons, there was a typo in the gif files name which prevented it from displaying. This also impacted MMM-Weather-Now.

      posted in Utilities
      N
      nigel-daniels
    • RE: MMM-Tube-Status (London Underground)

      BTW I have just updated the code so that if the optional show_all=false config is used and all of the lines are offering a good service there is a line displayed to indicate this rather than the module just disappearing.

      posted in Transport
      N
      nigel-daniels
    • RE: MMM-Tube-Status (London Underground)

      @djbenny07 I noticed that at the end of the file the last two lines should change and it should end something like:

      {
      module: 'weatherforecast',
      position: 'top_right',
      header: 'Weather Forecast',
      config: {
      location: 'London',
      locationID: '245613', //ID from http://www.openweathermap.org
      appid: 'ID Number taken out'
      }
      }]
      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}

      If you then want to add the tube status module something like this should work:

      {
      module: 'weatherforecast',
      position: 'top_right',
      header: 'Weather Forecast',
      config: {
      location: 'London',
      locationID: '245613', //ID from http://www.openweathermap.org
      appid: 'ID Number taken out'
      }
      },
      {
      module: 'MMM-Tube-Status',
      position: 'top_left',
      header: 'Tube Status'
      }]
      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}

      I hope that helps.

      posted in Transport
      N
      nigel-daniels
    • RE: MMM-Tube-Status (London Underground)

      @yawns I was thinking of making the font the line colours but then the Northern line would have never shown up :( It turns out TfL provide detailed UI and colour guides so I was able to get the correct colours for each line.

      posted in Transport
      N
      nigel-daniels
    • RE: MMM-Tube-Status (London Underground)

      @djbenny07 check out the read me file on Github, it details the options and provides an example.

      posted in Transport
      N
      nigel-daniels
    • RE: London tube status

      @djbenny07 I just posted the first version of a module to do this MMM-Tube-Status under the Transport section here. Let me know how you get on with it. If you find any bugs just let me know and I’ll try and figure it out.

      I will be making an update at some point; as far as I can tell I ‘should’ be using an app_id and an api_key but whenever I try to use them I cannot get data at all. I’ve emailed TfL to try and figure out what’s going on. In the meantime I’ve used the anonymous version of their API and it seems to work, I’m just not sure if it will run out of requests at some point. I.e. it may just stop at some point.

      As soon as I know more I’ll update the module’s topic and let you know.

      posted in Requests
      N
      nigel-daniels
    • MMM-Tube-Status (London Underground)

      0_1477349239562_tube.png
      This module will display the status of the the lines on the London Underground based on the API provided by Transport for London (TfL) here. This module lets you see all of the lines or just those impacted by a part or full closure. You can get this module from here. Enjoy!

      posted in Transport
      N
      nigel-daniels
    • MMM-Fish - Fish of the Day!

      Description:

      This module displays fish of the day :)

      Screenshot:

      0_1477342834424_fish.png

      Download:

      [card:nigel-daniels/MMM-Fish]


      Initial Version

      posted in Fun & Games
      N
      nigel-daniels
    • RE: London tube status

      @djbenny07 nice idea! Looks like TfL have a fairly comprehensive API, I’ll take a look at it :)

      posted in Requests
      N
      nigel-daniels
    • RE: MMM-3Day-Forecast

      @cowboysdude enjoy… you won’t have missed the ‘chance of rain’ icon there :)

      posted in Utilities
      N
      nigel-daniels
    • RE: MMM-FAA-Delay

      @nigel-daniels Update to fix a bug where the reported data on an airport can get assigned the wrong airport code. This is to support the updated configuration that allows for multiple airports, for example:

      {
      module: 'MMM-FAA-Delay',
      position: 'top_left',
      header: 'Airport Delays',
      config: {
      interval: 300000, // 5 min updates
      airports: ['SFO', 'SJC']
      }
      },

      posted in Transport
      N
      nigel-daniels
    • RE: MMM-Weather-Now

      I recommend re-cloning to anyone using the module, there were a couple of missing icons. They are now in place.

      posted in Utilities
      N
      nigel-daniels
    • RE: MMM-3Day-Forecast

      I recommend re-cloning to anyone using the module, there were a couple of missing icons. They are now in place.

      posted in Utilities
      N
      nigel-daniels
    • 1 / 1