I want to trigger Blue Iris (BI) to take a snapshot on a foscam camera. I can trigger the foscam directly using a web resoure, but blue iris is much faster and speed is critical to me. Not only that but I end up with more flexibility if I get the images and recordings in BI along with everything else that its doing. So I really want to control BI.
I have set up a batch file (snapshotcam1) which when executed from the dos/win command line immediately causes BI to take the snapshot and place it in BI's repository.
I have also created a jscript which I have placed in the BI webserver, which, when I enter directly into the browser causes the "onload" function to immediately fire the batch file (and take the picture). So far so good.
Now when I create the web resource, its not doing anything (at least its not firing the pic) - probably doing other things . Yes I know this is round-about and if someone has a better way to cause BI to save a snapshot from a camera I would like to hear it.
Why? Door opens, camera swivels to it, takes one or more pics. Doing this directly to the foscam is taking time. For some reason Foscam will not take pic until some alloted amount of time has passed (10sec?). Thats bad. By that time, what I care about has come and gone. My motion sensors are immediate and the response from the camera to the ISY program is immediate. So I can move the camera where i want right away. So everything is good, but my ability to IMMEDIATELY snap pics (which BI can do) but which I am having lots of trouble controlling from ISY.
Suggestions?
Rich S.