Skip to main content

Time Trial Start Console

Project description

metarace-ttstart

Time trial start console application. Includes time of day, rider number, rider name, a 30 second count-down and audible start beeps.

ttstart screenshot

For battery operated terminals, the screen can be set to dim in between starters.

Configuration

Configuration is via metarace sysconf section 'ttstart' with the following keys:

key (type) description [default]
topic (string) telegraph topic for start list updates [startlist]
fullscreen (boolean) run application fullscreen after initialisation
backlightdev (string) sysfs path to backlight device [null] (1)
          |          eg: /sys/class/backlight/acpi_video0

backlightlow | (float) dimmed backlight level between starters [0.25] backlighthigh | (float) backlight level during countdown [1.0] startlist | (string) filename for a csv startlist file [startlist.csv] syncthresh | (float) maximum allowed audio de-sync in seconds [0.12] (2)

Notes:

  1. The backlight brightness file must be writable in order for dimming to work
  2. The acoustic start signal is terminated if it is not playing in sync with the displayed countdown.

Remote Control

ttstart connects to telegraph and subscribes to the topic nominated. To re-configure the start list, publish a JSON encoded array of arrays with the following columns:

  • start time (string), required
  • rider number (string), optional
  • rider series (string), ignored
  • rider name (string), optional

For example:

[["9h15:00","","","[Event Start]"], ["9h16:00","1","","First RIDER"]]

Requirements

  • tex-gyre fonts
  • gstreamer alsa plugins
  • metarace >= 2.0

Note: Some 32 bit systems (notably Intel Atom Toughbooks) will not play audio with the default Debian desktop installation. The workaround is to remove pulseaudio and use alsa directly:

# apt remove 'pulseaudio*'

Installation

Install metarace and the required system packages:

# apt install tex-gyre gir1.2-gtk-3.0 gir1.2-gstreamer-1.0 gstreamer1.0-alsa

Then install ttstart using pip:

$ pip3 install metarace-ttstart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metarace-ttstart-1.0.0.tar.gz (242.1 kB view details)

Uploaded Source

Built Distribution

metarace_ttstart-1.0.0-py3-none-any.whl (251.3 kB view details)

Uploaded Python 3

File details

Details for the file metarace-ttstart-1.0.0.tar.gz.

File metadata

  • Download URL: metarace-ttstart-1.0.0.tar.gz
  • Upload date:
  • Size: 242.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.3

File hashes

Hashes for metarace-ttstart-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dcd843ed11f0b2af547b67f93e14fb1fd2fe044ffbfb4eea87a89a0d3b572227
MD5 5514ca342bb34f1b8b50ed74fb42f447
BLAKE2b-256 c80993baac2586e691e68d29b1dceee88f31e72a532edb6b8b70d691645e4ba7

See more details on using hashes here.

File details

Details for the file metarace_ttstart-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for metarace_ttstart-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 713f0ae08785107aa015ffb1c20dac7408eb3b0d69bf58fe71ddaeef5bd1346e
MD5 ccab6224ded8cdd3d8d4151a6901508b
BLAKE2b-256 2584aba5b392ad0723c22778d5c425abb7abca19d9e46e9dca136fd005ac40cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page