Asked — Edited
Resolved Resolved by ptp!

Using Httpget Command With Foscam F19831p Wifi Ip Camera?

DJ,

I have a newer Foscam F19831p Wifi IP Camera and am trying to control the PTZ functions using HTTPGet Command. I type in the following and looking in the debug screen it appears to be connecting as there are no errors but the camera does not move:

HTTPGet("http://192.168.x.x:Port/cgi-bin/CGIProxy.fcgi?cmd=ptzMoveRight&user=username&pwd=password";)

I also tried the following and I got server connection errors in debug:

HTTPGet("http://192.168.x.x:Port/decoder_control.cgi?command=6&user=username&pwd=password";)

Command=6 is the command to move the camera right.

My camera is a newer model so the first sequence appears to connect to the server but no actions. Also just for grins I changed both the password and username in the first script and it still seemed to connect. The only reason I say that it connected is because there were no errors in the debug screen.

Any help would be much appreciated. Never have been able to get the camera video to show in the camera control after putting URL in video device box for control?

If you can view the Foscam Camera in ARC PC can you also view the foscam video in the Mobile App or can you just view the video from the ez-robot camera in the Mobile App?

Any help with this issue would be much appreciated and I have read all the threads regarding Foscam IP Cameras although I have seen nothing on my particular model as it is a newer version. I bought it about 2 years ago. I have found different foscam command documents and the first script above that appears to connect was from the lattest version as far as I can tell. Thanks Again ! Rick B.

:)


ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

#9  

@Rick

Tiny Cam Monitor is definitely better than the Foscam software. I am glad you and PTP got this working because I wound up with a huge todo list today so I might not have gotten it figured out.

I think it would be pretty easy to make a plug-in for controlling this. I'll put it high on my list (unless PTP wants to tackle it before I get there).

I think it is possible to put one of the substreams into mjpeg mode instead of snapshot mode. Might get better performance in the EZ-B camera window. It is also possible to use VLC or ffmpeg to live transcode from the h. 264 rtsp stream to an mjpeg stream.

Alan

Alan

#10  

Techguru,

That sounds awesome. It would be cool if the plugin would allow it to work with the mobile app also. Anything that would improve the speed of the video in ARC would be great ! Rick:)

#11  

Hello ptp & techguru,

I tried using the setPtzSpeed command by using the following in the HTTPGet statement but it does not appear to change the speed: cmd=setPtzSpeed=1

The speed can have a value between 0-4. Changing the value doesn't change the speed. Is there some kind of syntax error I am missing?

Can multiple commands be included in the same HTTPGet statement?

Thanks again for all the help ! Rick:)

#12  

I'll test the setPtzSpeed command after work today. I did notice when reading the cgi commands manual that every command used by any Foscam device is there, and some are not applicable to every device, although this one seems like it should be supported by the newest top if the line devices.

You can only send one command per HTTPGet.

Note: to test any command, it is best to try it in your web browser before trying it in ARC because you will be able to see the response.

If the response is "0" then the device at least thinks the request was valid.

I don't know all of the responses (probably in the manual, but I just scanned it yesterday), but I know a "-3" is one type of failure.

Alan

#14  

Thanks techguru and ptp,

I tried cmd=setPtzSpeed&speed=4.........and it did not work. Next I tried cmd=setPtzSpeed&ptzspeed=4 and it worked. Also in the command document it says zero is the slowest speed and 4 is the highest speed. I have found just the opposite to be true. Thanks again for your help ! Rick :)

#15  

They don't make it easy when the documentation is wrong.....

Alan