|  Developer
Updated on November 22, 2021

hub.scenes.enabled.set

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Gives the possibility to enable or disable scene.
Edit
Field Type Required Description
_id string + scene identifier
enabled boolean + setting for enabling/disabling state correspondingly
Edit
Broadcasts Description
hub.scene.changed Updating the information about the scene.
Edit
Code Message Data
-32600 Bad request,
-32600 Bad request,
-32500 The scene with this id does not exist
Edit

Here is it an example of usage:

Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.enabled.set",
    "params": {
        "_id": "_SCENE_ID_",
        "enabled" : false
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}