Enabling a notification

A notification is defined by users and is applied to a group and then, can be filtered by the specified device types. It is triggered for any specific data of type Sensor Data, Event or Geoloc received by UnaConnect, in less than 3 seconds.
  • Email notification: The user can receive an email with a personalized subject and content.
  • App notification: The user can receive a notification to their UnaConnect mobile application.
A simple example, you want to get notified by email when someone has pressed a smart button. You just need to create a notification of type email that will be triggered on Sensor data.

  • Click on the button + to add a new notification
  • Name your notification to make sure you can differentiate them in the list view.
  • Select the type of notification you want, e-mail or app notification.
  • Enter a title and a body that will be sent with your notification.
  • Press Save changes to confirm.

mutation CreateNotification($input: NotificationInput!) {
  createNotification(input: $input) {
    groupId
    id
    name
    description
    params
    type
    createdAt
    updatedAt
    deviceId
    deviceTypes
    reason
    schedule
    enabled
  }
}