event call url

Joined
Mar 22, 2018
Messages
4
Reaction score
0
Hello, if it is possible if alarm event is occur to call a url? Or it is only possible if event occur to send email for example?
 

Jeremy Spiering

Young grasshopper
Joined
Feb 14, 2018
Messages
24
Reaction score
20
Hi I know about email. But call url is not possible or maybe with some trick?
Call url is not directly possible, but you can write a program that "listens" for events to occur, and the you could call the URL yourself in code. Hikvision uses ISAPI for an API and you can make calls to various channels and streams and listen for events to occur. If you are familiar with node.js, there is an NPM package that will make your life easier by doing the heavy lifting for you. In just a few lines of code, you can subscribe to motions events, and then in a callback, you could call a URL, or do anything else you wanted problematically.

node-hikvision-api
 

Ron C

Young grasshopper
Joined
Jun 20, 2019
Messages
49
Reaction score
3
Location
Los Alamos, NM, USA
Call url is not directly possible, but you can write a program that "listens" for events to occur, and the you could call the URL yourself in code. Hikvision uses ISAPI for an API and you can make calls to various channels and streams and listen for events to occur. If you are familiar with node.js, there is an NPM package that will make your life easier by doing the heavy lifting for you. In just a few lines of code, you can subscribe to motions events, and then in a callback, you could call a URL, or do anything else you wanted problematically.

node-hikvision-api

Hello Jeremy,

do you know if there is an event for listening or detecting a "call" or button push on a hikvision wifi doorbell?

Ron
 
Top