Api "attach" call doesn't work

eporedieis

n3wb
Joined
Mar 23, 2018
Messages
5
Reaction score
0
Hello, I'm spending many days looking for a solution, but without luck.
I'd like to use a script that use an api call to control the cameras state: it uses this link

When I use this link in a browser, the browser load, and load, and load, but it will never print a text. I tried in a lot of different links, with or without the "&channel=0", with one or more event code, etc... but nothing to do. I have a Dahua NVR with many Dahua PoE cameras.

IVS events are correctly working with email alerts and VideoMotion works with this link:
The only problem I have is the only one I need :facepalm: Anyone could help me please?
 
Last edited:

Speed666

Getting the hang of it
Joined
Sep 19, 2015
Messages
167
Reaction score
91
Because you should attach this link to a script that will read it continously and get events as they arrive in timeline. As "attach" command says....
 
Top