Kaspersky IoT Secure Gateway 1000

Configuring delivery of push notifications

June 7, 2023

ID 188311

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages for free.

Kaspersky IoT Secure Gateway 1000 uses Firebase Cloud Messaging to forward push notifications about events in the form of JSON messages over the HTTPS protocol to the address https://fcm.googleapis.com/fcm/send. The system relays information about its name and the provided topics of push notifications every four seconds to the topic /topics/DevicesandTopics residing in the FCM cloud service.

For example, the system named Device-1 lets you subscribe to push notifications about NewRecord, NewDevice and DeviceUpdate events.

Example of JSON data sent by the system indicating its name and provided topics of push notifications:

{

  "data": {

    "Device" : "Device-1",

    "Audit" : "NewRecord",

    "TrafficProcessor" : "NewDevice, DeviceUpdate",

  },

  "to": "/topics/DevicesAndTopics"

}

A push notification about an event is sent to the topic /topics/DeviceName_EntityName_EventType, where:

  • DeviceName is the name of the device.
  • EntityName is the name of the entity that registered the event.
  • EventType is the type of event.

    Example of JSON data sent by the system regarding an event that occurred:

    {

      "data": {

        "data" : "Some data about new device",

      },

      "to": "/topics/Device-1_TrafficProcessor_NewDevice"

    }

To receive push notifications, you can create your own application that works with FCM. To do so, you will need a google-services.json configuration file and the system name. For detailed information about creating an application to receive push notifications, please refer to the Firebase Cloud Messaging documentation.

To configure the system name for sending push notifications:

  1. In the menu in the left part of the web interface page, select SettingsUtilities.
  2. Select the Push notifications tab.
  3. In the Device name field, enter the name that will be used by the system to send push notifications.
  4. In the Authorization key field, enter the Firebase authorization key.
  5. If you need to upload a security certificate, click the Upload new certificate button and select the relevant security certificate in the opened window. Information about the uploaded certificate is displayed.

    For push notifications to be sent correctly, make sure a valid security certificate has been downloaded.

  6. Click Save in the lower part of the page to save the changes.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.