Skip to main content

Switch Scene

  • Alert key: obs-switchScene
  • Source: OBS

Default message template

OBS scene switched to {{scene}}

Template variables

Use any of these in alert text, TTS, or chat templates. The same names appear under data.extraSettings.* when you subscribe via Overlay.on('alert').

Template variableOverlay payload fieldDescription
{{scene}}data.extraSettings.sceneScene name

Example payloads

Each scenario below mirrors what Lumia emits in Overlay.on('alert', (data) => …).

Scene Change

{
"alert": "obs-switchScene",
"dynamic": {
"value": "Lumia Scene"
},
"extraSettings": {
"item": "Lumia Scene",
"scene": ""
}
}

Variation conditions

Dimensions you can branch on when configuring alert variations:

  • RANDOM
  • EQUAL_STRING - Scene is equal to
  • EQUAL_VARIABLE