There are 3 major sections of the lighting profile. The profile is written in JSON and then converted to MessagePack before you send it to the Amp. Check out the sample profile to see how it all fits together.
These settings configure if and how the Amp should automatically react to deceleration, turns, and orientation changes.
Automatically detect orientation changes and shut off lights
Amp board orientation direction
Automatically detect braking
The axis to use for braking detection
Deceleration threshold (g) to activate brakes
Automatically detect turns
The axis to use for turn detection
Minimum angle (degrees) at which to activate indicators
Maximum angle (degrees) at which to activate indicators
These settings configure the type of LEDs connected to each channel, how many LEDs, and which lighting regions they correspond to
These settings configure what lighting effects should be applied to the different lighting regions and actions. This section is different from the others in that each key corresponds to an Action. The value for each key is an array of RegionEffect
String version of Action