Difference between revisions of "AvigilonWEB"

From HSYCO
Jump to navigation Jump to search
Line 84: Line 84:
 
|-
 
|-
  
|write
+
|alarm
|value
+
|R
|W
+
|get an alarm status (0 off, 1 on)
|write the message <value> on the connection socket
+
|-
 +
|state
 +
|R
 +
|get an alarm state (ACTIVE, AUTOACKNOWLEDGED, ACKNOWLEDGED)
 
|-
 
|-
 
|}
 
|}

Revision as of 09:24, 2 August 2022

Avigilon Control Center (ACC) 7 is a video management software that can be integrated in HSYCO with a TCP/IP connection. The current release of the I/O Server has been tested with the Avigilon Control Center WebEndpoint

Note This driver supports only a single connection with an Avigilon Control Server. If you have multiple Avigilon Control Servers it is mandatory to add more I/O servers to HSYCO, one for each Avigilon Control Server. Every I/O server must use a different IP address and TCP/IP port.

Communication

Here's an example of how to configure Avigilon Control Center using WebEndpoint to send an alarm status to HSYCO.

Download the Avigilon WebEndpoint executable from the Avigilon download page

IO Server Avigilon WebEndpoint 1.png

Creating an alarm

Create a new alarm in ACC

IO Server Avigilon WebEndpoint 2.png

Select your camera as the trigger source

IO Server Avigilon WebEndpoint 3.png

Select your camera as the linked device

IO Server Avigilon WebEndpoint 4.png

Select the users that should be notified by ACC

IO Server Avigilon WebEndpoint 5.png

Select the alarm acknowledgment action

IO Server Avigilon WebEndpoint 6.png

Give the alarm a lowercase name Note only use characters from the english alphabet, don't use spaces, the only special characters allowed are - _

IO Server Avigilon WebEndpoint 7.png

Creating a Motion Detection

Setup a new motion detection under your camera

IO Server Avigilon WebEndpoint 8.png
IO Server Avigilon WebEndpoint 9.png

HSYCO Configuration

Add an AVIGILONAPI I/O Server in the I/O Servers section of the Settings and set its parameters:

Communication

  • IP Address: IP address of the AVIGILON ACC 7 server. Set to 0.0.0.0 to allow any remote IP address to connect.
  • IP Port: TCP/IP port to use, leave blank to use default port 3448

High Availability

  • Shutdown when inactive: defaults to false.

Options

  • username: Username of the AVIGILON ACC 7 client.
  • password: Password of the AVIGILON ACC 7 client.
  • userkey: User api key Avigilon developer page.
  • usernonce: User api nonce Avigilon developer page.
  • pollingtime: Time in milliseconds that hsyco will wait before the next alarm check, leave blank or set it o 0 to use default polling time 300

Datapoints

ID Value R/W Description
connection online R HSYCO connection socket is open
offline R HSYCO cannot create the connection socket
alarm R get an alarm status (0 off, 1 on)
state R get an alarm state (ACTIVE, AUTOACKNOWLEDGED, ACKNOWLEDGED)