Trigger Hanwha Blaze Event

Trigger a Generic Event in Hanwha Blaze VMS

Overview

This node triggers Events or Bookmarks in Hanwha BLAZE VMS based on specified trigger conditions. The event can be used to generate alerts, review incidents and more.

Inputs & Outputs

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

Properties

PropertyDescriptionTypeDefaultRequired
enabledEnabledbooltrueNo
blaze_ipHostname or IP of the BLAZE Server. Conditional on enabled being true.stringnullYes
blaze_portBLAZE Server port. Leave blank to use default (8000). Conditional on enabled being true.stringnullNo
blaze_usernameBLAZE user name. Conditional on enabled being true.stringnullYes
blaze_passwordBLAZE user password. Conditional on enabled being true.stringnullYes
blaze_channel_idAssociates Events with this Channel ID from BLAZE. Leave blank if source is an RTSP stream from BLAZE. Conditional on enabled being true.stringnullNo
blaze_actionBLAZE action. Options: Create Generic Event (event): Create a Generic Event in BLAZE with the source Lumeo; Create Button Event (button_event): Create a Button Event in BLAZE. Name must match Button name from a BLAZE rule; Create Bookmark (bookmark): Create a Bookmark in BLAZE.enumeventYes
blaze_button_nameAssociates Button Events with this Button Name from BLAZE. Conditional on blaze_action being button_event.stringnullYes
intervalMin. time between consecutive actions. Unit: seconds.float0Yes
event_sourceGenerate BLAZE 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 event when this condition evaluates to true. Conditional on event_source being custom.trigger-conditionnullYes
event_nameEvent name (caption) that shows up in BLAZE console. Accepts templates. Conditional on event_source being custom.stringnullYes
event_descriptionEvent description that shows up in BLAZE console. Accepts templates.stringnullNo

Event Description Template

event_description uses Jinja2 Template Syntax for customizing the body of the Event description sent to BLAZE.

Variables available to the template:

VariableDescription
deployment_idDeployment ID.
deployment_nameDeployment Name.
application_idApplication ID.
application_nameApplication Name.
gateway_idGateway ID.
gateway_nameGateway Name.
node_idNode ID.
meta.nodesNode metadata.
meta.objectsObject metadata.
meta.custom_propertyCustom properties inserted using a Custom function.

Examples

Static text content:

Fire was detected in the parking lot

Insert description from an existing node:

{{ nodes.gpt1.fullframe.label }}

Output Metadata

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

BLAZE Configuration

Create a user for Lumeo

Create a BLAZE user for Lumeo with appropriate permissions to generate events. Provide this username and password in this node's settings.

Grab BLAZE Channel ID

Grab the BLAZE Channel ID for your camera to associate Lumeo events with the camera if your source is not a BLAZE RTSP stream.

If your video source is an RTSP stream from BLAZE (e.g. rtsp://<blaze-host>/<channel-id>/primary), you can leave the blaze_channel_id field empty. Lumeo will automatically extract the Channel ID from the stream URI.


Associate Lumeo source with BLAZE camera

Follow the steps below if you set up the camera or stream directly in Lumeo without sourcing it from BLAZE:

  1. Create an RTSP stream or ONVIF Camera directly in Lumeo
  2. Find the corresponding Channel ID from the BLAZE admin console
  3. Add the BLAZE Channel ID to the Trigger Hanwha BLAZE Event node in Lumeo

Configure Button or Generic Event rules in BLAZE

Lumeo sends events to BLAZE, but to get them to show up with the appropriate camera, you need the following:

  1. Ensure the Camera is set to allow recording in BLAZE
  2. Create a rule in BLAZE with the button name (for Button events) or Generic Event Source name as Lumeo (for Generic events) that triggers Recording/Notifications/Bookmarks in BLAZE.

Did this page help you?