switchByName
Use the interface to switch to the specific scene by name.
Request Mode
POST/GET http://ip/V1.0/scene/switchByName?name=scene1&switchEffect=1
Request Data
Parameter | Type | Description |
---|---|---|
name | String | The scene's name |
switchEffect | Int | Transition effect. 0: Cut, 1: Fade. Non-essential parameter, without which it uses the preset transitions in the Switch Settings. |