Événements manquants avec 2 caméras

Bonjour @lunarok

Le plugin HIKVISION est fonctionnel chez moi avec une caméra DS-2CD2443G0-IW. Testé sur 200 événements et 100% de remontée d’événements.

Par contre, lorsque j’ajoute une deuxième caméra DS-2CD2T46G2-ISU/SL, beaucoup d’événements ne remontent pas dans les logs et des événements du type « duration » s’ajoutent et viennent remplacer les « fielddetection » :

2020-08-10 10:06:00 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1

Je suis en version stable du 2019-11-04 10:28:23 et jeedom 3.3.24.

Un exemple de « fielddetection » loupé avec 2 caméras en fonctionnement :

2020-08-10 09:57:40 xxx.xxx.x.xx1 - Event PIR, Action Start Channel 1

2020-08-10 09:57:41 xxx.xxx.x.xx2 - Event duration, Action Start Channel 1

Skipped Event: PIR Start 1 1010

Skipped Event: duration Start 1 1

Skipped Event: PIR Start 1 1011

Skipped Event: PIR Start 1 1012

Skipped Event: PIR Start 1 1013

Skipped Event: PIR Start 1 1014

Skipped Event: PIR Start 1 1015

Skipped Event: PIR Stop 1 1016

Ending Event: PIR1 - PIR - 19.818

2020-08-10 09:58:07 xxx.xxx.x.xx1 - Event PIR, Action Stop Channel 1

2020-08-10 09:58:17 xxx.xxx.x.xx1 - Event VideoLoss, Action Stop Channel 1

2020-08-10 09:58:27 xxx.xxx.x.xx1 - Event VideoLoss, Action Stop Channel 1

2020-08-10 09:58:33 xxx.xxx.x.xx1 - Event PIR, Action Start Channel 1

Skipped Event: PIR Start 1 1018

Skipped Event: PIR Start 1 1020

Skipped Event: PIR Start 1 1024

2020-08-10 09:58:37 xxx.xxx.x.xx1 - Event fielddetection, Action Start Channel 1

Skipped Event: PIR Start 1 1026

Skipped Event: fielddetection Start 1 1027

Skipped Event: fielddetection Stop 1 1028

Skipped Event: PIR Start 1 1030

Ending Event: PIR1 - PIR - 9.906

Ending Event: fielddetection1 - fielddetection - 11.114

Merci pour ton travail sur ce plugin et je suis disponible si besoin de tester des choses …

Pour être totalement clair, avec une camera en fonctionnement la remontée est fiable quelque soit la caméra, exemple de la camera 2 :

Skipped Event: duration Start 1 1
2020-08-10 10:33:41 xxx.xxx.x.xx2 - Event fielddetection, Action Start Channel 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Ending Event: fielddetection1 - fielddetection - 2.109
2020-08-10 10:33:44 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
2020-08-10 10:33:50 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Skipped Event: duration Start 1 1
Ending Event: fielddetection1 - fielddetection - 2.412
2020-08-10 10:33:52 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
2020-08-10 10:34:39 xxx.xxx.x.xx2 - Event fielddetection, Action Start Channel 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Ending Event: fielddetection1 - fielddetection - 2.713
2020-08-10 10:34:42 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
2020-08-10 10:34:49 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Skipped Event: duration Start 1 1
Skipped Event: duration Start 1 1
Ending Event: fielddetection1 - fielddetection - 2.116
2020-08-10 10:34:51 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1

mais parfois l’information remonte aléatoirement sur la camera 2 avec les 2 cameras en fonctionnement.

En comparant les 2 rapports de notification grâce au « alertStream » des 2 cameras, il y a bien l’ajout de notification avec un « eventType » « duration » dans la camera 2 qui n’est pas présent sur le rapport de la camera 1:

> <EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
> <ipAddress>xxx.xxx.x.xx2</ipAddress>
> <portNo>xx</portNo>
> <protocol>HTTP</protocol>
> <macAddress>xxxxxxxx</macAddress>
> <channelID>1</channelID>
> <dateTime>2020-08-10T14:37:26+02:00</dateTime>
> <activePostCount>1</activePostCount>
> <channelName>EXTERIEUR NORD</channelName>
> <eventType>duration</eventType>
> <eventState>active</eventState>
> <eventDescription>duration alarm</eventDescription>
> <DurationList>
> <Duration>
> <relationEvent>fielddetection</relationEvent>
> </Duration>
> </DurationList>
> </EventNotificationAlert>

Un exemple précis :
Alert stream :

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:35+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>fielddetection</eventType>
<eventState>active</eventState>
<eventDescription>fielddetection alarm</eventDescription>
<DetectionRegionList>
<DetectionRegionEntry>
<regionID>1</regionID>
<sensitivityLevel>52</sensitivityLevel>
<RegionCoordinatesList>
<RegionCoordinates>
<positionX>0</positionX>
<positionY>6</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>0</positionX>
<positionY>989</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>1000</positionX>
<positionY>998</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>1000</positionX>
<positionY>3</positionY>
</RegionCoordinates>
</RegionCoordinatesList>
<detectionTarget>human</detectionTarget>
</DetectionRegionEntry>
</DetectionRegionList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:36+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:36+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:36+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:37+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:37+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:37+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:38+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:38+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:38+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:38+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:39+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:39+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:40+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:40+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 534

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:40+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>fielddetection</eventType>
<eventState>inactive</eventState>
<eventDescription>fielddetection alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:40+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:41+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:34:50+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:35:00+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:35:10+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:35:20+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:35:30+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:35:40+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:35:50+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:00+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:10+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:20+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:30+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:39+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:49+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:36:59+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:37:09+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:37:19+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

La suite alert stream :

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:37:29+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:37:39+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:37:49+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:37:59+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:38:09+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:38:18+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 522

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:38:28+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>inactive</eventState>
<eventDescription>duration alarm</eventDescription>
</EventNotificationAlert>


--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:43:41+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:43:51+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:01+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:10+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 1176

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:11+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>fielddetection</eventType>
<eventState>active</eventState>
<eventDescription>fielddetection alarm</eventDescription>
<DetectionRegionList>
<DetectionRegionEntry>
<regionID>1</regionID>
<sensitivityLevel>52</sensitivityLevel>
<RegionCoordinatesList>
<RegionCoordinates>
<positionX>0</positionX>
<positionY>6</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>0</positionX>
<positionY>989</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>1000</positionX>
<positionY>998</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>1000</positionX>
<positionY>3</positionY>
</RegionCoordinates>
</RegionCoordinatesList>
<detectionTarget>human</detectionTarget>
</DetectionRegionEntry>
</DetectionRegionList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:11+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:11+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:11+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:11+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:12+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:12+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:12+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:13+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:13+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:13+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:14+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 625

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:14+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>duration</eventType>
<eventState>active</eventState>
<eventDescription>duration alarm</eventDescription>
<DurationList>
<Duration>
<relationEvent>fielddetection</relationEvent>
</Duration>
</DurationList>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 534

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:15+02:00</dateTime>
<activePostCount>1</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>fielddetection</eventType>
<eventState>inactive</eventState>
<eventDescription>fielddetection alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:25+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:35+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:45+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:44:55+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524
<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:45:04+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:45:14+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:45:24+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 524

<EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>xxx.xxx.x.xx2</ipAddress>
<portNo>xx</portNo>
<protocol>HTTP</protocol>
<macAddress>xxxxxxx</macAddress>
<channelID>1</channelID>
<dateTime>2020-08-10T20:45:34+02:00</dateTime>
<activePostCount>0</activePostCount>
<channelName>EXTERIEUR NORD</channelName>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
</EventNotificationAlert>

log jeedom correspondant :

    Skipped Event: duration Start 1 1
    Skipped Event: duration Start 1 1
    Skipped Event: duration Start 1 1
2020-08-10 18:33:25 xxx.xxx.x.xx2 - Event fielddetection, Action Start Channel 1
    Skipped Event: duration Start 1 1
    Skipped Event: duration Start 1 1
    Skipped Event: duration Start 1 1
    Ending Event: fielddetection1 - fielddetection - 44.438
2020-08-10 18:34:09 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
2020-08-10 18:34:13 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Ending Event: duration1 - duration - 14.405
Ending Event: fielddetection1 - fielddetection - 9.908
2020-08-10 18:34:23 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
2020-08-10 18:34:23 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1
2020-08-10 18:34:39 xxx.xxx.x.xx2 - Event duration, Action Start Channel 1
    Skipped Event: duration Start 1 1
2020-08-10 18:34:41 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Ending Event: duration1 - duration - 397.308
Ending Event: fielddetection1 - fielddetection - 396.71
2020-08-10 18:41:18 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
2020-08-10 18:41:18 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1
2020-08-10 18:41:27 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1
2020-08-10 18:42:37 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1
2020-08-10 18:43:16 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1
2020-08-10 18:44:12 xxx.xxx.x.xx2 - Event duration, Action Start Channel 1
    Skipped Event: duration Start 1 1
2020-08-10 18:44:16 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
Ending Event: duration1 - duration - 53.426
Ending Event: fielddetection1 - fielddetection - 49.522
2020-08-10 18:45:06 xxx.xxx.x.xx2 - Event fielddetection, Action Stop Channel 1
2020-08-10 18:45:06 xxx.xxx.x.xx2 - Event duration, Action Stop Channel 1

A 2 reprises dans l’alert stream 2020-08-10T20:34:35+02:00 et 2020-08-10T20:44:11+02:00, le <eventType>fielddetection n’est pas pris en compte et c’est les ‹ duration › qui ressortent en start dans le log jeedom à 2020-08-10 18:34:39 et 2020-08-10 18:44:12.

Voyant cela je me demandais si toutes les lignes étaient prises en compte par le code.

Il me semble avoir le meme probleme.
As tu du nouveau ?

@Rackam
Je t’invite à passer sur mon plugin
https://community.jeedom.com/t/plugin-hikvision-event-hikvisionevent/77738?u=loic69

1 « J'aime »