Foscam FI9826P PTZ control

Moderator: leecollings

Post Reply
DomoUHT
Posts: 15
Joined: Friday 13 March 2015 22:08
Target OS: OS X
Domoticz version: 2.2293
Location: Alkmaar, The Netherlands
Contact:

Foscam FI9826P PTZ control

Post by DomoUHT »

to control Pan-Tilt-Zoom for my Foscam FI9826P from DomoticZ, I've made up 3 selector switches sending the appropriate cgi commands by json.

Took the cgi commands from here :http://www.ipcamcontrol.net/files/Fosca ... V1.0.4.pdf

This camera has a rather good wide-angle view when zoomed Out fully. Zooming is normally found on the more expensive outdoor cameras. This one is for indoor only but has a nice 3X zoom functionality.

PTZx.png
PTZx.png (32.89 KiB) Viewed 2480 times
Zoom1sec.png
Zoom1sec.png (28.41 KiB) Viewed 2480 times
Zoomfull.png
Zoomfull.png (27.06 KiB) Viewed 2480 times

The PTZx selector is defined as :
(http commands are : [http://] 10.0.111.101/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=[name of FI9826P preset point]&usr=XXX&pwd=YYY)
You have to define and name the preset points in the Foscam camera webpage (which in my case is on local IP 10.0.111.101).

Zoom1sec selector is set up as a 1 sec delayed-off switch.
(http commands are :
[http://] 10.0.111.101/cgi-bin/CGIProxy.fcgi?cmd=zoomStop&usr=XXX&pwd=YYY
[http://] 10.0.111.101/cgi-bin/CGIProxy.fcgi?cmd=zoomIn&usr=XXX&pwd=YYY
[http://] 10.0.111.101/cgi-bin/CGIProxy.fcgi?cmd=zoomOut&usr=XXX&pwd=YYY

It takes about 4secs to zoom In or Out completely, so in ZoomFull the delay-off time is set to 5 secs. Note that Zooming is not stored in preset points (only Pan and Tilt positions can be stored and recalled).

Hope this will help my DomoticZ Soulmates.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests