• 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
  1. Home
  2. Glass92
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
G
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 1
  • Groups 0

Glass92

@Glass92

0
Reputation
104
Profile views
1
Posts
0
Followers
0
Following
Joined Apr 19, 2017, 2:54 PM
Last Online Jul 26, 2020, 5:41 PM

Glass92 Unfollow Follow

Latest posts made by Glass92

  • RE: MMM-UKNationalRail - Rail departure info for specific UK Railway stations

    @tenpinmark

    Hi Tenpin,

    Sounds like me and you want the same thing!
    I’m currently having issues with my module updating after a refresh though, don’t know what is going on there! Essentially after I restart the Mirror, the module will work for a couple of hours, then when I get up the next day it will still be showing last nights times, almost like it’s frozen.
    How did you get the Header sorted and column headings?

    I am also using MMM-ModuleScheduler to display the specific Trains at different times.
    I have three modules running see below, where my app id and app key I have replaced with xxx.
    One for my partner, Monday to Friday from Home to Work in the morning. Stirling - Dundee (See Station Code is Stirling, calling_at: Dundee)
    One for my partner, Monday to Friday from Work to Home in the evening. Dundee - Stirling (See Station Code is Stirling, called_at: Dundee)
    One for me, Tuesday to Thursday from Home to Work in the morning. Stirling - Glasgow (See Station Code is Stirling, calling_at: Glasgow)

    {
    			module: 		'MMM-UKNationalRail',
    			position: 		'bottom_left',
    			header:			'Stirling - Glasgow',		//Optional - delete this line to turn OFF the header completely
    			classes: 'scheduler',
    			config: {
    				module_schedule: {from: '0 7 * * 2-4', to: '0 9 * * 2-4' },
    				stationCode: 		'STG', 		// CRS code for station
    				calling_at: 		'GLQ',
    				app_id: 			'xxx', 		// TransportAPI App ID
    				app_key: 			'xxx', 		// TransportAPI App Key
    				maxResults: 		3,  		//Optional - Maximum results to display.
    				showOrigin: 		true   	//Optional - Show the origin of the train in the table
    			}
    		},
    			{
    			module: 		'MMM-UKNationalRail',
    			position: 		'bottom_left',
    			header:			'Stirling - Dundee',		//Optional - delete this line to turn OFF the header completely
    			classes: 'scheduler',
    			config: {
    				module_schedule: {from: '0 7 * * 1-5', to: '0 9 * * 1-5' },
    				stationCode: 		'STG', 		// CRS code for station
    				calling_at: 		'DEE',
    				app_id: 			'xxx', 		// TransportAPI App ID
    				app_key: 			'xxx', 		// TransportAPI App Key
    				maxResults: 		3,  		//Optional - Maximum results to display.
    				showOrigin: 		true   	//Optional - Show the origin of the train in the table
    			}
    		},
    			{
    			module: 		'MMM-UKNationalRail',
    			position: 		'bottom_left',
    			header:			'Dundee to Stirling',		//Optional - delete this line to turn OFF the header completely
    			classes: 'scheduler',
    			config: {
    				module_schedule: {from: '0 17 * * 1-5', to: '30 19 * * 1-5' },
    				stationCode: 		'STG', 		// CRS code for station
    				called_at: 			'DEE',
    				app_id: 			'xxx', 		// TransportAPI App ID
    				app_key: 			'xxx', 		// TransportAPI App Key
    				maxResults: 		3,  		//Optional - Maximum results to display.
    				showOrigin: 		true   	//Optional - Show the origin of the train in the table
    			}
    		},
    

    This is my partner’s trians for coming home
    https://imgur.com/a/OGflgLi
    See it doesn’t list Stirling. It lists end destination and origin station.

    posted in Transport
    G
    Glass92
    Feb 6, 2020, 6:35 PM
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