Skip to content

2hdlockness/MMM-Biathlon

Repository files navigation

MMM-Biathlon

pngimg com - biathlon_PNG14

MMM-Biathlon is a MagicMirror module that retrieves and displays biathlon race results and upcoming events. It relies on the official biathlon API to provide up-to-date information.

Features:

  • Displays biathlon race results, including rankings, times, and shooting accuracy.
  • Shows upcoming events with details on location and dates.

Supports the following languages:

  • French
  • Spanish
  • Italian
  • Norwegian
  • German
  • Chinese

Customization options:

  • Number of displayed entries
  • Transition interval
  • Event types
  • Automatic updates of results and event information at predefined intervals.

With MMM-Biathlon, biathlon enthusiasts can follow the latest competition results and stay updated on their favorite athletes' performances directly on their MagicMirror!

ScreenShots

vncviewer_1Heje9nXTd Capture Capture

Installation

Install

In your terminal, go to your [MagicMirror²][mm] Module folder and clone MMM-Biathlon:

cd ~/MagicMirror/modules
git clone https://github.com/2hdlockness/MMM-Biathlon

Using the module

To use this module, add it to the modules array in the config/config.js file:

{
  module: "MMM-Biathlon",
  position: "top_left",
  header: "Biathlon Results",
  config: {
  }
},

Or you could use all the options:

{
module: "MMM-Biathlon",
position: "top_left",
header: "Biathlon Results",
    config: {
        showNextEvent: true,
        showtime: true,
        showshoot: true,
        maximumEntries: 5,
        transitionInterval: 20 * 1000,
        updateInterval: 60 * 60 * 1000,
        EventClassificationId: ["BTSWRLCP","BTSWRLCH"]
    }
},

Configuration options

Option Possible values Default Description
showNextEvent true
false
true Show or hide upcoming events
showtime true
false
true Show or hide total time
showshoot true
false
true Show or hide shooting results
maximumEntries number 5 Number of entries to display
transitionInterval number 20 * 1000 Transition interval between events (in ms)
default 20s
updateInterval number 60 * 60 * 1000 Data update interval (in ms)
default 1h
EventClassificationId SBSWRLCH
BTSIBUCP
BTSWRLCP
BTJIBUCP
BTSWRLUG
BTJCEUCH
BTSCEUCH
BTJCEUOF
BTSWRLCH
BTJWRLCH
["BTSWRLCP","BTSWRLCH"] List of competitions.
See below for competition details.
Competition details Description
BTSWRLCP BMW IBU World Cup Biathlon
BTSWRLCH BMW IBU World Championships Biathlon
BTJCEUCH IBU Junior Open European Championships
BTJIBUCP IBU Junior Cup Biathlon
BTJWRLCH IBU Youth/Junior World Championships
BTSCEUCH IBU Open European Championships Biathlon
BTSIBUCP IBU Cup Biathlon
SBSWRLCH IBU Summer Biathlon World Championships
BTSWRLUG FISU World University Games
BTJCEUOF European Youth Winter Olympic Festival

Update

cd ~/MagicMirror/modules/MMM-Biathlon
git pull

Donate

If you like this module and feel generous!

Donate

Thank you!

Credits

  • Authors:
    @2hdlockness
  • License: MIT

About

MagicMirror module to display biathlon event results

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published