Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Scripts

Custom Mixer Scripts

Custom (Mixes) Scripts take one or more values as inputs, do some processing in Lua code, and output one or more values. Each model can have several Mixes Scripts associated with it, and these scripts are run periodically. They behave similarly to standard EdgeTX mixers, but at the same time they provide a much more flexible and powerful tool.

Typical use cases:

  • replacement for complex mixes that are not critical to model function

  • complex processing of inputs and reaction to their current state and/or their history

  • filtering of telemetry values

Inputs and Outputs for Mixer Scripts

Here is an example of mixer script that accepts a source and constant value, and has two outputs that will be selectable in the mixer as sources.

Selecting an empty line lets you pick a Script/File from /SCRIPTS/MIXES/ on the SD card and give it a Name. Once selected, the Inputs and Outputs the script defines are listed automatically and can be configured (inputs can be set to a source, constant, or other value; outputs are named per the script). Long-pressing an existing script line gives Edit and Delete options. A script line shows a status indicator if there's a Script Error or if its file is missing (Needs File).

Last updated