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-UKNationalRail - Rail departure info for specific UK Railway stations

    Scheduled Pinned Locked Moved Transport
    uk railtransport
    33 Posts 15 Posters 19.1k Views 16 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.
    • B Offline
      Bungle68
      last edited by

      Is anyone able to show how I can get arrivals as well as departures showing?
      I tried this, but it’s still only showing Departures.

      {
      	module: 	'MMM-UKNationalRail',
      	position: 	'bottom_left',
      	header:		'Departure',		//Optional - delete this line to turn OFF the header completely
      	config: {
      		stationCode: 		'CUF', 		// CRS code for station
      		app_id: 		'8e9c6489', 	// TransportAPI App ID
      		app_key: 		'd8*********************7c9c45550', 	// TransportAPI App Key
      		maxResults: 		5,  		//Optional - Maximum results to display.
      		showOrigin: 		false,   	//Optional - Show the origin of the train in the table
      		type: "arrival,departure"
      	}
      },
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Bungle68
        last edited by

        @Bungle68 it appears this module is no longer maintained, and most of the code is 6 years old.

        wko knows what has changed in that time

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          Bungle68 @sdetweil
          last edited by

          @sdetweil Thanks
          It seems to be working now, I just can’t get the platform numbers up.
          Is there an alternative module? 🙏

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @Bungle68
            last edited by

            @Bungle68 sorry, no idea

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @Bungle68 what shows for showPlatform:true??

              says - if no platform info

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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