• 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.

MMM-Tube-Status (London Underground)

Scheduled Pinned Locked Moved Transport
25 Posts 5 Posters 18.2k Views 6 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.
  • N Offline
    nigel-daniels
    last edited by Oct 24, 2016, 10:51 PM

    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!

    1 Reply Last reply Reply Quote 1
    • Y Offline
      yawns Moderator
      last edited by Oct 25, 2016, 4:39 AM

      Looks nice, just about what I had in mind with colours.

      N 1 Reply Last reply Oct 25, 2016, 3:54 PM Reply Quote 0
      • D Offline
        djbenny07
        last edited by Oct 25, 2016, 11:53 AM

        thanks very much. not installed a new module before so we’ll see how it goes!

        Is there any instructions on module installation? to put in the config.js as to the location of the module on the screen?

        N 1 Reply Last reply Oct 25, 2016, 3:52 PM Reply Quote 0
        • N Offline
          nigel-daniels @djbenny07
          last edited by Oct 25, 2016, 3:52 PM

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

          D 1 Reply Last reply Oct 28, 2016, 10:20 AM Reply Quote 0
          • N Offline
            nigel-daniels @yawns
            last edited by Oct 25, 2016, 3:54 PM

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

            1 Reply Last reply Reply Quote 1
            • D Offline
              djbenny07 @nigel-daniels
              last edited by Oct 28, 2016, 10:20 AM

              @nigel-daniels I have done as the config suggests however the display says it needs a valid config file.

              Y 1 Reply Last reply Oct 28, 2016, 11:08 AM Reply Quote 0
              • Y Offline
                yawns Moderator @djbenny07
                last edited by Oct 28, 2016, 11:08 AM

                @djbenny07
                Then please show your entire config file. If the config.js file is there but the mirror says it is missing then there is something missing, most of the time , or }
                Please put ` (back ticks) before and after your config file content when posting, then it will be parsed and shown correctly. Also please remove appids/app tokens, they should be kept private.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  djbenny07
                  last edited by Oct 31, 2016, 11:04 AM

                  ’

                  var config = {
                  port: 8080,

                      language: 'en',
                      timeFormat: 24,
                      units: 'metric',
                  
                      modules: [
                              {
                                      module: 'alert',
                              },
                              {
                                      module: 'clock',
                                      position: 'top_left'
                              },
                              {
                                      module: 'calendar',
                                      header: 'Public Holidays',
                                      position: 'top_left',
                                      config: {
                                              calendars: [
                                                      {
                                                              symbol: 'calendar-check-o ',
                                                              url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics'
                                                      }
                                              ]
                                      }
                              },
                              {
                                      module: 'compliments',
                                      position: 'lower_third'
                              },
                              {
                                      module: 'currentweather',
                                      position: 'top_right',
                                      config: {
                                              location: 'London',
                                              locationID: '245613',  //ID from http://www.openweathermap.org
                                              appid: 'ID Number taken out'
                                      }
                              },
                              {
                                      module: 'weatherforecast',
                                      position: 'top_right',
                                      header: 'Weather Forecast',
                                      config: {
                                  location: 'London',
                                              locationID: '245613',  //ID from http://www.openweathermap.org
                                  appid: 'ID Number taken out'
                                      }
                              },
                              {
                  

                  ’

                  D 1 Reply Last reply Oct 31, 2016, 11:18 AM Reply Quote 0
                  • D Offline
                    djbenny07 @djbenny07
                    last edited by djbenny07 Oct 31, 2016, 11:23 AM Oct 31, 2016, 11:18 AM

                    @djbenny07 i took it out of there as it didnt work. could it be corrected? is it possible to get it on the right hand upper corner underneath the clock?

                    B 1 Reply Last reply Oct 31, 2016, 12:18 PM Reply Quote 0
                    • B Offline
                      bhepler Module Developer @djbenny07
                      last edited by Oct 31, 2016, 12:18 PM

                      @djbenny07 Is that the entire config file? I ask because it’s not closed properly.

                      Please put the module configuration that you’re trying to get to work back in and post the entire file for us so we can check it all. We’ll get you running.

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