ONVIF integration - delay on smart notification

Hi there,

I am using the standard ONVIF integration with two my Hikvision Cameras:

DS-2CD2123G0E-I
DS-2CD2123G0E-I(B)

First, I set up the automation for basic motion events. Automation works quickly enough, photos are successfully sent to Telegram. The notification is set to the Notify Surveillance Center. But the basic event has problems: frequent false positives of the event, usually associated with turning the lights on and off in the room.

Then I tried to set up smart intrusion detection notifications and got another problem: a very high notification delay, up to 15 seconds. If the object quickly crosses the zone, then the notification does not come at all.

Based on what I managed to find on the Internet, these cameras work with NVR without problems, intrusion detection works instantly.

Perhaps someone has already solved a similar problem?