Disconnected
SPXB Logo

key1. Encryption Keys

expand_more

Untested territory, proceed with caution.

The key is used automatically by the `send(...)` function in your scripts for any standard (non-shortcut) command.

construction2. Command Composer

Premade Commands

help_outlineHelp & Documentation

expand_more

The code editor executes asynchronous JavaScript. Use `send()` and `delay()` to build command sequences.

Core Functions

  • send(payload): Sends a command. Automatically encrypts standard commands.
  • await delay(ms): Pauses the script for a number of milliseconds.
  • Join command parts using +. For example: broadcast() + stopAndFade(50, 500)

Example: Sending a Sequence

To send multiple commands with delays, simply call `send` and `delay` in order. The `await` keyword is required for `delay`.

// Turn on group 1 send( group(1) + stopAndFade(100, 500) ); // Wait for half a second await delay(500); // Turn on group 2 send( group(2) + stopAndFade(100, 500) );

Example: Creating a Loop

Standard JavaScript loops and logic can be used to create complex patterns.

for (let i = 1; i <= 4; i++) { send(group(i) + runScriptNow(SCRIPT_ID_CANDLE)); await delay(250); }

code3. Code Editor

preview4. Script Preview

terminal5. Logs

memory1. Firmware

usb2. Flash

Uses the connected dongle if there is one (it is released during flashing and reconnected afterwards), otherwise asks for a port. Desktop Chrome / Edge. Close other tabs or apps that hold the port.

terminalLog