|  Developer
Updated on June 17, 2022

Broadcasts

  • Controllers can send broadcasts to connected clients. If message id===ui_broadcast, message will be sent to all connected clients.

Example:

				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.modes.switched",
    "result": {
        "from": "<modeId>",
        "to": "<modeId>",
        "status": "done",
        "switchToDelay": 0
    }
}