|  Developer
Updated on June 23, 2022

hub.scenes.notification.add

  • Version: 1.
  • Classes: UI
  • Title: Scene manager categories
  • Description: Add user ID to particular scene for sending notification broadcasts.
Edit
Field Type Required Description
sceneId string + Id of the scene
userId string + Id of the user
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
				
					{
    "method": "hub.scenes.notification.add",
    "id": "_ID_",
    "params": {
        "sceneId": "d233cdel43422",
        "userId": "3232323215533"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}