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 :
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.
1 post • Page 1 of 1
Users browsing this forum: No registered users and 1 guest