Warning

This is the documentation the latest work-in-progress version of MPF!

This is the documentation for MPF 0.56, which is the “dev” (next) release of MPF that is a work-in-progress. This is probably ok, and means you’ll be on the latest, cutting-edge version of MPF.

However, if you want a more stable version, select the v:stable version from the lower-left corner of this page, which is the most recent version that is not getting new updates.

If you are new to MPF, we have recently rewritten the installation process which only applies to this “latest” 0.56, so you probably want to stay here because the prior installation process doesn’t work on the latest OS and Python versions.

How to Configure Score Reels

Related Config File Sections
score_reels:
score_reel_groups:

Multiple score reels are grouped to show the player score. Score reels detect certain position using switches (usually 0)

TODO: Add a picture of score reels

This is an example:

lights:
  light_p1:
    number:
    tags: player1
  light_p2:
    number:
    tags: player2
switches:
  score_1p_10k_0:
    number:
  score_1p_1k_0:
    number:
  score_1p_100_0:
    number:
  score_1p_10_0:
    number:
  score_2p_10k_0:
    number:
  score_2p_1k_0:
    number:
  score_2p_100_0:
    number:
  score_2p_10_0:
    number:
coils:
  player1_10k:
    number:
  player1_1k:
    number:
  player1_100:
    number:
  player1_10:
    number:
  player2_10k:
    number:
  player2_1k:
    number:
  player2_100:
    number:
  player2_10:
    number:
  chime1:
    number:
  chime2:
    number:
  chime3:
    number:
score_reels:
  score_1p_10k:
    coil_inc: player1_10k
    switch_0: score_1p_10k_0
    limit_hi: 9
    limit_lo: 0
  score_1p_1k:
    coil_inc: player1_1k
    switch_0: score_1p_1k_0
    limit_hi: 9
    limit_lo: 0
  score_1p_100:
    coil_inc: player1_100
    switch_0: score_1p_100_0
    limit_hi: 9
    limit_lo: 0
  score_1p_10:
    coil_inc: player1_10
    switch_0: score_1p_10_0
    limit_hi: 9
    limit_lo: 0
  score_2p_10k:
    coil_inc: player2_10k
    switch_0: score_2p_10k_0
    limit_hi: 9
    limit_lo: 0
  score_2p_1k:
    coil_inc: player2_1k
    switch_0: score_2p_1k_0
    limit_hi: 9
    limit_lo: 0
  score_2p_100:
    coil_inc: player2_100
    switch_0: score_2p_100_0
    limit_hi: 9
    limit_lo: 0
  score_2p_10:
    coil_inc: player2_10
    switch_0: score_2p_10_0
    limit_hi: 9
    limit_lo: 0
score_reel_groups:
  player1:
    reels: score_1p_10k, score_1p_1k, score_1p_100, score_1p_10, None
    tags: player1
    chimes: None, chime1, chime2, chime3, None
    lights_tag: player1
  player2:
    reels: score_2p_10k, score_2p_1k, score_2p_100, score_2p_10, None
    tags: player2
    chimes: None, chime1, chime2, chime3, None
    lights_tag: player2
This example is tested to be valid MPF config. However, it is not integration tested.
lights:
  light_p1:
    number:
    tags: player1
  light_p2:
    number:
    tags: player2
switches:
  score_1p_10k_0:
    number:
  score_1p_1k_0:
    number:
  score_1p_100_0:
    number:
  score_1p_10_0:
    number:
  score_2p_10k_0:
    number:
  score_2p_1k_0:
    number:
  score_2p_100_0:
    number:
  score_2p_10_0:
    number:
coils:
  player1_10k:
    number:
  player1_1k:
    number:
  player1_100:
    number:
  player1_10:
    number:
  player2_10k:
    number:
  player2_1k:
    number:
  player2_100:
    number:
  player2_10:
    number:
  chime1:
    number:
  chime2:
    number:
  chime3:
    number:
score_reels:
  score_1p_10k:
    coil_inc: player1_10k
    switch_0: score_1p_10k_0
    limit_hi: 9
    limit_lo: 0
  score_1p_1k:
    coil_inc: player1_1k
    switch_0: score_1p_1k_0
    limit_hi: 9
    limit_lo: 0
  score_1p_100:
    coil_inc: player1_100
    switch_0: score_1p_100_0
    limit_hi: 9
    limit_lo: 0
  score_1p_10:
    coil_inc: player1_10
    switch_0: score_1p_10_0
    limit_hi: 9
    limit_lo: 0
  score_2p_10k:
    coil_inc: player2_10k
    switch_0: score_2p_10k_0
    limit_hi: 9
    limit_lo: 0
  score_2p_1k:
    coil_inc: player2_1k
    switch_0: score_2p_1k_0
    limit_hi: 9
    limit_lo: 0
  score_2p_100:
    coil_inc: player2_100
    switch_0: score_2p_100_0
    limit_hi: 9
    limit_lo: 0
  score_2p_10:
    coil_inc: player2_10
    switch_0: score_2p_10_0
    limit_hi: 9
    limit_lo: 0
score_reel_groups:
  player1:
    reels: score_1p_10k, score_1p_1k, score_1p_100, score_1p_10, None
    tags: player1
    chimes: None, chime1, chime2, chime3, None
    lights_tag: player1
  player2:
    reels: score_2p_10k, score_2p_1k, score_2p_100, score_2p_10, None
    tags: player2
    chimes: None, chime1, chime2, chime3, None
    lights_tag: player2