Profile Format
Profile Sections
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.
Sample ProfileMotion
These settings configure if and how the Amp should automatically react to deceleration, turns, and orientation changes.
Setting
Description
Type
autoOrientation
Automatically detect orientation changes and shut off lights
boolean
autoBrake
Automatically detect braking
boolean
brakeThreshold
Deceleration threshold (g) to activate brakes
float
autoTurn
Automatically detect turns
boolean
turnMin
Minimum angle (degrees) at which to activate indicators
float
turnMax
Maximum angle (degrees) at which to activate indicators
float
Lights
These settings configure the type of LEDs connected to each channel, how many LEDs, and which lighting regions they correspond to
Setting
Description
Type
regions
Array of sections of lighting channels that correspond to braking, turning, etc.
Actions
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
Setting
Description
Type
Last updated
Was this helpful?