|  Developer
Updated on November 24, 2021

hub.room.created

  • Sent when a new room is created on the hub via the hub.room.create command. ‘Rooms’ are used to group devices after those devices have been added to the hub. Users need to create their own rooms in the UI as devices are not initially assigned to any room.
Edit
Field Description
_id Unique identifier for the new room
name User-created label for the new room. E.g. ‘Kids Room’, ‘Guest Room’ etc.
Edit
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.room.created",
    "initiator": {
        "api_name": "some api name here",
        "connection_type": "UI",
        "peer_unique_id": "23/3"
    },
    "result": {
        "_id": "_OBJECT_ID_",
        "name": "Guest room"
    }
}