switchByIndex

Use the interface to switch to the specific scene by index.

Request Mode

POST/GET http://ip/V1.0/scene/switchByIndex?index=1&switchEffect=1

Request Data

Parameter Type Description
index Int The scene index in the list, which can be 1, 2...
switchEffect Int Transition effect. 0: Cut, 1: Fade.
Non-essential parameter, without which it uses the preset transitions in the Switch Settings.

Response Body

HTTP Status Code

results matching ""

    No results matching ""