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.
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.
Foscam FI9826P PTZ control
Moderator: leecollings
Who is online
Users browsing this forum: Bing [Bot] and 0 guests