Skip to content
Sean Barbeau edited this page Nov 1, 2019 · 7 revisions

OneBusAway provides a mode optimized for showing real-time arrival information on large public screens, allowing quick and cheap information displays.

Large TV display in a store showing OneBusAway real-time arrival info

Photo by Atomic Taco

v1

To use sign-mode, use the standard web interface to browse to your favorite stop. The URL for the page should have form like:

http://your.host-name.com/where/standard/stop.action?id=X_Y

To enable sign mode, simply replace the standard part of the URL with sign:

http://your.host-name.com/where/sign/stop.action?id=X_Y

For example:

http://tampa.onebusaway.org/where/sign/stop.action?id=Hillsborough%20Area%20Regional%20Transit_6497

There are a number of parameters you can add to the URL to tweak the behavior of the sign:

  • title=... - By default, the sign uses the current stop name as a title. This option allows you to override the title.
  • showTitle=false - Alternatively, you can hide the title completely.
  • route=X_Y - Specify a route id to indicate that only this route should be show. Can be repeated.
  • minutesBefore=N - Excludes vehicles that departed more than N minutes ago.
  • minutesAfter=N - Exclude vehicles arriving more than N minutes from now.
  • refresh=N - Automatically refresh the page every N seconds.

If your TV doesn't have a built-in browser, you might want to check out cheap adapters such as Google Chromecast - for $35, it plugs into your TV's HDMI port and you can "cast" the browser sign page to the screen from a regular Android device (or computer).

v2

The URL format for v2 changed to:

https://realtimedev.sdmts.com/onebusaway-enterprise-acta-webapp/sign/sign?stopIds=MTS_10772,MTS_11903

Note that multiple stops can be shown:

image