Spectrum Effect

Format

{
  "Type": "SpectrumEffect",
  "Config": {
    "Saturation": <float>,
    "Brightness": <float>,
    "HueStep": <float>,

    "ColorGenerationMethod": <enum>,
    "Trigger": <Trigger>
  }
}

Variables

Saturation

Saturation of colors.

Note: Value from 0.0 to 1.0.

Required: No
Default value:

1.0

Example:

"Saturation": 0.5

Brightness

Brightness of colors.

Note: Value from 0.0 to 1.0.

Required: No
Default value:

1.0

Example:

"Brightness": 0.5

HueStep

Color hue increment each update tick.

Required: No
Default value:

1.0

Example:

"HueStep": 1.75

ColorGenerationMethod

Tells the effect how to generate colors for multiple devices. The actual behaviour is depended on the effect implementation.

Allowed values:

  • "PerPort" - Duplicates the effect on each device.
  • "SpanPorts" - Treats multiple devices as one.

Required: No
Default value:

"PerPort"

Example:

"ColorGenerationMethod": "SpanPorts"

Trigger

Instance of a Trigger plugin.

Required: Yes
Default value:

Example:

"Trigger": {
  "Type": "AlwaysTrigger"
}

Example