Skip to content

DPI Vehicle Display Screen Configuration

DPI Vehicle Display needs to be set up with two config parameters:

  • CLIENT_ID - a unique identifier for the client, used to identify the vehicle. Must be a UUIDv4.
  • SCREEN_TYPE_ID - a unique identifier for the screen type, used to determine the layout and content of the display.

You can safely generate a UUIDv4 for the CLIENT_ID using OpenSSL like this:

$ uuid=$(openssl rand -hex 16)
$ echo ${uuid:0:8}-${uuid:8:4}-${uuid:12:4}-${uuid:16:4}-${uuid:20:12}
3d914034-f8c4-2573-19fe-49d41966d689

The CLIENT_ID and SCREEN_TYPE_ID are applied in the URL.

  • CLIENT_ID in the query string as clientId=<INSERT_CLIENT_ID>
  • SCREEN_TYPE_ID in the fragment as #display/<INSERT_SCREEN_TYPE_ID>

A PHYSICAL_ID can also be specified, to easily identify screens on board

  • PHYSICAL_ID in the query string as physicalId=<INSERT_PHYSICAL_ID>

The URL should be structured as follows:

http://webserver.local/app/?clientId=<INSERT_CLIENT_ID>&physicalId=<INSERT_PHYSICAL_ID>#display/<INSERT_SCREEN_TYPE_ID>

Overview of screen types

ID Content Aspect ratio Optimal screen resolution (width x height) Vehicle type
1 Vertical journey, Public Announcement 32:9 1920x540 Bus
2 Horizontal journey 48:9 1920x360 Bus
3 Vertical journey 16:9 1920x1080, 960x540 Bus
4 Vertical journey / Public Announcement 16:9 1920x1080, 960x540 Bus
5 Horizontal journey 32:9 1920x540 Bus
6 Vertical journey 16:5 1920x600 Bus
t2-left Horizontal journey 1920:197 1920x197 Tram (SL18)
t2-right Horizontal journey (reverse) 1920:197 1920x197 Tram (SL18)
t3 Next stop / destination 128:9 1920x285 Tram (SL18)
b1 Vertical journey 16:9 1920x1080 Ferry (Boreal)
b2 Next stop, sensors / Public Announcement 16:9 1920x1080 Ferry (Boreal)
b3 Next stop, Public Announcement 9:16 1080x1920 Ferry (Norled)
b4 Boat primary 16:9 1920x1080 Ferry

* These are approx. values and subject to change.

Handling filtering short platform notifications for trams

If you want to hide the "short platform" notifications on the displays at the front of the tram, you can add the following part to the query string:

&channels=short_platform[active_cab]=c1

Full example

http://webserver.local/app/?clientId=3d914034-f8c4-2573-19fe-49d41966d689&physicalId=10.0.0.4&channels=short_platform[active_cab]=c1#display/t2-left

Screen configurations for bus (TaaS vehicles)

Screen config 1

Running state Running state

Running state of config 1, displaying journey (50% of the width) and additional information (fallback, when no public announcements* are showing).

This is the default configuration used for 32:9, and most 32:9 screens should be configured to use this configuration.

Media

Config 1 showing an example of public announcement.

*The public announcements are either html campaigns, texts, video and images.

Screen config 2

Running state

Running state of config 2. This is the only configuration used for 48:9, and all 48:9 screens must be configured to use this configuration.

Screen config 3

Running state

Running state of config 3. Intended for screens dedicated to showing journey, i.e. no public announcements will be displayed on this screen.

Screen config 4

Running state

Running state of config 4. Default state for config 4 is showing journey.

Media

Active public announcements will replace journey.

Screen config 5

This configuration is used to display a horizontal view of the line, on a 32:9 display.

Running state

Screen config 6

This configuration is used to display a vertical view of the line, on a 16:5 display.

Running state

Assignment of screen config id for screens

General rule of thumb for assignment of configuration id:

  1. All 32:9 (1920x540) screens should usually be assigned config 1
  2. All 48:9 (1920x360) screen should always be assigned config 2
  3. All 16:9 (1920x1080 or 960x540) should always be assigned config 3, if any of these conditions are met:
  4. This is the only screen on board
  5. This screen is in front of the bus
  6. Screen config 4 is used for the right screen when 2x 16:9 screens are horizontally aligned, facing the same way (cf. example 1). (For all other 16:9 screens, use config 3)
  7. Screen config 5 is used for the 32:9 screens are vertically aligned. (For all other 32:9 screens, use config 1)

Example 1, 3x 16:9 screens

Screen configurations for tram (SL18)

Screen config t2-left

Left side of the tram when active cab is c1.

Running state

Running state of t2-left. This is the only state (cf. troubleshooting for this config.

Screen config t2-right

Right side of the tram when active cab is c1.

Running state

Running state of t2-left. This is the only state (cf. troubleshooting for this config.

Screen config t3

State 1 - doors unlocked

Destination

State 2 - next stop produced

Next stop

State 3 - next stop produced with active stop signal

Next stop and stopping

Screen configurations for ferry (Boreal)

Screen config b1

Running state of config b1. Intended for screens dedicated to showing journey, i.e. public announcements (such as safety instructions etc) are ignored. This should be used for on the left screen in pair with config b2.

B1

Screen config b2

Running state of config b1. Intended for screens dedicated to showing journey, i.e. public announcements (such as safety instructions etc) are ignored. This should be used for on the left screen in pair with config b2.

B2

Show public announcement

Secondary information, intended for displaying safety announcements, deviations and other media content types. When there is no active media content playing, the screen will show information about next stop, destination and sensor information from the ferry as fallback. The sensor data is derived from following topics:

  • telemetry/01001016 - water temperature
  • telemetry/01001011 - temperature outside (ambient)
  • weather - wind data

Screen config b3

Running state of config b3. Intended for screens in portrait mode showing journey on map, public announcements are shown.

B3

Screen config b4

Running state of config b4

B4