This guide will depict enabling the WebHook from the AVA web interface, as well as enabling the API communication method from the CHeKT portal side. Let's get started:
Adding Cameras to the Bridge
Cameras can be connected to the Bridge with the CHeKT Network Discovery Method.
If the AVA RTSP stream method is needed, refer to the AVA steps depicted below.
Generating the RTSP URL in Ava
Connect to the Ava Aware Web Client and Select Devices from the Main Menu:
In the Devices List, hover over the target camera, and right-click to open the menu:
Choose Edit Config Settings:
In the pop-up menu, choose Stream Settings:
Click Copy RTSP Information in the Stream Settings Menu:
The system will present a Success Dialogue :
The CHeKT Bridge requires a certain frame rate and resolution from the mounted stream, you can dictate these parameters in the video stream URL by appending the required variables to the end:
rtsp://(IP)/deviceStreams?width=720&height=360&fps=10
Enabling the API Trigger in the CHeKT Portal
Access the Configuration Menu on the CHeKT Bridge that will be targeted with the webhook by clicking the gear:
When the menu opens, select Network from the top-row menu options. Take note of the Main IP on this page:
Click the Local API Service line:
Enable the Local API Service using the slider:
Take note of the Port (and edit/save as necessary)
Now with the API Enabled on the CHeKT Bridge, retain the local IP of the Bridge and Port listed in the API Configuration page, we will need them when configuring the rules in the Ava Software.
Configuring AVA WebHook with CHeKT API:
From the Main Menu, select Rules:
Click the Plus to add a new rule:
In the Add Menu, name the rule and select the detection type, and click Next:
Select the Detection Parameters for the chosen rule and click Next
Select the camera:
This should be the same camera stream you plan to create snapshots on in CHeKT
Place the Rule(s) and click Next:
Select the Detection Schedule and click Next:
In the Actions menu, Click the Gear to configure Advance Options (for AVA reporting, not CHeKT required)
Select the trigger type and alarm merging options, and click Done:
Both Security Alarm and Security Event will report to the CHeKT Bridge
Enable the WebHook in the Actions Menu and click the configuration gear:
In the pop-up Webhooks menu, click the plus button to add new webhook:
Name the webhook:
Enter the URL:
Using Zone API Option:
192.168.99.86:30003 is the IP and Port of the Bridge we retained earlier. The 002 is also the zone assigned to the camera in the CHeKT Portal.
Using Video Channel API Option:
192.168.99.86:30003 is the IP and Port of the Bridge we retained earlier. The 2 is also the video channel number of the camera in the Bridge.
Bridge Channel. 1-12
is supported
For the Sending Method, select From Ava Devices to source the trigger from the local IP, and set Method to HTTP Post:
Enter the Payload:
{
"event_type": "recording"
}
Once the Payload is entered, we can send a test trigger to the Bridge to verify communication.
Click the Test button:
Select Local Appliance and Click Test:
Local Appliance is selected as this example is Sourced from a local camera; cloud cameras use an alternate configuration.
A success message will appear if the communication path is open:
Verify that the event was created and reports on the correct zone in the CHeKT Monitoring Poral:
After verifying successful communication, click done:
In the Rules Menu, select the recently configured webhook from the dropdown:
With the rule selected, click Done:
After saving, always live-test all created rules to verify proper reporting and operation.
Thanks for reading~