switchSettings
Director Mini device sends the data of switch settings and scene status, which is triggered upon switch settings or scene state changes on the device or it receives the "/status/sync" request.
Address
/status/switchSettings [json string]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The data of switch settings and scene state |
Example
Director Mini device sends the data of switch settings and scene state.
/status/switchSettings {"isFTB":true,"isFreezed":false,"switchSettings":{"switchMode":0,"transitionType":1,"transitionDuration":500,"ftbTransitionDuration":1716}}
Name | Type | Description |
---|---|---|
isFTB | Boolean | Whether FTB is enabled. true: Yes, false: No |
isFreezed | Boolean | Whether the program scene is frozen. true: Yes, false: No |
switchSettings | Object | Switch settings |
SwitchSettings
Name | Type | Description |
---|---|---|
switchMode | Int | Switch mode.0: Quick switch, 1: Manual switch |
transitionType | Int | Transition effect. 0: Cut, 1: Fade |
transitionDuration | Int | Transition duration, in ms, ranging from 50 to 1000 |
ftbTransitionDuration | Int | FTB transition duration, in ms, ranging from 200 to 2000 |