How to speed up "On Alert" actions

JulesL

n3wb
Mar 24, 2019
4
0
France
Hi,

I have BI + CP AI 2.5 installed and set up. I have also a domotic controler and connected switch to switch on all lights outside.

CP AI analyses 4 pictures total (no pretrigger, 4 picture (1 each 500ms)

My CP AI takes less than 100ms to analyze an image. Often, the first image confirms the trigger.

The "On Alert" actions for the 2 cameras (Cam1/Cam2) are : 1 critical notification to 3 devices (A,B,C) and 2 web request.

As you can see in the log, the web request and the pushes takes around 6 to 7 seconds to finish after the moment when the alert is confirmed. I would like to switch on my light as fast as possible. Why are the on alert actions taking so long (push notifications do not have any snapshot/gif and the webrequest is on local network).

Code:
3     04/03/2024 20:11:42.188    Cam2                Motion_A
3     04/03/2024 20:11:43.672    Cam1                 Motion_A
0     04/03/2024 20:11:43.707    Cam2                AI: [ipcam-general] person:89% [258,56 345,226] 112ms
0     04/03/2024 20:11:43.700    Cam2                AI: person:89%
0     04/03/2024 20:11:45.254    Cam1                 AI: [ipcam-general] person:89% [306,88 402,261] 36ms
0     04/03/2024 20:11:45.266    Cam1                 AI: person:89%
0     04/03/2024 20:11:46.270    Cam2               Push: OK to A
0     04/03/2024 20:11:46.920    Cam1                 Push: OK to A
0     04/03/2024 20:11:47.740    Cam2               Push: OK to B
0     04/03/2024 20:11:48.375    Cam1                 Push: OK to B
0     04/03/2024 20:11:48.527    Cam1                 Web: 200 OK
0     04/03/2024 20:11:48.871    Cam1                 Web: 200 OK
0     04/03/2024 20:11:49.101    Cam2                Push: OK to C
0     04/03/2024 20:11:49.848    Cam1                 Push: OK to C

Thank you for your help