|  Developer
Updated on June 23, 2022

hub.scenes.block.meta.set

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Set blockMeta member of a particular block
Edit
Field Type Required Description
sceneId string + scene identifier
blockId string + block identifier
meta JsonObject + Block 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
-32500 Scene block 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.block.meta.set",
    "params": {
        "blockId": "6271073c00000044a69583c9",
        "meta": {
            "key": "value"
        },
        "sceneId": "6271073c00000044a69583c8"
    }				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "method": "hub.scenes.block.meta.set",
    "result": {},
    "sender": {
        "conn_id": "1",
        "type": "ui"
    }
}