zerop Posted September 28, 2015 Share Posted September 28, 2015 (edited) Wasn't sure where to post this. I have the "Foscam IP Camera CGI User Guide" and have been using it along with the network module to accomplish certain things on my Foscam IP camera. I've pretty much figured out how to do it and it works. What I don't see though is anything in the IP camera user guide on how to start and/or stop recording (manually or not via an alarm) or set schedule recording. Am I missing something? Does anyone have any ideas or can point me in the right direction? My intent is to enable the schedule recording when I am away. Therefore I'd like to be able to send a command to enable the scheduled recording when I activate my Away program on my ISY and disable the scheduled recording when I come home and turn off my Away program. Edited September 28, 2015 by zerop Link to comment
jerlands Posted September 28, 2015 Share Posted September 28, 2015 Wasn't sure where to post this. I have the "Foscam IP Camera CGI User Guide" and have been using it along with the network module to accomplish certain things on my Foscam IP camera. I've pretty much figured out how to do it and it works. What I don't see though is anything in the IP camera user guide on how to start and/or stop recording (manually or not via an alarm) or set schedule recording. Am I missing something? Does anyone have any ideas or can point me in the right direction? My intent is to enable the schedule recording when I am away. Therefore I'd like to be able to send a command to enable the scheduled recording when I activate my Away program on my ISY and disable the scheduled recording when I come home and turn off my Away program. I don't have first hand info but googled "Foscam IP Camera CGI start stop recording" and that led me to the Foscam Forum. Jon... Link to comment
zerop Posted September 28, 2015 Author Share Posted September 28, 2015 I don't have first hand info but googled "Foscam IP Camera CGI start stop recording" and that led me to the Foscam Forum. Jon... Thanks, I found that as well but it doesn't actually have an answer. I had the same question as the original poster but it looks like the person responding didn't understand the question. I'll keep Googling. Link to comment
zerop Posted September 29, 2015 Author Share Posted September 29, 2015 (edited) What model camera? I didn't think it made much difference as I thought most of the commands were pretty universal but in case they're not I've got the following: Foscam FI9821EP (PoE - Power Over Ethernet) Edited September 29, 2015 by zerop Link to comment
zerop Posted October 1, 2015 Author Share Posted October 1, 2015 I was able to figure out how to get the Schedule Recording to work by using /cgi-bin/CGIProxy.fcgi?cmd=setScheduleRecordConfig&isEnable=1 But now I'm trying to figure out how to turn the audio on along with the schedule recording. I've tried, &audio=1 and &audiorecord=1 but neither of these worked. Anyone? Link to comment
kstock Posted October 2, 2015 Share Posted October 2, 2015 Here is the full command syntax Function: Set schedule recordconfig Privilege: admin Usage: /cgi-bin/CGIProxy.fcgi?cmd=setScheduleRecordConfig Param: isEnable: Schedule-Record enable status, 0-disable,1-enable recordLevel: Level for drop frame,0-30/30,1-24/30,2-15/30,3-8/30, 4-4/30,5-1/30; spaceFullMode: The process method when SD card is full,0-cover the oldest video and continue record,1-stop record isEnableAudio: Is recording include audio? 0-no,1-yes scheduleN: The motion alaram schedule of one week, N = 0(Monday) ~6(Sunday) For detail, see *1 bellow /cgi-bin/CGIProxy.fcgi?cmd=setScheduleRecordConfig&isEnable=1&recordLev el=0&spaceFullMode=0&isEnableAudio=0&schedule0=1023&schedule1=1023& schedule2=1023&schedule3=1023&schedule4=1023&schedule5=1023&sched ule6=1023&usr=admin&pwd= Link to comment
apostolakisl Posted October 2, 2015 Share Posted October 2, 2015 (edited) I was able to figure out how to get the Schedule Recording to work by using /cgi-bin/CGIProxy.fcgi?cmd=setScheduleRecordConfig&isEnable=1 But now I'm trying to figure out how to turn the audio on along with the schedule recording. I've tried, &audio=1 and &audiorecord=1 but neither of these worked. Anyone? If your trying to get a scheduled recording on a foscam to record with audio. . . you can't. At least you can't on my model and I think that this is the case across the board. I had to use a PC and a 3rd party software to record with sound on a schedule. It will record with audio on a motion alarm, but the longest you can set a motion alarm to record for is 5 minutes. Edited October 2, 2015 by apostolakisl Link to comment
zerop Posted October 2, 2015 Author Share Posted October 2, 2015 Here is the full command syntax Function: Set schedule recordconfig Privilege: admin Usage: /cgi-bin/CGIProxy.fcgi?cmd=setScheduleRecordConfig Param: isEnable: Schedule-Record enable status, 0-disable,1-enable recordLevel: Level for drop frame,0-30/30,1-24/30,2-15/30,3-8/30, 4-4/30,5-1/30; spaceFullMode: The process method when SD card is full,0-cover the oldest video and continue record,1-stop record isEnableAudio: Is recording include audio? 0-no,1-yes scheduleN: The motion alaram schedule of one week, N = 0(Monday) ~6(Sunday) For detail, see *1 bellow /cgi-bin/CGIProxy.fcgi?cmd=setScheduleRecordConfig&isEnable=1&recordLev el=0&spaceFullMode=0&isEnableAudio=0&schedule0=1023&schedule1=1023& schedule2=1023&schedule3=1023&schedule4=1023&schedule5=1023&sched ule6=1023&usr=admin&pwd= THANK YOU!!! This is exactly what I was looking for. I'd scoured the internet and just couldn't find that. Where did you get this from? Do you have a version of the CGI manual that I don't have? If so could you post a link to it? I've got Ver.1.0.4 and Ver.1.0.8, neither of which shows what you gave me. Link to comment
zerop Posted October 2, 2015 Author Share Posted October 2, 2015 (edited) If your trying to get a scheduled recording on a foscam to record with audio. . . you can't. At least you can't on my model and I think that this is the case across the board. I had to use a PC and a 3rd party software to record with sound on a schedule. It will record with audio on a motion alarm, but the longest you can set a motion alarm to record for is 5 minutes. On mine you can set a schedule record with audio. Foscam FI9821EP System Firmware Version: 1.5.2.11 Application Firmware Version: 2.21.1.143 Plug-In Version: 3.1.0.10 Edited October 2, 2015 by zerop Link to comment
kstock Posted October 3, 2015 Share Posted October 3, 2015 zerop Latest CGI I have is Ver 1.0.10. Is a PDF file. Happy to send to you. PM me with your email address Link to comment
zerop Posted January 17, 2017 Author Share Posted January 17, 2017 So, I have recently purchased some new Foscam PoE cameras model FI9901EP. I have setup several network resources to control my other Foscam cameras (model FI9821EP) and everything has been working fine. I tried using the same network resources for my new model cameras and it doesn't work. Is there a new CGI user manual with different commands for the newer Foscam cameras? Link to comment
KeviNH Posted January 17, 2017 Share Posted January 17, 2017 (edited) That's one of the reasons I avoid Foscam, they have different families of software on different camera models, so features and API that works for one model do not apply to others. One workaround is use a NVR that does publish a featureful API, do your scheduled recording in the NVR instead of on camera. Preferably ONVIF Profile S cameras, but anything supported by your NVR would be usable. Even the free NVR from Milestone or ZoneMinder could suffice for a small deployment. Edited January 18, 2017 by KeviNH Link to comment
Jimbo.Automates Posted January 17, 2017 Share Posted January 17, 2017 So, I have recently purchased some new Foscam PoE cameras model FI9901EP. I have setup several network resources to control my other Foscam cameras (model FI9821EP) and everything has been working fine. I tried using the same network resources for my new model cameras and it doesn't work. Is there a new CGI user manual with different commands for the newer Foscam cameras?The links to both manuals are listed in camera polyglot https://github.com/jimboca/camera-polyglot/blob/master/README.md Sent from my Nexus 6P using Tapatalk Link to comment
Recommended Posts