Skip to main content

Overview

The DMXPacket generator allows you to inject raw DMX data directly into the channel stream. This is useful for testing, debugging, or creating custom packet sequences.

Properties

universe
int
default:"0"
Target universe number (0-based).
data
byte[]
Raw DMX data bytes (0-255 per channel).

Configuration Example

generators:
  - !DMXPacket
    universe: 0
    data: [255, 200, 150, 100, 50, 0]

Use Cases

Send known data patterns to verify serializer behavior:
- !DMXPacket
  universe: 0
  data: [0, 64, 128, 192, 255]  # Test gradient
Pre-program lighting scenes without a console:
- !DMXPacket
  universe: 0
  data: [255, 255, 255, 0, 0, 0, 128, 128, 128]
Inject specific values to debug world implementations:
- !DMXPacket
  universe: 1
  data: [170, 170, 170]  # Alternating bit pattern
DMXPacket directly overwrites channel data. Place it carefully in the generator execution order.

Build docs developers (and LLMs) love