Trigger HikCentral Alarm

Trigger an alarm in HikCentral

Overview

This node triggers a Generic Event in HikCentral based on specified trigger conditions. This generic event can be configured in HikCentral to trigger an alarm and take other actions.

Inputs & Outputs

  • Inputs : 1, Media Format : Raw Video
  • Outputs : 1, Media Format: Raw Video
  • Output Metadata : None

Properties

PropertyDescriptionTypeDefaultRequired
event_sourceGenerate HikCentral Generic Events from events generated by other nodes or a Custom defined event. Options: Events from previous nodes (built_in); Custom Event (custom).enumbuilt_inYes
triggerSend an alarm when this condition evaluates to true. Conditional on event_source being custom.trigger-conditionnullYes
event_nameTitle of the HikCentral Generic event triggered by this node. Use to setup Generic Event filter in HikCentral. Conditional on event_source being custom.stringYes
intervalMin. time between consecutive alarms. Unit: seconds.float60Yes
hostnameHostname or IP address of HikCentral server in local networkstringYes
portGeneric Events HTTPS Port number. Enable at HikCentral -> Event and Alarm -> Custom Event -> Generic Event -> Receive Generic Event -> Receive via HTTPS.number15443Yes
configure_hikcentralIf enabled, Lumeo will create Generic Event Rules and Alarm Rules in HikCentral for each event that is triggered by this node.boolfalseYes
openapi_keyOpenAPI User Key for HikCentral OpenAPI. Required to configure Generic Events and Alarms in HikCentral. Conditional on configure_hikcentral being true.stringYes
openapi_secretOpenAPI User Secret for HikCentral OpenAPI. Required to configure Generic Events and Alarms in HikCentral. Conditional on configure_hikcentral being true.stringYes
default_alarm_priorityDefaults can be overridden for each alarm rule in HikCentral. Options: Low (3); Medium (2); High (1). Conditional on configure_hikcentral being true.enum2Yes
default_alarm_popup_windowsIf enabled, the alarm popup window will be triggered when the alarm is triggered. Defaults can be overridden for each alarm rule in HikCentral. Conditional on configure_hikcentral being true.booltrueYes
default_play_typeDefault play type for HikCentral Alarm Rules. Defaults can be overridden for each alarm rule in HikCentral. Options: Playback (playback); Live View (live_view). Conditional on configure_hikcentral being true.enumplaybackYes

HikCentral Setup


Enable Generic Events

Lumeo HikCentral Integration uses Generic Events to send Events to HikCentral. To enable them:

  1. Launch the HikCentral Web Client, and navigate to Event and Alarm -> Custom Event -> Generic Event -> Receive Generic Event. Check Receive via HTTPS and Save.
  1. Open HikCentral Service Manager and click System Management Services to confirm the Generic Event Receiving Port (HTTPS).
  1. Use the "Generic Event Receiving Port (HTTPS)" value to setup your node properties in Lumeo.

Automatic Event and Alarm Configuration

  1. Enable HikCentral OpenAPI following the instructions here: HikCentral Import.

  2. Enable the Configure HikCentral option in this node's settings. Doing so will cause the node to configure:

  • Generic Event Rules for each Generic Event that the node sends to HikCentral.
  • Alarm Rules with default settings for each Generic Event Rule created in HikCentral.

Lumeo will create these Rules the first time the specific Event occurs. You can check a deployment's Events log in Lumeo to verify that they were created. Once created, they will be visible in Generic Event settings and Alarm settings within HikCentral.

📘

Important
In order for Lumeo to create the appropriate Alarm Rule, the stream name in Lumeo must follow this naming convention: <AreaName1>/<AreaName2..>/<CameraName>. For example, if your Camera in HikCentral is in the following Area hierarchy, HikCentral Professional -> Office Location1 -> Foyer, the camera should be named as Office Location1/Foyer/Camera Name in Lumeo. If you import Cameras into Lumeo from HikCentral using the Lumeo Gateway web interface or the script helper, it automatically takes care of this for you.


Manual Configuration

If you do not have access to HikCentral OpenAPI, you will need to setup Generic Events and Alarms manually in HikCentral.

Manual Generic Event Configuration

Create a new Generic Event in HikCentral (from the Event and Alarm -> Custom Event -> Generic Event page) with the following settings:

  • Transport Type: HTTPS
  • Match Type: Search
  • Expression: You can use any combination of terms that appear in the Metadata sent by Lumeo (format below).

Lumeo will send the following metadata in the Generic Event to HikCentral. This can be used to create a filter and configure the Generic event.

{
  "Request": {
      "Source": "Lumeo - <Source Name>",
      "Title": "<Event Name>",
      "Describe": "<Event Description>"
  }
}
  • SourceName : This is the source name as configured in the Lumeo source. Ex. Office/Front/Foyer Camera
  • Event Name : This is the Event name (custom or from upstream event nodes). Ex. Fall detected
  • Event Description : This is the Event description, if provided by an upstream event node.

Manual Alarm Configuration

This Generic Event can then be used to trigger an Alarm or take other actions (such as recording video, sending alerts, messages, etc).

Navigate to Event and Alarm -> Event and Alarm Configuration -> Normal Event and Alarm.

Output Metadata

Node does not insert any output metadata; upstream metadata continues through the pipeline


Did this page help you?