Config file section
|Valid in machine config files||YES|
|Valid in mode config files||YES|
|Valid in shows||YES|
This section can also be used in a show file in the
lights: section of a step.
light_player: section of your config is where you can control lights
in config or shows. Example in config:
light_player: some_event: led1: color: red fade: 200ms led2: color: ff0000 fade: 2000ms
shows: rainbow: - lights: (leds): red - lights: (leds): orange - lights: (leds): yellow - lights: (leds): green - lights: (leds): blue - lights: (leds): purple
The following sections are optional in the
light_player: section of your config. (If you don’t include them, the default will be used).
Single value, type: 2-byte hex value (
Set a brightness to a light. If you use brightness on an RGB light MPF will
use the brightness for every channel. For instance brigness
result in color
Single value, type:
Set a color to this light. If you apply a color to a non-RGB light it will use the maximum brightness of any channel.