Receive Genetec Events

Receive events from Genetec Security Center

Overview

Receive events from Genetec Security Center

Inputs & Outputs

  • Input media: Raw Video.
  • Output media: Raw Video.
  • Output metadata: nodes.<node_id>.events_delta, events_count, and genetec_events.

Pipeline usage

This node maintains a background subscription to the Genetec Security Center Web SDK and uses video frames only as the clock and metadata carrier. Configure a Genetec account with permission to read the selected event sources. The default endpoint is https://<hostname>:4590/WebSdk.

Select built-in event_types and optionally add comma-separated other_event_types. Narrow the subscription with event_source, source_ids, and event_filters; source IDs are Genetec logical IDs. Incoming events are buffered thread-safely and published on the next frame under:

  • nodes.<node_id>.events_delta — true when this frame publishes one or more new events.
  • nodes.<node_id>.events_count — number of events published on this frame.
  • nodes.<node_id>.genetec_events — event payloads; the buffer is cleared after publication.

Place trigger, notification, or storage nodes downstream and gate them on events_delta to avoid acting again on an empty subsequent frame.

Properties

PropertyDescriptionTypeDefaultRequired
enabledEnabledbooltrueNo
hostnameServer host name or IP address. Conditional on enabled being true.stringnullYes
usernameUser account that has privileges to send an alarm through Genetec VMS WebSDK. Conditional on enabled being true.stringnullYes
passwordPassword. Conditional on enabled being true.stringnullYes
portServer Port. Conditional on enabled being true.number4590Yes
base_uriWeb-based SDK Base URI. Conditional on enabled being true.stringWebSdkYes
httpsUse SSL Connection? Conditional on enabled being true.booltrueNo
event_typesGenetec event types to receive from the server. Options: Door Open (DoorOpen); Door Close (DoorClose); Door Locked (DoorLock); Door Unlocked (DoorUnlock); Door Entry Detected (DoorEntryDetected); Access Granted (AccessGranted); Access Refused (AccessRefused); Alarm Triggered (AlarmTriggered). Format: array of selected option values.string[]nullYes
other_event_typesComma separated list of additional event types to receive from the server.stringnullNo
event_sourceSource of Genetec events to receive from the server. Options: Area (area); Camera (camera); Door (door); Other (other).enumnullYes
other_event_sourceOther Genetec event source type to receive events from. Conditional on event_source being other.stringnullYes
source_idsComma separated list of logical IDs of the event source, obtained from Genetec Security Center.stringnullNo
event_filtersFilters to apply to the Genetec events received from the server.jsonnullNo
debugLog debugging information.boolfalseNo

Output Metadata

The fields below are declared by this node's metadata schema; the JSON values are representative examples.

PathTypeDescription
nodes.<node_id>.events_deltaintegerWhen one or more Genetec events are received
nodes.<node_id>.events_countintegerThe number of Genetec events received
nodes.<node_id>.genetec_events[].<event_field>any JSON valueJSON-compatible value supplied for this field by the Genetec event payload.
nodes.<node_id>.genetec_events[].event_field.examplestringValue of example.
nodes.<node_id>.typestringIdentifies the node type that produced this metadata.

JSON example

{
  "nodes": {
    "vms_genetec_events1": {
      "events_count": 0,
      "events_delta": 0,
      "genetec_events": [
        {
          "event_field": {
            "example": "value"
          }
        }
      ],
      "type": "vms_genetec_events"
    }
  }
}

Did this page help you?