asset_manager (example config files)¶
Machine config examples¶
Here are some example machine-wide config files that show real-world examples of how these configs are used.
#config_version=5
mpf:
default_light_hw_update_hz: 1
lights:
led_01:
number: 0
led_02:
number: 1
light_01:
number: 0
subtype: matrix
label: Test 0
light_02:
number: 1
subtype: matrix
label: Test 1
gi_01:
subtype: gi
number: 0
flasher_01:
platform: coils
number: flasher_01
coils:
coil_01:
number: 1
default_pulse_ms: 30
flasher_01:
number: 2
label: Test flasher
default_pulse_ms: 40
modes:
- mode1
show_pools:
group1:
load: preload
shows:
- show1
- show2
- show3
type: random
group2:
load: preload
shows:
- show1
- show2
- show3|2
type: random
group3:
shows:
- show1
- show2
- show3
type: sequence
group4:
shows:
- show1|4
- show2|2
- show3
type: sequence
group5:
shows:
- show1|1
- show2|5
- show3|1
type: random_force_next
group6:
shows:
- show1
- show2
- show3
type: random_force_all
group7:
shows:
- show1
- show2{mode.mode1.active}
- show3{mode.mode1.stopping}
type: random
group8:
shows:
- show1{mode.mode1.active}
- show2
- show3{mode.mode1.stopping}
type: sequence
Mode config examples¶
Here are some example mode config files that go along with the machine-wide config above.
Note that there are multiple mode config examples here. You might not necessarily use more than one in your machine.
#config_version=5
mode:
priority: 300
game_mode: False
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
Show file examples¶
Here are some example show files that go along with the above config(s).
Note that there are multiple shows here.
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6
#show_version=5
- time: 0
lights:
led_01: 006400
led_02: CCCCCC
light_01: CC
light_02: 78
gi_01: FF
- time: 1
lights:
led_01: DarkGreen
led_02: Black
- time: 2
lights:
led_01: DarkSlateGray
led_02: Tomato
light_01: FF
light_02: 33
gi_01: 99
- time: +1
lights:
led_01: MidnightBlue-f500 ms
led_02: DarkOrange-f0.5 s
gi_01: 33
- time: 4
lights:
led_01: Off-f800
led_02: Off-f800
light_01: 00-f800
light_02: 00-f800
gi_01: 00
- time: 6