London Underground Display Settings Generator Tool (Python 3)

Required Details

API Key:

Station ID:

Display Rotation

Defines which way up the screen is rendered.

Direction

For stations which have inbound and outbound services, do you wish to view both directions or only one?; default is inbound directions.

Outbound:

Inbound:

Both (default):

Time Format

Do you wish to use 24hr or 12hr time format; default is 24hr.

24 Hour Format:

12 Hour Format:

Animation Mode

By default increased animations are turned off, this animation shows the line name for the service and terminating station. However this is likely to the be the same for every service. You can turn it on or off below:

Off (default):

On - show the line name and terminating station:

Energy Saving Mode

To save screen from burn in and prolong it's life it is recommend to have energy saving mode enabled. 'off' is default, between the hours set the screen will turn off. 'dim' will turn the screen brightness down, but not completely off. 'none' will do nothing and leave the screen on; this is not recommend, you can change your active hours instead.

off

dim

none

Inactive Hours

The period of time for which the display will go into 'Energy Saving Mode' if turned on; default is '23:00-07:00'.

Start Time:

End Time:

Animation Speed

What speed do you want the text to scroll at on the display; default is 3, must be greater than 0.

Normal (3) Speed Example
10 Speed Example

Animation Delay

How long the display will pause before starting the next animation; default is 30, must be greater than 0.

Normal (30) Delay Example
1 Delay Example

Warning Message (BETA)

Do you want the warning 'STAND BACK TRAIN APPROACHING' message to flash when a train is pulling into a station; off by default as for busy stations you can just have constant flashing message. To alter how soon the message will start to appear you can use the "WarningTime" parameter.

No Warning Message (Default)

Warning Message

Hide Index

Do you wish to see index position for each service due to arrive.

Hide Index

Show Index

Lines To Exclude

List any services you do not wish to view. Make sure to capitalise correctly and use a single space between each line; default is nothing, ie show every line. For example write "Circle" to exclude the circle line.

Update Frequency

The number of days for which the Pi will wait before rebooting and checking for a new update again during your energy saving period; default 1 day (every day check).

Maximum Number of Cards

The maximum number of cards you will see before forcing a new data retrieval, a limit is recommend to prevent cycling through data which may become out of data or going too far into scheduled buses; default is 9, must be greater than 0.

This is an advanced setting, if you are unsure click Next accepting the default values.

Request Limit

Defines the minium amount of time the display must wait before making a new data request, if you make this too small you risk spamming the API Server and getting rejected for overuse; default is 55(seconds)

This is an advanced setting, if you are unsure click Next accepting the default values.

Static Update Limit

Defines the amount of time the display will wait before updating the expected arrival time (based upon it's last known predicted arrival time); default is 15(seconds), this should be lower than your 'RequestLimit'

This is an advanced setting, if you are unsure click Next accepting the default values.

Recovery Time

How long the display will wait before attempting to get new data again after previously failing; default is 100, must be greater than 0.

This is an advanced setting, if you are unsure click Next accepting the default values.

Results

Below is the line of code you will need to start the program based upon the parameters you've just provided. When the answers matched the default values they have been omitted. Simply run this command in the console window where the python file is located to run the program.