|  Developer
Updated on November 24, 2021

hub.user.notification

  • Notifies users about specific types of alerts.
Edit
Field Type Required Description
type string + The type of alert covered by the notification.
params string + Details about the alert
Type pin_code_is_used:
Field Type Required Description
params.user string + The name of the user associated with the pin code.
params.deviceName string + The device on which the pin code was used.
params.roomName string + The room in which the device is located.
Edit
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.user.notification",
    "result": {
        "type": "pin_code_is_used",
        "params": {
              "user": "User Name",
              "deviceName": "Device Name",
              "roomName": "Room Name"
        }
    }
}