User Manual
DW Spectrum 3.0
Rev. 072017 Page | 85
Generic Event
Occurs when Server receives a special HTTP Request from an external system. For instance, it may be access control
system or alarm/monitoring system. Each request contains the following fields:
Source
Caption
Description.
Also HTTP Request may contain the "State" field. If specified, the event is considered as continuous. For instance, it is
possible to set up the following Rule: while Generic Event occurs, Camera 1 is recording. In this case, if Server receives
Generic Event that contains State=Start ,Camera 1 will start recording and will be recorded until Server receives
Generic Event that contains State=Stop.
If there is no "State" field in HTTP request, Generic Event is considered as instant. If any of continuous actions (Camera
Recording, Camera Output, Panic Recording or Repeat Sound) is bound to this Event, the Rule will not work.
See "Tracked Events" for more information about continuous and instant Events.
The format of HTTP requests is documented in API that available on the Server's web page (see Using Server's Web
Interface).
DW Spectrum can also send the HTTP request if an event occurs. See "Perform HTTP Request".
Basic Parameters
Source
Caption
Description.
The fields in HTTP request should match the corresponding fields in Event settings (case matters). If a string is empty,
the field always matches. For instance, Event may be configured in the following way:
Source – "foo"
Caption – "bar"
Description – "" (empty).
In this case HTTP Request with the following data will trigger Generic Event:
Source – "foo12345" (contains "foo")
Caption – "bartender" (contains bar)
Description – "Lorem ipsum dolor sit amet" (empty string makes all values match).
HTTP Request with the following data will NOT trigger Generic Event:
Source – "Foo12345" (contains "Foo" instead of "foo")
Caption – "batender" (does not contain "bar")
Description – "Lorem ipsum dolor sit amet" (empty string makes all values match).
Advanced Parameters