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

  • Python >= 3.11
  • Gtk >= 3.0
  • metarace >= 2.1.20
  • tex-gyre fonts
  • gstreamer plugins

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:

$ sudo apt remove 'pulseaudio*'

Installation

Use shared installer from metarace to collect requirements and install with roadmeet and trackmeet:

$ wget https://codeberg.org/ndf-zz/metarace/raw/branch/main/metarace-install.sh
$ sh metarace-install.sh

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.4.tar.gz (242.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metarace_ttstart-1.0.4-py3-none-any.whl (251.5 kB view details)

Uploaded Python 3

File details

Details for the file metarace_ttstart-1.0.4.tar.gz.

File metadata

  • Download URL: metarace_ttstart-1.0.4.tar.gz
  • Upload date:
  • Size: 242.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for metarace_ttstart-1.0.4.tar.gz
Algorithm Hash digest
SHA256 2f3024e6c8d0f15247d5ece61d4eb314b6d41f9ab7aa68955ac259a11be815b6
MD5 517e467d7eed42e7a6682783ee17ba46
BLAKE2b-256 351f874b862ff1226616cfd14859fb974c31797be03284e8680f68e593f012f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metarace_ttstart-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3bead54fbf76918f4a1a6decb83aae7965ac506d35ac6d6b6054fa6a88c94a65
MD5 55c4bb2d8fe3e17ec1ebee580b4e24c4
BLAKE2b-256 06000cab5e248c34748f86d24bbfcf8015947d4eaf0f2000346092abc9d06ec6

See more details on using hashes here.

Supported by

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