How do I send URL commands to an IP camera?

Desert_AIP

Senior Member
I have a list of the commands.
I can bring up the camera web interface in a browser so I know it's on the LAN.
I try to type the URL commands in the browser and nothing happens.

Ultimately, I'd like to do this in a script, but I'm trying to test the commands and am unsure how to proceed.

Thanks!
 
Vivotek (several models, but the commands are all the same)
 
The manual has several pages of HTTP: commands
It has a web interface.
 
I've been trying to type commands in the URL window of IExplorer and Chrome.
 
I'm a novice here, what's an API  :blink:
 
API is the application program interface.  Its basically a fancy term for "these are the commands i accept and these are the results i'll return to you".  In your case, its that list of http commands.
 
If you're on a Windows PC, the easiest way to script something like that is to use "wget".  Google it.
 
This is for a foscam to take a snapshot. 
 

Code:
D:\jobs>wget -O snap.jpg "http://172.16.1.101/snapshot.cgi?user=admin&pwd="
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = c:/progra~1/wget/etc/wgetrc
--2014-02-22 12:45:34--  http://172.16.1.101/snapshot.cgi?user=admin&pwd=
Connecting to 172.16.1.101:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51504 (50K) [image/jpeg]
Saving to: `snap.jpg'

100%[======================================>] 51,504       256K/s   in 0.2s

2014-02-22 12:45:34 (256 KB/s) - `snap.jpg' saved [51504/51504]
 
D_AIP, I have a Vivotek FD8151V and there are a couple of gotchas on sending URLs.
 
IIRC, I was never to send URLs to Chrome--as with the web interface, you have to be on IE but (I think) Vivotek does not support anything later than IE 8 or 9--check their website.   I assume you loaded the Vivotek ActiveX component on the computer with your browser since you got the web interface to work.  Note, however, that if your browser image in the web interface is loaded using QuickTime instead of natively in the browser interface, I suspect Active X did not (yet) get installed, and I think you'll need it installed to use URLs.  
 
I use CQC to interface with the Vivotek (by sending it URLs from CQC), and I think I ended up using a scipt. Unfortunatley, I am out of town this weekend, and I can't check the mechanics of what I did until early next week.  I'll be happy to check then.  
 
Desert_AIP
I use a Homeseer plugin to send certain commands - like to turn the IR Led's on or off.
 
Desert_AIP
Try using your browser - in my HS Plugin for instance, here is the format I use - I assume the plugin supplies the IP address. Keep in mind if you have a password/account setup that would also need to go into the string somehow.
(Vivotek 7381?)
 
This turns IR off
/cgi-bin/admin/setparam.cgi?ircutcontrol_disableirled=1
change to 0 to turn it on.
 
Thanks guys

I'll turn off the password to remove that variable and test commands.
Then re-enable and incorporate those statements in the string.

I'll give it a try this week.
 
That's working just in the browser now.
Hmmm...
I wonder if I had a syntax error before?
 
Off to test some other things.
 
Thanks
 
Back
Top