Scene#
The Scene subscription allows you to subscribe to changes of active scene.
Subscribe Message#
{
"subscribe": "scene"
}
Change Message#
When the state of any scene changes, a message is sent out with the following parameters in the data part of the JSON object:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
integer |
Scene number |
|
|
string |
The new state of the scene: |
|
|
boolean |
Whether the scene is currently affecting the output of any fixtures in the project. |
|
For example:
{
"broadcast": "scene",
"data": {
"num": 1,
"onstage": true,
"state": "started"
}
}