videoloss event...

Pierrick

n3wb
Oct 11, 2018
12
0
FRANCE
Hi guys,

I receive this content from /ISAPI/Event/notification/alertStream of my DS-2CD2185FWD-I cam.
My cam has 192.168.0.40 and is directly connected to my LAN.
I also have a hikvision NVR connected to my LAN...

<EventNotificationAlert version="2.0" xmlns="">
<ipAddress>192.168.0.40</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>XX:XX:XX:XX:XX:XX</macAddress>
<channelID>1</channelID>
<dateTime>2019-11-13T23:21:23+01:00</dateTime>
<activePostCount>0</activePostCount>
<eventType>videoloss</eventType>
<eventState>inactive</eventState>
<eventDescription>videoloss alarm</eventDescription>
<channelName>Salon</channelName>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 514


I don't understand what this "videoloss event" means... because I haven't notice any problem of video on my camera...
This event occurs regularly in the flow (every multiple of 10 seconds...)
I haven't found any document or specifications regarding ISAPI on hikvision website....

If you can help me to understand...
Thanks!!
 
Well then dont listen to that eventType ;) Or remove notify surveillance on that event

I use Soft from Google Play. I need to turn off this event on the camera. But I don't understand how...
I wrote to the developers app, but they have not answered.
Is there a way to disable this event from the stream? ( alertStream)
(DS-2CD2143G2-IU)
 
Under exception, look for videoloss exception and disable notify surveillance center. Sadly cant pinpoint exactly because it differs from firmware to firmware. But you need to show some will and go over menu, you wont break anything
 
I've already looked at every menu item, looking for it.
I even tried to enable this item by changing the page code (see screenshots).

I tried resetting the device to factory settings and setting it up again.
Maybe try to install old firmware?)

Nothing(
Each ten-second alarm sends "video loss."
I can give you access to the device))

On screenshots I tried "on" menu by edit html code)
 

Attachments

  • off_in_site_4.png
    off_in_site_4.png
    1.5 KB · Views: 5
  • off_in_site_3.png
    off_in_site_3.png
    26.5 KB · Views: 5
  • off_in_site_2.png
    off_in_site_2.png
    15 KB · Views: 5
  • off_in_site.png
    off_in_site.png
    10.6 KB · Views: 4
Thats weird, it should'nt go to alertStream if its disabled.

But cant really tell i never used ISAPI alertStream i used ALARM SERVER aka HTTP Listener where it does not go if notify is off

I will test tomorrow
 
I can run my server and open port and give you ip address/port and we can test if i get that event in Listener mode

Like this? It works perfectly (see screenshots). Prorblen only with alertStream .
Tomorrow, I will be at work all day. I can do it the day after tomorrow.

It seems the only option for me for now is to write my own application. Sounds bad, but realistic.

p.s. I found a document about this XML_EventNotificationAlert_HeartbeatInfo
 

Attachments

  • test_alarm_server.png
    test_alarm_server.png
    23.2 KB · Views: 4
  • test_alarm_server_result.png
    test_alarm_server_result.png
    22.2 KB · Views: 5
Last edited:
I can run my server and open port and give you ip address/port and we can test if i get that event in Listener mode

Maybe you recommend an Android app that can send push and/or telegram alerts without clouds or the internet.

My task is to install a camera in the house in the village, where there is very low-speed internet, and here lives a very old grandmather (92 years). I need alarms with pictures.
The camera will send an alarm via the local network to the phone. This phone will send a message to me.
 
So you want to avoid cloud option i just saw, sorry hik connect is cloud based, local adding will disable event push.

BUT you could makeTCP server on android BUT wou would need a static ip/port forward or dyndns + portforward to your phone.

OR have a application on PC and phone fetch data from that server. Eitherway its not an easy task.



I can help you with whatever scenario you would like. But dont count me in with android apps or something.

My core is ASP.NET core but backend mostly.
 
So you want to avoid cloud option i just saw, sorry hik connect is cloud based, local adding will disable event push.
yep, correct. Only local use...

BUT you could makeTCP server on android BUT wou would need a static ip/port forward or dyndns + portforward to your phone.
Yes, I found and bought a good app on Google Play. But it gives me false warnings, because it work based on the "alertstream," I wrote to the developers, but he stopped answering without reason a week ago.

Eitherway its not an easy task.
Yes, but I don't have other ideas...

I can help you with whatever scenario you would like. But dont count me in with android apps or something.
My core is ASP.NET core but backend mostly.
Thanks a lot! I'm very appreciative!
(but I hope my knowledge will be good enough for it. I will do my best) )

If you will have any ideas about alertStream, write please!