|  Developer
Updated on June 23, 2022

hub.scenes.meta.set

Connection type:

Permissions:

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Set metadata of a scene
Edit
Field Type Required Description
sceneId string + scene identifier
meta JsonObject + Scene metadata information. Intended to save data needed for user interfaces
Edit
  • Empty result.
Edit
Code Message Data
-32600 Bad request, does not exist
-32500 The scene with this id does not exist
-32603 Internal operation error
Edit
Broadcasts Description
hub.scene.changed Updating the information about the scene
Edit
Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.meta.set",
    "params": {
        "meta": {
            "key": "value"
        },
        "sceneId": "6271073c00000044a69583c1"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "method": "hub.scenes.meta.set",
    "result": {},
    "sender": {
        "conn_id": "1",
        "type": "ui"
    }
}