Use the interface to switch the scene.

Request Mode

 POST http://ip/mwapi/switch-scene
Parameter Description
sceneId The scene ID

Response Body

JSON structure is as follows:

  "status": 0,
1. Response Status
"status": 0
Name Description
status 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.
2. The device is in the scene editing status, so it is not allowed to switch scenes.
    "message": "device busy",
    "status": 11

results matching ""

    No results matching ""