The Vera Community forums have moved!

Advanced => Plugins & Plugin Development => Programming => Foscam IP Camera Plugin => Topic started by: mcvflorin on June 29, 2012, 09:49:49 am

Title: Foscam IP Camera Plugin
Post by: mcvflorin on June 29, 2012, 09:49:49 am
I just finished tweaking the Foscam plugin version 2.0 and written some documentation. Now it has support for motion sensor and presets. It should work for both UI4 and UI5. Presets are supported only in firmware versions starting with 1.5.390.

The documentation is here:
http://code.mios.com/trac/mios_foscam-camera

Note: On firmwares older than 1.5.390 arming and bypassing the motion sensor won't work unless you upload this (http://code.mios.com/trac/mios_foscam-camera/raw-attachment/wiki/WikiStart/D_DigitalSecurityCamera1.xml) file on Vera. After you upload the file, you must reload the Luup engine.

Edit: By the way, those who don't like the new version can get the old one here: http://code.mios.com/trac/mios_foscam-camera/browser#tags/1.0

Edit no.2: I updated the documentation (http://code.mios.com/trac/mios_foscam-camera#Gettingpresetssupportinpost1.5.390firmwares) with instructions for getting presets support in post 1.5.390 firmwares.

Edit no.3: It seems that the updated camera interface with 8 preset buttons didn't make it into the beta release. I attached the updated file. Upload it on Apps >> Develop Apps >> Luup Files and reload Luup after uploading.
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on June 29, 2012, 11:29:52 am
The updated plug-in installed this morning. The new motion sensor appeared, it auto-detected my Vera IP, etc.

However, when I click on "Arm" or "Bypass" on the sensor I get a "No Implemention" warning pop-up. Have I missed something in the set-up?

The sensor defaulted to "Arm" but unfortunatly I am not at home to test to see if it is acutally working.

I have a Vera Lite  with FW 1.5.346 and am using a Foscam FI8910W.

Thanks,
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on June 29, 2012, 11:56:44 am
@Trotsky40

Yeah, I forgot about this. See the note in the first post.
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on June 29, 2012, 12:14:59 pm
Thanks. I can confirm the motion sensor plug-in works well (my wife is working from home). The plug-in also turned on the the email function in the camera (it emails me five or six photos when motion is detected, set-up seperately directly through the camera). This is an added bonus as I was just expecting the motion trigger email from the Vera unit.

Now I just need to install the other file to turn it off  :D

Title: Re: Foscam IP Camera Plugin
Post by: evanes on June 29, 2012, 03:34:28 pm
Great, my Foscam has been pretty unstable using other device files. (generic ipcam plugin)

but, I feel kind of silly not knowing how to install this device by hand on UI4. Could you please provide me with some instructions...
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on June 29, 2012, 03:39:40 pm
I can't say about UI4 but these instructions worked like a champ on UI5:

http://forum.micasaverde.com/index.php/topic,10599.msg77991.html#new (http://forum.micasaverde.com/index.php/topic,10599.msg77991.html#new)
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on June 30, 2012, 12:24:08 am
I have noticed that "Bypass" disables the motion detection in the Vera but leaves it on in the camera. I don't get email notifications from Vera but I still get the email alerts from the camera. Is there anyway to make the "Bypass" switch disable the motion detection in the camera itself?
Title: Re: Foscam IP Camera Plugin
Post by: Johan on June 30, 2012, 03:34:42 pm
I just finished tweaking the Foscam plugin version 2.0 and written some documentation. Now it has support for motion sensor and presets. It should work for both UI4 and UI5. Presets are supported only in firmware versions starting with 1.5.390.

The documentation is here:
http://code.mios.com/trac/mios_foscam-camera

Note: On firmwares older than 1.5.390 arming and bypassing the motion sensor won't work unless you upload this (http://code.mios.com/trac/mios_foscam-camera/raw-attachment/wiki/WikiStart/D_DigitalSecurityCamera1.xml) file on Vera. After you upload the file, you must reload the Luup engine.

Edit: By the way, those who don't like the new version can get the old one here: http://code.mios.com/trac/mios_foscam-camera/browser#tags/1.0

Dear mcvflorin,

I managed in no time to get the plugin working. Two weeks later, Vera 3 is now producing the error "Missing Vera IP address" although the Foscam camera is working well in Vera 3 UI5. Do you know why? I haven't change a thing.

Regards Johan
Title: Re: Foscam IP Camera Plugin
Post by: ehillis on June 30, 2012, 04:01:36 pm
@mcvflorin

Is it possible to specify an existing NAS based FTP server for the resulting pictures/videos to be written to? Currently have it specified in all 14 cameras. Would like it to be in vera so I have the capability of applying conditions to it.
Title: Re: Re: Foscam IP Camera Plugin
Post by: garrettwp on June 30, 2012, 04:26:31 pm
@mcvflorin

Is it possible to specify an existing NAS based FTP server for the resulting pictures/videos to be written to? Currently have it specified in all 14 cameras. Would like it to be in vera so I have the capability of applying conditions to it.

This has been asked several times. You'll need to use luup code to save the image to the ftp server. If you do a search, you'll be able to find a thread or two regarding your question.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: ehillis on June 30, 2012, 08:04:40 pm
@garretwp

I've already read all the postings for writing the video/pictures from within Vera, and they were enlightening, but opted for using the built in features of the Foscam cameras to capture the video/pictures to a FTP server. My suggestion was to add additional function to vera that wouldn't have to be maintained by the user in future releases of the product. A half century of IT experience has taught me to avoid custom code if at all possible, a lot of it self inflicted.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on June 30, 2012, 08:10:57 pm
Unless MCV add this option, adding custom code is the only way to go. I understand what you are saying as I am to in the IT industry working with some of the most powerful computers in the world. Custom code can get messy. I would suggest that you open a feature request over at bugs.mios.com.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: JOD on June 30, 2012, 08:53:32 pm
Quote
Note: On firmwares older than 1.5.390 arming and bypassing the motion sensor won't work unless you upload...
Installed the plug-in while running 1.5.407 and getting No Implementation of Arm/Bypass on the motion sensor, uploaded the new D_DigitalSecurityCamera1.xml anyway, but same scenario.
Title: Re: Foscam IP Camera Plugin
Post by: Grain on July 01, 2012, 09:32:43 am
I feel kinda silly but can't figure it out..

I installed the plugin, uploaded the extra file, created the device and can see live video.
Can't use PTZ as it says "No Implementation".

Vera 2 1.5.346
Foscam FI8918W

what I did was:
- Apps - Install Apps - install Foscam IP Camera 2.0
- Apps - Develop Apps - Luup files - upload D_DigitalSecurityCamera1.xml (this file appears twice now in the list)
- Apps - Develop Apps - Create device - enter D_DigitalSecurityCamera1.xml as "upnp Device Filename" and Foscam as "Description"

I don't seem to have the StepSize, ReverseControls & VeraAddress Variables.
I also can't seem to find the Motion Sensor.

any tips are appreciated..

btw. thanks mcvflorin for updating this plugin!
Title: Using Foscam IP Camera Plugin
Post by: silvereagle2208 on July 01, 2012, 11:58:50 am
@ Grain
I have a Foscam FI8910W, and I also am not seeing the step size, reverse control, or Vera  address variables.

Since I uploaded the new version of  D_DigitalSecurityCamera1.xml that MCVFlorin provided,  I now also have two copies of the  D_DigitalSecurityCamera1.xml  file listed.
 
I cannot get the Activation Icon for my Foscam camera to indicate that the camera's motion sensor was tripped (activated). 

I added I_FoscamPTZ.xml to the impl_file field on the Motion Sensor Advanced tab.  It appeared to have no effect.  Is this field needed at this time?

Email images are being sent.  However, the source of the emails is the camera, not the motion sensor module.

If I change the "Controlled via" from the parent camera to Vera (or some other parent), the Motion Sensor device for that camera disappears from the UI5 interface.  The only way I could restore the lost motion sensor device was to Restore the system from a previous backup.

@Trotsky40
I do not agree with your request that if you set the BYPASS mode on the new Vtera Foscam Motion Sensor device that you want it to turn of Motion Capture on the parent IP camera as well.  I regard the camera motion detection as my baseline.  I do not want Vera to override my baseline.  At most, I want Vera to supplement my camera baseline.  If you want a button on the Foscam Motion Sensor tab to override the camera motion detection, then there needs to be 3 buttons: Armed, Bypass, Turn Off Parent Camera Motion Capture.  This new motion module is still too experimental.  I also consider it to be somewhat unnecessary, since I feel the prime location where camera motion capture should be Enabled/Disabled should be on the camera itself, with Vera providing supplemental functionality.



Title: Foscam IP Camera Plugin
Post by: Brientim on July 01, 2012, 01:55:02 pm
Since I uploaded the new version of  D_DigitalSecurityCamera1.xml that MCVFlorin provided,  I now also have two copies of the  D_DigitalSecurityCamera1.xml  file listed.

The second copy of the camera is your system updating after the changes were put in place. You need to be patient and allow the changes to be written to memory and then the duplicate will disappear without your intervening. Whilst it is in this phase, it is best to to be doing anything on you system as this uses the resources that would otherwise be allocated to this task.

As identified in other post on this forum, if you have a Vera2 you can improve perform by logging to. USB and if required, set up an external swap file on a USB.
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 02, 2012, 05:47:23 am
Wow, I didn't expect this much activity on this thread. :)

I have noticed that "Bypass" disables the motion detection in the Vera but leaves it on in the camera. I don't get email notifications from Vera but I still get the email alerts from the camera. Is there anyway to make the "Bypass" switch disable the motion detection in the camera itself?

It's possible to implement this, but Bypass and Arm have always been only for Vera devices and not for the real (physical) devices, so I won't change this.

I managed in no time to get the plugin working. Two weeks later, Vera 3 is now producing the error "Missing Vera IP address" although the Foscam camera is working well in Vera 3 UI5. Do you know why? I haven't change a thing.

That's because the plugin requires the Vera IP address or URL to configure the camera to send the alarm notifications to, and it failed to detect it based on the camera's IP address. You must enter the IP address or URL of the Vera in the camera's control panel, Advanced tab.

Installed the plug-in while running 1.5.407 and getting No Implementation of Arm/Bypass on the motion sensor, uploaded the new D_DigitalSecurityCamera1.xml anyway, but same scenario.

This I have to investigate.

I installed the plugin, uploaded the extra file, created the device and can see live video.
Can't use PTZ as it says "No Implementation".

what I did was:
- Apps - Install Apps - install Foscam IP Camera 2.0
- Apps - Develop Apps - Luup files - upload D_DigitalSecurityCamera1.xml (this file appears twice now in the list)
- Apps - Develop Apps - Create device - enter D_DigitalSecurityCamera1.xml as "upnp Device Filename" and Foscam as "Description"

I don't seem to have the StepSize, ReverseControls & VeraAddress Variables.
I also can't seem to find the Motion Sensor.

You must add I_FoscamPTZ.xml to the impl_file field on the Camera Advanced tab.

I have a Foscam FI8910W, and I also am not seeing the step size, reverse control, or Vera  address variables.

I cannot get the Activation Icon for my Foscam camera to indicate that the camera's motion sensor was tripped (activated). 

You add I_FoscamPTZ.xml to the impl_file field on the Camera Advanced tab.

I added I_FoscamPTZ.xml to the impl_file field on the Motion Sensor Advanced tab.  It appeared to have no effect.  Is this field needed at this time?

I don't recommend this because the motion sensor will have the same startup code as the camera and it's possible you'll get some errors.

Email images are being sent.  However, the source of the emails is the camera, not the motion sensor module.

That's normal, the motion sensor is a child device of the camera.

If I change the "Controlled via" from the parent camera to Vera (or some other parent), the Motion Sensor device for that camera disappears from the UI5 interface.  The only way I could restore the lost motion sensor device was to Restore the system from a previous backup.

I don't recommend changing the Controlled via parameter. This can cause the Luup engine on your Vera to enter a restart loop if you make a wrong change.

Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 02, 2012, 05:55:17 am
The reason there are two copies of the D_DigitalSecurityCamera1.xml file listed is because this file is found both in /etc/cmh-lu and /etc/cmh-ludl. All the uploaded files go in /etc/cmh-ludl. If you click any of the files, the one in /etc/cmh-ludl will always be displayed. There were plans to update the script that displays the files, but this was never implemented.

The only difference between the existing file and the one you upload is this: the file you upload contains the XML tag <handleChildren>1</handleChildren>. This means that all the actions used by the child devices of the camera will use the implementation from the camera.
Title: Re: Foscam IP Camera Plugin
Post by: Grain on July 02, 2012, 06:20:08 am
thanks a lot for your reply mcvflorin!
adding I_FoscamPTZ.xml to the impl_file field on the Camera Advanced tab made the fields show up, PTZ control is enabled and the Motion Sensor shows up.

gonna play some more with this during the following days, thanks again!
Title: Re: Foscam IP Camera Plugin
Post by: napolitano172 on July 02, 2012, 12:05:32 pm
I finally got around to updating this today and it is great!

Do have a question though.  I have alarm sensors and they change from green to red back to green when motion is detected.  This device started out green and then went to red and stays red.  I have not been able to get it to change back to a green - no motion state.

Interesting enough though, I asked the Vera 3 unit  to take a picture when the motion sensor detected motion and it only takes a picture when motion is sensed, regardless of what the sensor device is actually showing.  So it appears to be working correctly, just not representing correctly within the Foscam Motion Sensor device itself.  This is within Vera 3 Firmware 1.5.346.

I also have a Vera 2 running on UI4 and it installed great and works on that unit as well, but again once tripped it doesn't seem to reset.

Played with the ontime to seem if that would reset the sensor but didn't seem to do anything.

I'm sure I must be missing something, any help would be great.
Title: Re: Foscam IP Camera Plugin - Additional question
Post by: silvereagle2208 on July 02, 2012, 12:11:41 pm
@mcvflorin,

Thank you for the prompt reply.  There is a great deal of activity on this thread because tying Remote Cameras to Vera is very important to a large number of MCV customers.

I had many questions over the weekend.  After your email, I think I now where to begin to resolve them.
The first thing that I need to be do is to provide the MAC address and the IP address of the Vera Unit on the Camera Motion Sensor Advanced tab.  This is not intuitive, because in the Advanced tab of the Camera model, you want the MAC address and IP address of the camera itself.  The field names are the same, but the information they require is very different.  Would it be possible to provide different names for these fields to minimize confusion?

Under this set of circumstances, the id_parent field in the Camera Motion Sensor Advanced tab is critical because it is the only way that Vera knows the Camera parent of the Motion Sensor child.

I have a question regarding the new Camera Motion Sensor and emails: Do I use the Notifications tab of the Camera Sensor Device to tell Vera where to send emails in case the Camera Motion Sensor is tripped?

Title: Re: Foscam IP Camera Plugin
Post by: JOD on July 02, 2012, 04:11:02 pm
Quote
Interesting enough though, I asked the Vera 3 unit  to take a picture when the motion sensor detected motion and it only takes a picture when motion is sensed, regardless of what the sensor device is actually showing
When I looked at this yesterday, this appeared to be a one way street, once the plugin enables the motion notification within the camera, setting the UI motion detector to Bypass only disengages Vera's trigger part, motion detection is still enabled on the camera.

@mcvflorin, presets 1 - 6 work great, any plans on adding 7 & 8 to the device?
Also, I'm sure users will be asking for the presets to be added into automation, so that triggers can move the camera to a preset.
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on July 02, 2012, 05:05:46 pm
Do have a question though.  I have alarm sensors and they change from green to red back to green when motion is detected.  This device started out green and then went to red and stays red.  I have not been able to get it to change back to a green - no motion state.

I have noticed the same thing. I started having the problem after I adjusted the "Ontime" setting down to 10 minutes (600 seconds). For almost a day, none of the motion sensor went green although they continued to correctly register motion ("last trip" time updated and I got photos both through the Vera and the camera). Now they have started registering both tripped and not tripped (system reboot?), but the "Ontime" is still at 20 minutes even thought I changed it to 10 minutes.
Title: Re: Foscam IP Camera Plugin
Post by: silvereagle2208 on July 03, 2012, 12:16:51 am
@mcvflorin

Should there be any values entered for the ip and mac fields of the Foscam Motion Sensor Advanced tab? Also, could you provide .jpg's that show sample entries for the entire Camera and Motion Sensor Advanced tabs fields for dthe Foscam Camera app?  The sample .jpg's that you have provided thus far do no show the full Advanced settings and I wonder if I am missing values or if I have values in the wrong locations.

I have not been able as yet to get the new Camera Motion Sensor to work.  The camera works fine, but the Motion Sensor is still not functional.

Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 03, 2012, 06:41:06 am
Do have a question though.  I have alarm sensors and they change from green to red back to green when motion is detected.  This device started out green and then went to red and stays red.  I have not been able to get it to change back to a green - no motion state.

That's probably because the camera sent motion notifications at time intervals less than 20 minutes.

Played with the ontime to seem if that would reset the sensor but didn't seem to do anything.

There was a bug in the plugin: the OnTime value was only initialized, but never read. I fixed it in the new version which I just published.

@silvereagle2208

The camera IP and address can be entered either in the camera's Settings tab or in the Advanced tab, in the ip and mac fields. The Vera's IP address must be entered in the VeraAddress field.

@mcvflorin, presets 1 - 6 work great, any plans on adding 7 & 8 to the device?
Also, I'm sure users will be asking for the presets to be added into automation, so that triggers can move the camera to a preset.

I added presets 7 & 8. Just upload the attached Json and reload Luup. Presets can be used in scenes only from the Advanced section. The action to be used is GoToPreset.
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 03, 2012, 06:44:20 am
Should there be any values entered for the ip and mac fields of the Foscam Motion Sensor Advanced tab?

No.

Also, could you provide .jpg's that show sample entries for the entire Camera and Motion Sensor Advanced tabs fields for dthe Foscam Camera app?

I attached images with the camera Settings and Advanced tabs.
Title: Re: Foscam IP Camera Plugin
Post by: silvereagle2208 on July 03, 2012, 01:30:02 pm
@mcvflorin

My Foscam Camera device Advanced tab is quite different from yours.  It appears that all the debugging work I did on the Foscam app did not do it any favors.  I have attached images of the Advanced Tab for my Foscam camera.  Do you have any ideas what I can do to make my Foscam Advanced tab look more like yours or does it matter?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 04, 2012, 03:26:14 am
Your camera's Advanced tab looks OK. My device was manually created for screenshots purpose, that's why it lacks several fields.
Title: Re: Foscam IP Camera Plugin
Post by: knewmania on July 04, 2012, 03:19:56 pm
Updated my Foscam's with the new plugin today. Everything is working well. Thanks for the enhancements!
Title: Re: Foscam IP Camera Plugin
Post by: silvereagle2208 on July 04, 2012, 06:06:51 pm
@mvcflorin

If my advanced tab looks OK and the Motion Sensor of the Foscam module does not appear to work for any of my five cameras (3 Linksys WVC80N and 2 Foscam FI8910W), what would your recommend as a next step?  Would it make sense to remove a couple of the cameras and let Vera refind them?
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on July 04, 2012, 07:10:29 pm
@mvcflorin

If my advanced tab looks OK and the Motion Sensor of the Foscam module does not appear to work for any of my five cameras (3 Linksys WVC80N and 2 Foscam FI8910W), what would your recommend as a next step?  Would it make sense to remove a couple of the cameras and let Vera refind them?

I am in the same situation. The cameras are working well (love the addition of presets with the latest firmware), but my motion sensors are completely non-functional. I know the cameras are still sensing motion since I am receiving the motion emails directly from the camera but the Vera isn't registering anything. I have reset Vera, reset the cameras, deleted and reinstalled the cameras and still am getting nothing from the three motion sensors.
Title: Re: Foscam IP Camera Plugin
Post by: ehillis on July 04, 2012, 07:22:06 pm
Any chance of having the motion for Foscam FI8904W cams?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 05, 2012, 06:12:18 am
@silvereagle2208 and @Trotsky40

The last plugin version (2.1) had a major flaw: it worked correctly only for one camera. I published a new version today (2.2) that fixes that flaw and some other bugs. However, for the fix to work you have to tell the plugin to reconfigure the cameras: find the ConfiguredMD variable in the camera's Advanced tab, set it to 1 and Save.

Any chance of having the motion for Foscam FI8904W cams?

This should work for all the Foscam cameras that can send notifications when motion is detected. Have you tried it and it didn't work?
Title: Re: Foscam IP Camera Plugin
Post by: ehillis on July 05, 2012, 09:29:41 am
i can't get it to work for 8904's. These cams have no positioning capability but do have motion. I am getting a little confused as to which settings have to be set with what though.
Title: Re: Foscam IP Camera Plugin
Post by: ehillis on July 05, 2012, 10:39:56 am
Foscam 8904

Cam
Title: Re: Foscam IP Camera Plugin
Post by: ehillis on July 05, 2012, 10:41:47 am
8904 continued
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on July 05, 2012, 11:02:38 am
@ mcvflorin

The new update seems to fix everything. Thank you for the speed of the updates/fixes!

I have a question that may not be related to the Foscam plugin. I have one camera that resets once or twice a day (a defective camera I'm sure, but it is not severe enough for me to bother with returning it). This results in the camera being offline for 15-20 minutes.

I had been running it on port 8093, but I noticed that when Vera loses communication for a period of time it appears to attempt to connect on the default port of 80. I would then have to input the correct port 8093 back in Vera, communication would be re-established, life is good... until the next reset. So my next thought was to change the LAN side port on the camera to 80 (leaving the external WAN port at 8093 for my other Foscam software). The thinking was that Vera would continue to check port 80 until the camera was back online, communication would be re-established, life would be good...

However, Vera appears to "give up" on the camera and doesn't seem to try to re-establish communication after a period of time. I have only given it about an hour, but will Vera eventually try to re-establish communication or is there a setting I can adjust to make this happen?
Title: Foscam IP Camera Plugin - My Vera3 will not accept ConfiguredMD = 1
Post by: silvereagle2208 on July 05, 2012, 11:10:40 am
@mcvflorin

How do I get my Vera3 to download  the new Foscam app Version 2.2?   My Vera3 MyApps tab shows that I am still running Version 2.1.  However, when I click on the Foscam app title it shows Version 2.2.

Because I am still running Version 2.1 might be the reason why my Vera3 system will not accept a ConfiguredMD value of 1 on any of my five cameras.  After a Save, the value is reset to 2 during the Save process.  I had a couple of cameras where the 1 value remained for a couple of minutes, but in the end all of the cameras had a ConfiguredMD value of 2.

What is the purpose of the ConfiguredMD variable?
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on July 05, 2012, 11:42:10 am
@ mcvflorin

The new update seems to fix everything. Thank you for the speed of the updates/fixes!

I have a question that may not be related to the Foscam plugin. I have one camera that resets once or twice a day (a defective camera I'm sure, but it is not severe enough for me to bother with returning it). This results in the camera being offline for 15-20 minutes.

I had been running it on port 8093, but I noticed that when Vera loses communication for a period of time it appears to attempt to connect on the default port of 80. I would then have to input the correct port 8093 back in Vera, communication would be re-established, life is good... until the next reset. So my next thought was to change the LAN side port on the camera to 80 (leaving the external WAN port at 8093 for my other Foscam software). The thinking was that Vera would continue to check port 80 until the camera was back online, communication would be re-established, life would be good...

However, Vera appears to "give up" on the camera and doesn't seem to try to re-establish communication after a period of time. I have only given it about an hour, but will Vera eventually try to re-establish communication or is there a setting I can adjust to make this happen?

Do you happen to have the mac address field for this camera entered with the camera's mac address? If you do, Vera will loose communication with the camera if it is not on port 80. Meaning if the mac address field has the mac address of the camera in it and the camera is on another port other than port 80, you will experience connection issues. To correct this, you can remove the mac address from the mac address field and all should be well.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on July 05, 2012, 11:47:25 am
@ mcvflorin

The new update seems to fix everything. Thank you for the speed of the updates/fixes!

I have a question that may not be related to the Foscam plugin. I have one camera that resets once or twice a day (a defective camera I'm sure, but it is not severe enough for me to bother with returning it). This results in the camera being offline for 15-20 minutes.

I had been running it on port 8093, but I noticed that when Vera loses communication for a period of time it appears to attempt to connect on the default port of 80. I would then have to input the correct port 8093 back in Vera, communication would be re-established, life is good... until the next reset. So my next thought was to change the LAN side port on the camera to 80 (leaving the external WAN port at 8093 for my other Foscam software). The thinking was that Vera would continue to check port 80 until the camera was back online, communication would be re-established, life would be good...

However, Vera appears to "give up" on the camera and doesn't seem to try to re-establish communication after a period of time. I have only given it about an hour, but will Vera eventually try to re-establish communication or is there a setting I can adjust to make this happen?

Do you happen to have the mac address field for this camera entered with the camera's mac address? If you do, Vera will loose communication with the camera if it is not on port 80. Meaning if the mac address field has the mac address of the camera in it and the camera is on another port other than port 80, you will experience connection issues. To correct this, you can remove the mac address from the mac address field and all should be well.

- Garrett

Yes, I do have the MAC address field entered to use photo archiving feature. I'll take it on this camera to see if it resolves the issue. Thank you for the information.
Title: Foscam App V2.2 Finally Downloaded - My Vera3 is not happy
Post by: silvereagle2208 on July 05, 2012, 12:40:54 pm
mcvflorin,

The Foscam Camera App V2.2 finally downloaded on my machine.  My Vera3 is not happy.  All four of my Linksys WVC80N cameras, which use the Foscam Camera App as their impl_file now show "Failed to configure camara" after every reboot.  My Vera3 keeps setting the ConfiguredMD setting of these cameras to 1.  The Linksys cameras had no problem with V2.1 of the Fosccam Camera app.

My Vera3 keeps setting the ConfiguredMD setting of my two Foscam FI8910W cameras to 2.

Initially, the ConfiguredMD of all 6 cameras was 0, but after several reloads, my Vera3 decided that Linksys cameras should have a value of 1 and Foscam FI8910W camera should have a value of 2.

I looks like getting this app to work in a mult-type, multi-camera mode is a real hornet's nest.  The images from all the camera still work well, but the Motion Sensor functionality is another matter.
Title: Re: Foscam App V2.2 Finally Downloaded - My Vera3 is not happy
Post by: Trotsky40 on July 05, 2012, 01:52:37 pm

My Vera3 keeps setting the ConfiguredMD setting of my two Foscam FI8910W cameras to 2.


I may be wrong but I think that is what it is supposed to do. I have three Foscam FI8910W cameras and all are set to ConfiguredMD=2 (and working) after I changed it to a 1 this morning.

I interept the ConfiguredMD as: 0=Motion Detectors Disabled, 1=Reset/Reload Motion Detectors, 2=Motion Detectors Enabled

I don't have a programming background but after trying to get these to work yesterday I think I am getting the hang of it. When you enter 1 in ConfiguredMD, the plug-in logs into the Foscam cameras and makes changes to the camera's parameters. One of changes it makes is to set the "alarm_http_url" which tells the camera where to notify Vera that motion has been detected (this is why you need to input Vera's IP address). Your Linksys cameras probably don't operate in the same way so the Vera is stuck on ConfiguredMD=1 since it can't complete the operation.
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on July 05, 2012, 02:22:46 pm
If the motion alarm on the Foscam camera is working but it isn't showing up on the Vera check the camera's parameters page. You can access through your browser at: "http://xxx.xxx.xxx.xxx:####/get_params.cgi"  filling in the x's with your camera's IP address and #'s with its port. You'll be asked for your camera's password before it loads. This page will show you all of the settings for camera, many of which aren't accessible from the Web GUI.

Scroll about half way down and you should see a section with settings labeled "alarm". Look to see that "alarm_http" is set to "1" (meaning enabled) and the "alarm_http_url" is pointing at a URL with the Vera's IP address.

The Foscam Plug-in should be correctly entering all this, but you can manually enable the alarm_http by entering this in your browser: "http://xxx.xxx.xxx.xxx:####/set_alarm.cgi?http=1". Changing the URL is a little trickier but same general idea.

One thing I found interesting in the parameters page is that there is an option to enable alarms based on sounds. I am going to play around with that a little this weekend.
Title: Re: Using Foscam IP Camera Plugin
Post by: Trotsky40 on July 05, 2012, 02:38:59 pm
@Trotsky40
I do not agree with your request that if you set the BYPASS mode on the new Vtera Foscam Motion Sensor device that you want it to turn of Motion Capture on the parent IP camera as well.  I regard the camera motion detection as my baseline.  I do not want Vera to override my baseline.  At most, I want Vera to supplement my camera baseline.  If you want a button on the Foscam Motion Sensor tab to override the camera motion detection, then there needs to be 3 buttons: Armed, Bypass, Turn Off Parent Camera Motion Capture.  This new motion module is still too experimental.  I also consider it to be somewhat unnecessary, since I feel the prime location where camera motion capture should be Enabled/Disabled should be on the camera itself, with Vera providing supplemental functionality.

After thinking about this more, I agree with you on this. Using motion dection to turn lights on and off at a certain time of day is an auxillary function that can be handled by Vera and the bypass is a good way to manage this. The "heavy lifting" of motion detecting (logging, recording video and photos) should be done and managed by the cameras directly.
Title: Foscam IP Camera Plugin and Linksys WVC80N cameras
Post by: silvereagle2208 on July 05, 2012, 03:33:32 pm
@Trotsky40

Thanks for providing me with the meaning of the ConfiguredMD settings.  I now understand why mcvflorin asked me to set the ConfiuredMD setting to 1 on my camera: It forced the camera/motion detector to reset itself.

Now that I better understand the purpose of ConfiutredMD, it appears that in its present form my Linksys cameras will not be able to use it.  The Linksys cameras could coexist with Version 2.1 of the app because it did not work properly.  However, the code that works with a Foscam camera, does not appear to be compatible with a Linksys camera.  I believe the mcvflorin will have this sorted out in a couple of days, but in the meantime, users with non-Foscam cameras wll need to be patient and enjoy the fact that their FI8910W cameras now have increased Motion Detection capability.
Title: Re: Foscam IP Camera Plugin and Linksys WVC80N cameras
Post by: capjay on July 05, 2012, 09:40:49 pm
The Linksys cameras could coexist with Version 2.1 of the app because it did not work properly.  However, the code that works with a Foscam camera, does not appear to be compatible with a Linksys camera.  I believe the mcvflorin will have this sorted out in a couple of days, but in the meantime, users with non-Foscam cameras wll need to be patient and enjoy the fact that their FI8910W cameras now have increased Motion Detection capability.

the motion detection feature is very specific to Foscam cams, so most likely it won't work with Linksys cams (unless they support Alarms in the same fashion); to get the Linksys working, I suggest setting ConfiguredMD to -1 (disabling the motion sensing)
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 06, 2012, 04:10:52 am
@silvereagle2208

ConfiguredMD basically holds the motion detection configuration step. When the plugin is first installed this variable is "0", meaning that nothing has been configured. The plugin first creates the motion sensor device and sets the ConfiguredMD to "1". ConfiguredMD = 1 is the camera configuration step. The alarm notification is enabled on the camera and the notification URL is set to be the Vera's IP address. If the plugin managed to configure the camera the ConfiguredMD variable is set to "2", meaning that everything has been configured successfully.

The reason you got "Failed to configure camera" is probably because the commands used to configure the Foscam camera don't work with the Linksys cameras.
Title: Re: Foscam IP Camera Plugin
Post by: capjay on July 06, 2012, 05:06:42 am
@mcvflorin

great addon! however it seems it doesn't work when the option for "secure this vera" is set to yes (i.e., username/password is needed for accessing Vera over LAN), as the alarm URL doesn't take this into account.  Can you confirm this?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 06, 2012, 06:23:10 am
@capjay

I haven't thought about this when creating the plugin. Indeed, it doesn't work because the camera connects to Vera on port 80. As a workaround until I fix this you can change the notification URL from http://Vera_IP/port_3480/... to http://vera_ip:3480/...:

Code: [Select]
http://Camera_IP/set_alarm.cgi?http_url=http://vera_ip:3480/...&user=camera_username&pwd=camera_password
Title: New Foscam IP Camera Plugin Finally Works
Post by: silvereagle2208 on July 07, 2012, 01:23:15 am
The new Foscam plugin V2.2 finally works with my two Foscam Cameras.  I need to thank @capjay for pointing out that the new plugin does not work if "secure this vera" is set to yes.  Once I set this value to no, the Foscam motion sensors began working.

I also need to thank @capjay for informing me of the -1 state of the ConfiguredMD variable.  Previously, I only knew of states 1, 2, and 3.  Setting the ConfiguredMD variable to -1 on my Linksys cameras removed the error messages I received when I had the variable set to 1.

Now some more questions have arisen:
What would it take to get this motion sensor module to work with a Linksys WVC80N camera?  Does it make sense to even try if the code were available?  Is the necessary code available or is it MiCasaVerde proprietary code? Presently, I couple my Linksys cameras with real physical Motion Sensors, so I have a workaround.  However, if I could use the cameras motion sensor instead, I would save money on batteries and I would have a more reliable motion sensor.

Can the Foscam Motion Sensor Module cause its associated camera to store an image when motion is detected?  I can send a notification when motion is detected.  I can also activate scenes, associate it with triggers, interact with Luup events, and follow schedules.  But I do not see anywhere where a Motion Sensor Module, either Foscam app, or actual physical device, can cause a camera to capture and email an image.

The Foscam Motion Sensor Module locates itself in the same room as the camera with which it is associated, even if I try to place the sensor and camera in different rooms.  Is is possible to place a Foscam camera and its associated motion sensor in different rooms?


Title: Re: New Foscam IP Camera Plugin Finally Works
Post by: mcvflorin on July 09, 2012, 05:18:03 am
What would it take to get this motion sensor module to work with a Linksys WVC80N camera?

The question is: does the Linksys camera supports sending notification when motion is detected? If it does, then the code can be modified to work with this camera, but that would be a different plugin, because this one is specifically for Foscam cameras.

Is the necessary code available or is it MiCasaVerde proprietary code?

The code is located here: http://code.mios.com/svn_public/mios_foscam-camera/
You can also download the I_FoscamPTZ.xml file from the Vera UI -> Apps -> Develop Apps -> Luup Files.

Can the Foscam Motion Sensor Module cause its associated camera to store an image when motion is detected?

Not without Lua code. You can search the forum for the code to send images from the camera when motion is detected.

The Foscam Motion Sensor Module locates itself in the same room as the camera with which it is associated, even if I try to place the sensor and camera in different rooms.  Is is possible to place a Foscam camera and its associated motion sensor in different rooms?

This is by design, because I thought that no one would want to have the motion sensor in a different room than the camera, because they are the same physical device. To allow the motion sensor to be placed in a different room uncheck the embedded checkbox in the motion sensor's Advanced tab.
Title: Foscam IP Camera Plugin and Linksys WVC80N cameras
Post by: silvereagle2208 on July 09, 2012, 11:12:20 am
@mcvflorin

Thank you for the quick response to my questions.  The reason why I asked if the motion sensor for given camera could be sent to another room is because my Linksys WVC80N cameras use your new Foscam plug-in.   The motion sensor capability is disabled for my Linksys cameras to prevent an error being generated every time my Vera3 is rebooted. Since the device is disabled, there is no need for it to be in the same room as my Linksys cameras.  Another way I could do this is to remove all Motion Sensor devices attached to Linksys cameras.  However, I have learned from experience that once the link is severed it is difficult to restore the the motion sensor device for a given camera.  I imagine you know a way to do so, but the only way I was able to do so was to do a system restore.
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 10, 2012, 05:21:25 am
@silvereagle2208

To remove the unused motion sensors set the ConfiguredMD variable to "-1" in the camera's Advanced tab, then simply delete the motion sensor. To restore it, set the ConfiguredMD variable to "0".
Title: Foscam Motion Sensor - No Arm/Bypass Capability After 1.5.408 Firmware Upgrade
Post by: silvereagle2208 on July 12, 2012, 01:18:09 am
Has anyone else seen this?  After I upgraded my Vera3 to Firmware Version 1.5.408, the Arm/Bypass functionality of Motion Sensor Device attached to my Foscam FI8910W cameras no longer worked.  I was able to recover the functionality by reuploading the D_DigitalSecurityCamera1.xml file provided by @mcvflorin in the first message in this thread into my Luup files directory.

Here is the link provided by @mcvflorin to this file:
http://code.mios.com/trac/mios_foscam-camera/raw-attachment/wiki/WikiStart/D_DigitalSecurityCamera1.xml


The device file for my Foscam Motion Sensor devices stayed the same: D_MotionSensor1.xml

I have another question for @mcvflorin: If I had set the device file of my Foscam camera to D_DigitalSecurityCamera2.xml, would that have also restored the Arm/Bypass functionality as well?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on July 12, 2012, 05:51:05 am
@silvereagle2208

Yes, and you would have gotten preset functionality too.
Title: Re: Foscam IP Camera Plugin
Post by: mclass on July 31, 2012, 04:19:20 am
I have successfully installed the Foscam plugin on my Vera Lite, with UI5.  I have assigned a fixed IP address and an alternative port (8010) to the FI8918W camera to permit direct remote access to the camera interface using a dyndns host. The Vera and the camera are both on the same router.

All works fine after I added the alternative port to the IP address in the camera's Vera Lite Advanced tab in the format 192.168.xxx.xxx.xxx:8010.  The setting (including the port number) appears "automatically" in the Setting tab, and successfully saves. This allows successful inclusion and operation via the Vera UI (including motion detection).  However, over a relatively short time the port entry in the Vera Advanced tab "disappears", leaving only the correct, fixed IP address (but NOT the port number), and of course results in the camera becoming inaccessible to the Vera.  This does NOT appear to be related to a camera, Vera or router reboot.

Any suggestions as to the cause of this and/or make a suggestion so that I can lock the port setting down?  I have attempted to insert the dyndns host name into the IP field in the Advanced tab without success, but this might be one possible solution if it can be done.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on July 31, 2012, 04:24:57 am
If the mac address field of the camera is filled out in the settings tab, you will need to remove the mac address. Having the camera on a different port other than 80 with the mac address field filled out, you will lose connection after some time. The fix is to remove the mac address in the settings tab and save.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: mclass on July 31, 2012, 04:33:47 am
Wow! Instant action!  Shouldn't you be in bed??!! :o

I've made the change as you suggested and now, time will tell ....

Thanks again for the prompt response  :D

mclass (in Australia at 6:30 pm)
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on July 31, 2012, 04:43:51 am
Most of America is in bed, however I work nights so...

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: mclass on August 01, 2012, 03:59:24 am
Hi Garrett!

How pleased am I that you work nights!!  ;D

It's been 24 hours and the Foscam and Vera haven't missed a beat (touch wood!),
Thanks for your help.

Regards
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on August 01, 2012, 04:02:13 am
Glad to know the solution worked.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: shifter775 on August 01, 2012, 02:33:56 pm
I removed my mostly working Foscam Cameras and was readding them to get motion detection working. My vera IP address had changed since I first installed the plugins. I can remove the cameras fine, but when I try to put them back I get an 'undefined' device.

After I add the IP camera with the snapshot.cgi URL and specify Foscam and the type I get a HTTP Basic Auth dialog for the camera that doesn't accept my username and password. I cancel that, complete the camera addition and wind up with 'undefined'.

I've tried removing and reinstalling the plugin and also rebooting.

Anyone have any ideas?
Title: Re: Foscam IP Camera Plugin
Post by: HouseBot on August 02, 2012, 06:48:36 am
Got the motion sensor also to work. Mainly followed this:
http://code.mios.com/trac/mios_foscam-camera
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on August 02, 2012, 07:49:49 am
@shifter775

The plugin will only give you PTZ and motion detection support, it won't make your cameras work.

If your cameras are connected to the network using an Ethernet cable, you can unplug and re-plug the cable from the cameras. Vera should see them and add them automatically. If this doesn't work, you have to add the cameras manually (http://wiki.micasaverde.com/index.php/Manually_create_IP_Camera_device).

After you added the cameras and they work properly, you can proceed to install the plugin using the instructions here: http://code.mios.com/trac/mios_foscam-camera#Installation
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on August 02, 2012, 07:55:15 am
Mcvflorim,

if I buy Dlink cameras, can I record the images on micasaverde.com servers ?
how many space I will have for this ?

thanks ....
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on August 02, 2012, 08:02:15 am
@Piwtorak

You can archive images on our servers with any camera that works with Vera. The maximum space is 1 Gigabyte per camera.
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on August 02, 2012, 10:59:31 am
that's good, thanks mcvflorin.
Title: Re: Foscam IP Camera Plugin
Post by: shifter775 on August 02, 2012, 11:59:22 am
@mcvflorin

I guess I didn't explain my situation very well. My cameras have worked for a while. I've been using them with MiOS since you had to upload the XML and restart luup. If you wanted to reverse the controls you had to edit the code. My cameras themselves work great. I can login and reach them over the network just fine.

My problem arose when I was trying to redo them in MiOS to get the http alert from the cameras set to the right IP address. Since my vera IP had changed after I had installed the camera plugin.

Perhaps there is a procedure to remove the plugin that is more in depth than the uninstall in the UI? Something that can be done after I ssh in to the unit?

I still find it strange that from within MiOS I'm given a basic auth dialog when trying to add the camera. Especially since my browser has the camera credentials cached from me viewing it directly when I try and set things up with the plugin.
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on August 03, 2012, 11:19:50 am
When you uninstall a plugin, the devices it created are removed, but the files remain. However, unused files are ignored by MiOS, so removing them would make no difference. The plugin files are in /etc/cmh-ludl, if you really want to delete them.

I think the reason you were given the auth dialog is that when you're in the same network as the camera, MiOS just forwards the camera port, so it's like you are directly connecting to the camera. Did you put the username and password in the camera's Settings tab?
Title: Re: Foscam IP Camera Plugin
Post by: shifter775 on August 03, 2012, 11:47:09 am
@mcvflorin

I would put in my correct credentials, but the dialog would never go away.

The device I would wind up with barely had any information in it.

I have however gotten them to work again. I uninstalled the plugin and added the cameras back without first installing the plugin. Letting the unit install the plugin for me after i pick Foscam Camera for my camera got rid of the basic auth prompt and things also now work.

I can try to test other things if you are curious as to the odd behaviors I was seeing. My cameras are working again though, strange though the process may be.

Thanks for the assistance.
Title: Re: Foscam IP Camera Plugin
Post by: zaze on August 04, 2012, 01:13:32 pm
I recently added two new FI8910W's and followed the steps here: http://code.mios.com/trac/mios_foscam-camera

Everything is added fine, but when lua engine restarted, I get these errors for the two new cameras:
Foscam Camera : Failed to configure camera.
Foscam Camera : Failed to configure camera.

Any thoughts?

UI5 1.5.408 Vera3
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on August 06, 2012, 10:25:11 am
This means that either the camera IP/URL is wrong, or the camera username or password are wrong. Please check those parameters again.
Title: Re: Foscam IP Camera Plugin
Post by: zaze on August 06, 2012, 10:28:46 am
Hey thanks for the reply, I am able to get video and stills from the cameras in the UI... here's a screenshot: http://zazon.tinygrab.com/fbWa

I'll double check the URLs and credentials... Any other thoughts?  If the URLs / credentials were incorrect, I wouldn't be getting a feed right?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on August 06, 2012, 01:27:39 pm
I'll double check the URLs and credentials... Any other thoughts?  If the URLs / credentials were incorrect, I wouldn't be getting a feed right?
No, I guess not. You could try configuring the camera manually, by putting this URL in the browser:
http://CAMERA_IP/set_alarm.cgi?motion_armed=1&http=1&http_url=http%3A%2F%2FVERA_IP_ADDRESS%2Fport_3480%2Fdata_request%3Fid%3Dlr_foscam_tripped%26sensor_id%3DMOTION_SENSOR_ID&user=USER_NAME&pwd=PASSWORD

You must replace the text in blue with the actual values.
Title: Re: Foscam IP Camera Plugin
Post by: zaze on August 06, 2012, 06:37:54 pm
I'll double check the URLs and credentials... Any other thoughts?  If the URLs / credentials were incorrect, I wouldn't be getting a feed right?
No, I guess not. You could try configuring the camera manually, by putting this URL in the browser:
http://CAMERA_IP/set_alarm.cgi?motion_armed=1&http=1&http_url=http%3A%2F%2FVERA_IP_ADDRESS%2Fport_3480%2Fdata_request%3Fid%3Dlr_foscam_tripped%26sensor_id%3DMOTION_SENSOR_ID&user=USER_NAME&pwd=PASSWORD

You must replace the text in blue with the actual values.

That did it, needed admin credentials on the account im using (I only had operator privileges set on that account.  Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: mjcohnmd on August 15, 2012, 02:42:37 am
See orange below...

Wow, I didn't expect this much activity on this thread. :)

I have noticed that "Bypass" disables the motion detection in the Vera but leaves it on in the camera. I don't get email notifications from Vera but I still get the email alerts from the camera. Is there anyway to make the "Bypass" switch disable the motion detection in the camera itself?

It's possible to implement this, but Bypass and Arm have always been only for Vera devices and not for the real (physical) devices, so I won't change this.
Can Arm/Disarming motion detection on the physical device be added as additional buttons (Arm On Device/Disarm On Device) --JC
Title: Re: Foscam IP Camera Plugin
Post by: Gary on August 15, 2012, 01:20:32 pm
Don't know if its been  ask before or not but, I'm trying to get my camera (FI8910W) record video clips to my network storage drive with out computer being on, it stores images but not video files, is there a way around to make it store videos as well in to drive that is connected directly to same router as camera?
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on August 15, 2012, 01:30:51 pm
Don't know if its been  ask before or not but, I'm trying to get my camera (FI8910W) record video clips to my network storage drive with out computer being on, it stores images but not video files, is there a way around to make it store videos as well in to drive that is connected directly to same router as camera?

There is no way that I have been able to find. I think it is a hardware limitation of FI8910W due to a lack of internal storage. I am able to do it with my FI9820W as long as I have an SD card installed. Essentially, the FI9820W records the video locally on the SD card and then tranfers the video file to my network storage drive.
Title: Re: Foscam IP Camera Plugin
Post by: Gary on August 15, 2012, 01:41:20 pm
Don't know if its been  ask before or not but, I'm trying to get my camera (FI8910W) record video clips to my network storage drive with out computer being on, it stores images but not video files, is there a way around to make it store videos as well in to drive that is connected directly to same router as camera?

There is no way that I have been able to find. I think it is a hardware limitation of FI8910W due to a lack of internal storage. I am able to do it with my FI9820W as long as I have an SD card installed. Essentially, the FI9820W records the video locally on the SD card and then tranfers the video file to my network storage drive.

Unfortunately FI8910W don't have SD card so as I noticed it saves images striate to ether Network drive or FTP I just thought if drive attach to router and always on line there would be a way to store videos on it as well..
Title: Re: Foscam IP Camera Plugin
Post by: tedp on August 19, 2012, 02:40:31 pm
I just got a Foscam FI8910W and have been somewhat successful in Vera integration. However, I am still having issues/questions.

My setup is:

If I let Vera autodetect the camera, I end up with a "Wintop zCam" on my dashboard. I can force-add the Foscam from the GUI, and then I do end up with a Foscam camera and an associated motion sensor for the Foscam on the dashboard.

Both the Wintop and the Foscam seem to partially work. They will stream for a while over the dashboard, but after some time, the stream drops away. Both Wintop and Foscam have the ability to pan-tilt-zoom. As some have stated on other threads, the Foscam does not have a place to enter the "videostream.cgi" (yet is still streams based on "snapshot.cgi"?) while the Wintop does have the field available.

Moreover, when I try to integrate this with Android Homebuddy, I cannot get the Foscam to stream at all, while the Wintop version does stream to my Android (only when accessing Vera locally though).

There's a thread on Vera/Foscam/HomeBuddy integration at http://forum.micasaverde.com/index.php/topic,9583.0.html (http://forum.micasaverde.com/index.php/topic,9583.0.html).

Which is the optimal approach to get local/remote streaming?

I am attaching my dashboard as well as the Wintop and Foscam settings.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on August 19, 2012, 02:56:42 pm
Streaming cameras remotely via 3rd party apps is not supported under UI5.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: silvereagle2208 on August 19, 2012, 03:19:25 pm
@tedp,

I wonder why your FosCam installation with Vera has been so difficult.  Perhaps you installed your cameras before you installed the FosCam plug-in.   But if the FosCam 2.2 plug-in is in place before a FosCam camera is installed, your Vera2 should have no trouble finding the FosCam camera.

The device file I use for my Foscam FI8910 cameras is D_DigitalSecurityCamera2.xml.  You appear to be using  D_DigitalSecurityCamera1.xml. Using  D_DigitalSecurityCamera2.xml will help with your FosCam camera plug-in  installation.

If you want the FosCam plug-in motion sensor to work properly you may need to set the "Do you want to secure this Vera?" setting to No.  MCV may have removed this restriction, but with @MCVFlorin on vacation, I doubt this has occurred.

Finally, as @garrettwp has mentioned, don't get too excited about the possibility of streaming Foscam cameras remotely with 3rd party apps at this time.  It may be coming soon, but using Vera with Wi-Fi cameras is still a developing technology.

Here is an off topic question, but it might be helpful.  Are you logging log files to an external USB flash drive on your Vera2 unit?   If you are not, you should do so.  It will really speed up the performance of your Vera2 unit.  I used a SanDisk - Cruzer Fit 4GB USB Flash Drive on my Vera2 before I upgraded to a Vera3.




Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on August 19, 2012, 03:31:17 pm
The streaming worked fine under UI4, when it came to UI5, MCV removed this feature or more or less did not add it back. Not sure why they did this and if they will ever put in back. What MCV did was when calling to stream the camera via Vera's api call, Vera would try and port tunnel the camera to Vera and open a upnp port call to the router. This would then provide a return request via the api call providing the details on how to access the stream. The port tunnel and port punch through the firewall would only be accessible for I believe 15 minutes or something like that. This is one of the reasons why I have not added camera streaming into my app as I have no way of testing it and not being supported in UI5 would be a waste of resources right now.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: tedp on August 19, 2012, 04:02:56 pm
@silvereagle2208

I wonder why your FosCam installation with Vera has been so difficult.  Perhaps you installed your cameras before you installed the FosCam plug-in.   But if the FosCam 2.2 plug-in is in place before a FosCam camera is installed, your Vera2 should have no trouble finding the FosCam camera.
I lost track of all the machinations I went through to get it working, but I started with manually adding the Foscam plugin under UI4, then upgrading to UI5, trying to re-add the plugin from the app-store in UI5, then removing the plugin and re-installing when it didn't work originally. You get the idea

The device file I use for my Foscam FI8910 cameras is D_DigitalSecurityCamera2.xml.  You appear to be using  D_DigitalSecurityCamera1.xml. Using  D_DigitalSecurityCamera2.xml will help with your FosCam camera plug-in  installation.
I guess I was having delusions of getting things to work under HomeBuddy (remote app). Homebuddy does not recognize D_DigitalSecurityCamera2.xml, but does recognize D_DigitalSecurityCamera1.xml

If you want the FosCam plug-in motion sensor to work properly you may need to set the "Do you want to secure this Vera?" setting to No.  MCV may have removed this restriction, but with @MCVFlorin on vacation, I doubt this has occurred.
I have not secured my Vera, and the motion sensor does work: I was able to trigger scenes with it!

Here is an off topic question, but it might be helpful.  Are you logging log files to an external USB flash drive on your Vera2 unit?   If you are not, you should do so.  It will really speed up the performance of your Vera2 unit.  I used a SanDisk - Cruzer Fit 4GB USB Flash Drive on my Vera2 before I upgraded to a Vera3.
I've just started doing so as part of this whole upgrade process I've been going through. I have no idea how to access the logs, I'm sure there's a path to the USB stick locks documented somewhere. It would be way to difficult to add a link from the web-GUI I guess :)

@garrettwp
The streaming worked fine under UI4, when it came to UI5, MCV removed this feature or more or less did not add it back. Not sure why they did this and if they will ever put in back. What MCV did was when calling to stream the camera via Vera's api call, Vera would try and port tunnel the camera to Vera and open a upnp port call to the router. This would then provide a return request via the api call providing the details on how to access the stream. The port tunnel and port punch through the firewall would only be accessible for I believe 15 minutes or something like that. This is one of the reasons why I have not added camera streaming into my app as I have no way of testing it and not being supported in UI5 would be a waste of resources right now.
I started reading all about the UI5 streaming AFTER I upgraded! I held out so long on upgrades because I was reading about the train-wreck of UI5 on the forums. However, it seemed that things had settled out. All I can say is that under the "Wintop zCam" version of the Foscam driver, I am able to get some level of streaming over to my remote device. It's intermittent, and only works when on my local LAN -- but I did see it with my own eyes.

In summary, it's been a somewhat frustrating experience, but I only add to the existing level of frustration I see from the community on the MCV product in general. Luckily, there's a pretty good community of folks like yourselves who've mostly figured out this beast.
Title: Re: Foscam IP Camera Plugin
Post by: chemychemy on August 25, 2012, 08:38:30 am
Could anybody please confirm if this plugin works fine with Foscam new models which have H.264 video format, such as FI9820W or FI8601W.
Thank you Best Regards.
Chemy
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on August 25, 2012, 09:34:14 am
No, The plug-in does not work the h.264 cameras. You can view the camera through Vera but functions like Pan & tilt and motion senors won't work.

The Foscam h.264 cameras run on a completely different software system then their MJPEG cameras.
Title: Re: Foscam IP Camera Plugin
Post by: howlnwolf3 on September 02, 2012, 02:55:26 am
Don't know if its been  ask before or not but, I'm trying to get my camera (FI8910W) record video clips to my network storage drive with out computer being on, it stores images but not video files, is there a way around to make it store videos as well in to drive that is connected directly to same router as camera?

There is no way that I have been able to find. I think it is a hardware limitation of FI8910W due to a lack of internal storage. I am able to do it with my FI9820W as long as I have an SD card installed. Essentially, the FI9820W records the video locally on the SD card and then tranfers the video file to my network storage drive.

OK, I have two FI9820W's with a 32GB SD card in each but I want to store the recorded videos to my network sotrage drive. How did you set it up to transfer to your network drive? Also, what mobile app do you use to view your cameras? I used tinycam, IP Camera viewer, and soem other one not included in the Android Market Place. Tinycam was the best one out of the three but the videos keep resetting themselves randomly. It works fine on a web browser anywhere including on the phone though.
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on September 02, 2012, 10:30:45 am
Don't know if its been  ask before or not but, I'm trying to get my camera (FI8910W) record video clips to my network storage drive with out computer being on, it stores images but not video files, is there a way around to make it store videos as well in to drive that is connected directly to same router as camera?

There is no way that I have been able to find. I think it is a hardware limitation of FI8910W due to a lack of internal storage. I am able to do it with my FI9820W as long as I have an SD card installed. Essentially, the FI9820W records the video locally on the SD card and then tranfers the video file to my network storage drive.

OK, I have two FI9820W's with a 32GB SD card in each but I want to store the recorded videos to my network sotrage drive. How did you set it up to transfer to your network drive? Also, what mobile app do you use to view your cameras? I used tinycam, IP Camera viewer, and soem other one not included in the Android Market Place. Tinycam was the best one out of the three but the videos keep resetting themselves randomly. It works fine on a web browser anywhere including on the phone though.

My network drive supports FTP uploads so I just set-up the FTP upload on the camera and selected "Upload Video to FTP on Alarm" option.

I have an iPhone so don't have any Android recommendations. FOr iPhone, the best app I have found is Live Cams Pro 2.0.
Title: Re: Foscam IP Camera Plugin
Post by: Aaron on September 02, 2012, 05:08:35 pm
I figured it out... VERY FRUSTRATING

The lack of instructions is amazing. The Wiki REALLY NEEDS UPDATING!

-- http://wiki.micasaverde.com/index.php/IP_Cameras#Manually_adding_a_camera
... under Install Apps there is no "Generic" app for camera in UI5... it is built-in. Please state this as I was looking for this in the App installer!
... no mention of UI5 in the Wiki under the camera section.

All camera apps (and Wiki entries) should be required, at the top of the instructions, to tell the user the apps don't install the cameras and cannot be used to do that!

They should link to the how-to for installing cameras so users don't trying to use an App. I have not seen a single one that does.

Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on September 03, 2012, 06:18:47 am
@Aaron

The instructions to add a camera manually using the wizard are here: http://docs5.mios.com/doc.php?language=1&manual=1&platform=3Lite&page=ip_cameras

And to add a camera manually without using the wizard are here: http://wiki.micasaverde.com/index.php/Manually_create_IP_Camera_device
Title: Re: Foscam IP Camera Plugin
Post by: DanielMason on September 04, 2012, 02:40:34 pm
I think that is MiCasa biggest problem. Aside from others!


I figured it out... VERY FRUSTRATING

The lack of instructions is amazing. The Wiki REALLY NEEDS UPDATING!

-- http://wiki.micasaverde.com/index.php/IP_Cameras#Manually_adding_a_camera
... under Install Apps there is no "Generic" app for camera in UI5... it is built-in. Please state this as I was looking for this in the App installer!
... no mention of UI5 in the Wiki under the camera section.

All camera apps (and Wiki entries) should be required, at the top of the instructions, to tell the user the apps don't install the cameras and cannot be used to do that!

They should link to the how-to for installing cameras so users don't trying to use an App. I have not seen a single one that does.
Title: Re: Foscam IP Camera Plugin
Post by: M2MExpert on September 08, 2012, 11:09:51 am
I have the plug in installed and working well but not all of my virtual switches are showing up under "Which lights should be turned on ..." settings. I have virtual switches triggering scenes for my Insteon fanlinc controllers.


Edit:
Looks like what I see are combination switches, no virtual switches appear to show up.
Title: Re: Foscam IP Camera Plugin
Post by: highintensity on September 14, 2012, 03:35:08 am
Good Morning,
Is there any chance you might be working on an update that works with the new FI9820W?
I just received these and they do not work with the Pan/Tilt function or Motion sensors.
I would be glad to be a beta tester in yhou are interesed.
Thanks,
Brett
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on September 14, 2012, 12:23:57 pm
The FI9820W is a H.264 camera and uses a different protocol. It requires a major update to the plugin, but unfortunately I won't have the time in the near future.
Title: Re: Foscam IP Camera Plugin
Post by: kveibell on September 21, 2012, 02:09:56 am
Can you tell me why I would not have the field "vera address?" See attached file.
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on September 21, 2012, 05:32:24 am
Yesterday I published a new version of the plugin (version 2.3) which fixed the case where the motion sensor didn't work if Vera was secured and improved the detection of the Vera IP address. Unfortunately it also introduced the bug you mentioned. I published version 2.4 today which fixes it. After the plugin is updated set the ConfiguredMD variable to 0 and reload LuaUPnP twice.
Title: Re: Foscam IP Camera Plugin
Post by: kveibell on September 21, 2012, 11:53:31 am
Also, the on time field is missing.
Title: Re: Foscam IP Camera Plugin
Post by: guest15496 on September 23, 2012, 12:45:24 am
I am using the 2.4 release of the plug-in with Vera3 1.5.408 with a Foscam 8910. It looks like the account that is used to connect to the camera needs to be at "Admin" level (Operator and Visitor are both insufficient) for motion sensing to work.

@mcvflorin can you confirm this is the case? Is this a requirement of the camera API?

Also how many preset buttons should I see on the Camera Control tab?

Thanks


Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on September 24, 2012, 03:28:14 am
@mcvflorin can you confirm this is the case? Is this a requirement of the camera API?
Yes, the plugin needs an admin account to configure the camera.

Also how many preset buttons should I see on the Camera Control tab?
6 in 1.5.408, 8 in later firmwares.
Title: Re: Foscam IP Camera Plugin
Post by: guest15496 on September 24, 2012, 05:31:27 pm
@mcvflorin Thank you for the reply. The Foscam plugin is functioning properly for me. I have had some instability and Lua Failures with the DSC plugin since adding the Foscam plugin, whereas the DSC plugin was rock solid for months prior to that, however I am not yet sure that this issue is either plug-in's fault. I will post another thread on that shortly.
Title: Re: Foscam IP Camera Plugin
Post by: guest15496 on September 24, 2012, 07:11:58 pm
For those who are interested, the other post I just mentioned is now here:

http://forum.micasaverde.com/index.php/topic,11971.msg86883.html

Thanks

Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on September 25, 2012, 05:35:27 am
I don't see how the camera plugin will cause the DSC plugin to fail. There must be something else that causes that.
Title: Re: Foscam IP Camera Plugin
Post by: guest15496 on September 25, 2012, 07:44:27 am
Agreed - it's still circumstantial at this point - other than the fact that the problem and the plugin happened at the same time, I don't see a connection either, but will continue to t/s.

Does the camera plug-in do any thing out of the ordinary, or put any undue stress on any part of of the OS like the TCP/IP stack?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on September 25, 2012, 08:49:04 am
Does the camera plug-in do any thing out of the ordinary, or put any undue stress on any part of of the OS like the TCP/IP stack?

Only on the second run it sends some messages to the camera to configure it. Other than that no, it only registers a handler for a GET request from the camera, which runs only when the camera sends an alarm notification. But if I'm not mistaken, the camera doesn't send these notifications continuously to put stress on the network and Vera.

To find if it's this plugin that's causing the issues with the DSC, temporarily disable the motion notification on the camera:
Code: [Select]
http://<camera_IP>/set_alarm.cgi?motion_armed=0&user=<user_name>&pwd=<password>
To enable it use this URL:
Code: [Select]
http://<camera_IP>/set_alarm.cgi?motion_armed=1&user=<username>&pwd=<password>
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on October 06, 2012, 06:37:36 pm
@MCVFLorin - Thank you for all your work on this plugin. I hooked my 2 new Foscam's up to my Vera 3, configured them via my laptop, opened up the UI5 dashboard and  both are present with a camera and a sensor. The cam image says 'camera not responding' but when clicking the View button, the image is fine. Not getting 'not implemented' on arm/bypass, but I;ve not checked that functionality yet. The are currently sitting in my office until I get power wired so they can go to the livingroom and be installed as 'pooch cams' so I can check on my dogs while at work.

This will save me some $$ as now I have a HTPC running with 4 webcams and the Athome solution to view those on my iPhone.
Now I should be able to check on my iPhone, Android tablet and hopefully my work PC.

If this works well, I may get a few more (when on sale again) and hook them up as outside camera's under my eve.
Looks amazon has spillters that allow passive PoE for these. Will have to get the right plug size and see how much of a voltage drop I would get with about 40' of cat6..

Amazon splitter -> http://www.amazon.com/AIR802-POEPASS-01-Injector-Splitter-Connector/dp/B003DLJNWE/ref=sr_1_5?ie=UTF8&qid=1349562342&sr=8-5&keywords=foscam+poe
(Not sure if this is the right size plug, they have multiple sizes)
Title: Re: Foscam IP Camera Plugin
Post by: hfleejr on October 07, 2012, 08:39:32 am
I'm having difficulty in getting motion detection to work on my foscam camera.  Vera firmware is 1.5.408 and UI5.  Using Foscam plug-in 2.4.  Tried changing the ConfiguredMD to 1 to reset (after save and reload it reverted to 2). IP and MAC addresses look accurate.  impl_file (I_FoscamPTZ.xml) and device_file (D_DigitalSecurityCamera2.xml) look accurate.  Admin id and password are being used. I can switch between ARM and BYPASS without any issues.  The Foscam camera is set to alarm mode and i have the camera sending notices when motion is detected so the camera's motion sensor is working. When I poll the motion sensor within Vera I get Command Failed: No Implementation.

I have notification set in Vera whenever the sensor is tripped.  Also set to archive a photo.  No notifications or archived photos when the camera alarm occurs.  Any ideas?  Probably missing something basic, but have tried options from this and other forum threads.
Title: Re: Foscam IP Camera Plugin
Post by: Trotsky40 on October 07, 2012, 10:21:11 am
@hfleejr

What model cameras do you have?

If they are the H264 versions, then the motion sensor won't work.
Title: Re: Foscam IP Camera Plugin
Post by: hfleejr on October 07, 2012, 12:39:42 pm
I have two FI8905W outdoor cameras.  I plan to purchase a couple of add'l Foscam cameras, but I want to get motion detection working first with Vera.  Motion Detection is working on the cameras themselves, but it is not being picked up by Vera.  Also, this Vera is not secured (which another post indicated could be an issue).
Title: Re: Foscam IP Camera Plugin
Post by: knewmania on October 08, 2012, 01:53:22 am
Also, this Vera is not secured (which another post indicated could be an issue).

The Secure This Vera issue was resolved in Foscam Plugin v2.3 (and newer)

http://forum.micasaverde.com/index.php/topic,11027.msg86586.html#msg86586

Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on October 08, 2012, 05:10:50 am
@hfleejr

Please open this URL:
Code: [Select]
http://camera_ip/get_params.cgi?user=username&pwd=password
and tell me the values of these parameters
Title: Re: Foscam IP Camera Plugin
Post by: hfleejr on October 08, 2012, 08:53:54 am
var alarm_http_url='http://192.168.1.149:3480/data_request?id=lr_foscam_tripped&sensor_id=38';
var alarm_http=1;


sensor_id 38 is the id of the motion sensor for the camera that is at id 37.

Thanks
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on October 08, 2012, 09:55:15 am
Those parameters look OK if that is the correct Vera IP. There's one more parameter I forgot about, which also ca be seen with get_params.cgi:
alarm_motion_armed
It should be '1'.

You should look in the logs to see what happens when the camera notifies Vera about movement. The instructions to log in the console are here: http://wiki.micasaverde.com/index.php/Logon_Vera_SSH
And to view the logs are here: http://wiki.micasaverde.com/index.php/Logs

Use this command to view the logs:
Code: [Select]
tail -f /var/log/cmh/LuaUPnP.log | grep 'lr_foscam_tripped'
Title: Re: Foscam IP Camera Plugin
Post by: hfleejr on October 09, 2012, 12:47:29 pm
Upon future analysis by mcvflorin, the Vera IP address is stored in the camera's advanced settings (VeraAddress).  I'm using DHCP on the router, so there are situations in which the IP address for my Vera will change.  This IP address in the camera's advanced settings is not currently being updated by the Foscam app.  Until the app is updated, the IP address must be manually adjusted in the camera's advanced settings.

After making this change, I also changed the ConfiguredMD setting to 0, saved the changes and then reloaded LUUP.  Afterwards, the motion detection appears to be working correctly.

Thanks mcvflorin!!!!
Title: Re: Foscam IP Camera Plugin
Post by: asterix406 on October 15, 2012, 12:15:37 pm
I also had the issue of Motion Detection ceasing to work on one of my cameras. The solution for me was to add the Port Number to the IP address.

I then  changed the ConfiguredMD setting to 0, saved the changes and then reloaded LUUP. 

The result was that Motion Detection is now working correctly again.
Title: Re: Foscam IP Camera Plugin
Post by: cableguy on December 01, 2012, 08:52:48 pm
Hello

I am having Trouble see my new foscam camera FI9820W with vera.  I have tried to manually set it up but it will not recognize the camera.  any help please

Scott
Title: Re: Foscam IP Camera Plugin
Post by: blakcorp on December 03, 2012, 05:39:27 am
quick observations regarding motion detect and ptz on f18910w with firmware 11.37.2.46 and vera 1.5.408 firmware. first, if you didn't catch it elsewhere in this forum topic, the foscam plugin changes hidden variables for motion detection on the foscam including whether or not to notify a server via http.  if the ip of the camera or the ip of the vera or the id of the "virtual" motion detector device created by the plugin changes, that change will break motion detection.  i believe that this is the cause of many of the "unable to configure camera" errors for ip-camera devices that are currently installed.

also, it appears that if the camera has been previously added to its current or a previous mios system and was then deleted or moved to another system, the current system will fail to automatically detect and install the camera.  while one can still manually install the camera, he will have to send the arm-and-notify, http string mentioned above to the camera in order to restore motion detection on the vera3.

alternatively, one can reset the camera to factory settings. once  this is done, the vera3 will see the camera and automatically install it as a wintop zcam as well as a foscam camera, if the foscam plugin is already installed on the system.

however, be sure that the ip and mac addresses in the new ip camera devices are correct because vera will create the devices as soon as the reset is done. since the foscam requires the user to connect to it via ethernet for initial setup, vera will create the devices using the ethernet ip and mac. if the user decides to access the camera via wifi subsequent to the initial setup, the ip will likely be different and the mac will certainly be different thus breaking the newly minted ip-camera devices that vera so kindly made just moments ago. replacing at least the ethernet ip with the wifi ip in the camera's advanced settings and removing the ethernet mac will fix it. adding the wifi mac may be useful as well but i'm not sure.

finally, i have not been able to control pan and tilt with my setup as of yet. motion detection for scene control and security were my main concerns and it has taken me far too long to decipher that problem. so, it may be awhile before i devote significant time to ptz.

I did get ptz (not zoom) to work.  In order for it to work, I had to keep the user name as admin with no password.  For better security, I changed the port numbers by changing the ip address using the 192.xxx.xxx.xxx:xxx after the foscam plug-in automatically created the camera and motion-detecter devices.  I also disabled dynamic dns and upnp.
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on December 04, 2012, 08:09:56 am
Hello

I am having Trouble see my new foscam camera FI9820W with vera.  I have tried to manually set it up but it will not recognize the camera.  any help please

Scott

I do not believe the 8920 (H.264 model?) is fully supported yet.
Title: Re: Foscam IP Camera Plugin
Post by: tango22fs on December 14, 2012, 07:45:33 pm
I appreciate the plug in, worked the first time with the 8910 with no issues so far.  I was wondering if it is possible to make the infrared portion work?  Can the zoom be used to toggle the IR on and off?
Thanks.
Title: Re: Foscam IP Camera Plugin
Post by: blakcorp on December 23, 2012, 11:30:15 pm
the plug-in is not creating motion sensor devices for the latest batch of 8910's with the 11.37.2.48 firmware.  among other things, something prevents the creation of the  VeraAddress field.

it could be the latest update of the plug-in (2.5).  at any rate, i manually changed the ConfiguredMD variable to 0 (zero).  this setting created motion sensor devices for me.
Title: Re: Foscam IP Camera Plugin
Post by: blakcorp on December 23, 2012, 11:59:20 pm
pan and tilt work now with 8910's using username/password combinations and ports other than 80.  attaboy.

don't know if you've started coding sound sensor device.  should be fairly simple addition.  will look at i_foscam.xml and motion_device.xml tomorrow.
Title: Re: Foscam IP Camera Plugin
Post by: Intrepid on December 24, 2012, 07:31:51 am
UI5/1.5.408

I have three cameras (foscam 8910s) which have been working with the vera plugin for almost a year.  I have a 4th that is not added to vera.  I went through add device, camera and it says something to the effect of 'I see your three cameras, but don't see any more', and it will not add a new camera device.  I also tried going to 'apps, plugins, foscam' and creating a new one.  it does not make a new device.

I do have 'auto detect devices on my home network' unchecked.

How do I add a new foscam device?
Title: Re: Foscam IP Camera Plugin
Post by: blakcorp on December 24, 2012, 08:00:11 pm
What happens when you try to add the camera manually?
Title: Re: Foscam IP Camera Plugin
Post by: mcwilliamshouse on December 28, 2012, 03:41:22 pm
Recently I lost the motion detection on all FOUR of my foscam IP cameras. the motion detection still worked on the camera as i would still receive emails from the camera, however vera would not recognize when motion was detected. I found this out after my scenes that are triggered by motion from the camera quit working. after spending a few days going over all these forums i finally got it fixed. here is what i had to do

delete all the cameras from vera and uninstall the foscam plugin.
re-install the foscam plugin ver 2.5
log on to each of the cameras IP address and reset it to the FACTORY settings
once I did that and got them set up once again through my router and forwarded all the necessary ports i opened up vera and it had already recognized them.
all the cameras then showed up in vera however the motion sensors didnt..
i went in manually and changed the ConfiguredMD to "0" in  the advanced tab of the cameras.
saved my changes and it reloaded and POOOF!! I was back in business..

Hope this helps someone out there save a few days of reseach and headache
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on January 08, 2013, 09:03:15 am
How do I add a new foscam device?

To add a new camera follow the instructions here:
http://wiki.micasaverde.com/index.php/Manually_create_IP_Camera_device
Title: Re: Foscam IP Camera Plugin
Post by: mitcheip on January 22, 2013, 06:45:42 am
I have recently installed a F18918W camera on to my Vera Lite network, running on beta firmware that was required to fix anther issue I had, (rt3662_Luup_ui5-1.5.532-en-mios.squashfs if that means anything to anyone)

All went well to start with but I then decide to try and delete the ?extra? camera that the Foscam plugin, v2.5, created, and not reading the warnings properly, it deleted the cameras and plugin. After this I could not get the camera to re-install until I did a factory reset on the camera. I only mention this because I saw a similar comment in this thread.

Anyhow I managed to get the camera re-installed, changed the ?ConfiguredMD? to 1, (I think), and the Foscam Motion Sensor Device was created. Looking good I thought.

I pressed ?Arm? on the Foscam Motion Sensor device but nothing happened when I waved my arm in front of the camera, expect that I got an email from the camera itself with 6 pictures attached. So the camera is detecting the motion. I continued reading this thread trying a few things but no change.

I checked parameters

var alarm_motion_armed=1;
var alarm_http=1;
var alarm_http_url='http://192.168.1.63:3480/data_request?id=lr_foscam_tripped&sensor_id=11';

which match what I think they are supposed to be.

Then whilst thinking about what to do next I got a Notification email from Vera saying that there had been motion detected but I hadn't actually triggered the camera and there was no email notification from the Camera itself.

So I waved at the camera and almost immediately the camera sent an email but nothing from Vera.
I repeated this process with the same result. At that point I decided to go to bed.

During the night Vera sent another notification but there wasn't a matching camera email and I'm fairly sure there was no actual movement.

So I have started testing again this morning and it appears that the camera correctly sends email when motion is detected but Vera is sending notifications when nothing is happening.

Any ideas?
Title: Re: Foscam IP Camera Plugin
Post by: mitcheip on January 23, 2013, 08:51:04 am
I feel a bit of twit here but I have just found the problem with my alarm detection emails from Vera. It turned out that I had inadvertently left the notification has "Device is not tripped" . Once I change this to "Device is tripped" the emails from the camera and Vera appear at the same time.   :-[
Title: Re: Foscam IP Camera Plugin
Post by: teonebello on January 23, 2013, 09:57:36 am
Somebody know if this plug will be updated to support the new Foscam h.264 for PTZ and preset?

I can see in any case the camera in Vera.

Thank you
Matteo
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on January 24, 2013, 01:45:14 am
h.264 is not supported in Vera. The camera will have to support mjpeg or still shots.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: miljume on January 26, 2013, 12:15:50 pm
Hi,

Thank's for a great app!

However I have trouble with the foscam 8910 looses the picture in the "View" part of the app

http://tinypic.com/r/2cerrc9/6 (http://tinypic.com/r/2cerrc9/6)

Especially when doing PTZ actions

Any idea?

Regards,
Mikael
Title: Re: Foscam IP Camera Plugin
Post by: capjay on January 27, 2013, 06:07:06 am
Hi,

Thank's for a great app!

However I have trouble with the foscam 8910 looses the picture in the "View" part of the app

http://tinypic.com/r/2cerrc9/6 (http://tinypic.com/r/2cerrc9/6)

Especially when doing PTZ actions

Any idea?

Regards,
Mikael

yes, this happens intermittently, it has been discussed before: http://forum.micasaverde.com/index.php/topic,11151.msg79323.html#msg79323 and it looks like a problem or bug in UI5 camera view :(
 
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on January 28, 2013, 05:02:41 am
Indeed, that issue is not plugin related.
Title: Re: Foscam IP Camera Plugin
Post by: drpeterchjr on January 29, 2013, 07:10:41 pm
Hi, is there an update for the instructions for Plugin 2.5?  I have questions about the plugin, such as the preroll option and Timeout.  Also the TimeOn variable is no longer present.
Also, where are the snapshots and video being recorded to?  Is this from the set up with the FTP server and recording path in the Camera's configuration?  Or can I direct Vera to set the recording locations elsewhere?
Title: Re: Foscam IP Camera Plugin
Post by: mcvflorin on January 30, 2013, 09:47:55 am
I have questions about the plugin, such as the preroll option and Timeout.

These options are from the UI, not from the plugin.

Also the TimeOn variable is no longer present.

The OnTime parameter is in the motion sensor's Advanced tab, not it the camera's.

Also, where are the snapshots and video being recorded to?  Is this from the set up with the FTP server and recording path in the Camera's configuration?  Or can I direct Vera to set the recording locations elsewhere?

The snapshots and video are stored on our servers. The location has nothing to do with the camera's own configuration. You can't direct Vera to store the recordings somewhere else. For this, you can use the camera's own configuration page.
Title: Foscam IP Camera Plugin and the FI9821W camera - Questions?
Post by: silvereagle2208 on January 31, 2013, 12:06:29 pm
Does anyone have an idea of when the Foscam IP Camera Plugin might be expanded to include the FI9821W (H.264) camera?   The CGI/SDK for the camera has been published and it would be a very useful camera to be able to use with Vera.

Also, has anyone been able to get a FI8921W camera to show any kind of image on the Vera dashboard?   If so, how did you create the device and what were the exact settings you used?   I have been trying to get my FI8921W camera to interface with Vera for several weeks without any success.  I have seen on the forum that a couple of users have claimed to have been able to integrate snapshots from the FI9821W camera to a Vera device, but I have not been able to duplicate their work.  Any help you can give me would be appreciated.

New firmware for th FI9821W camera is supposed to be available in early February.   Perhaps that will help the integration of the FI9821W with Vera.
Title: Re: Foscam IP Camera Plugin
Post by: drpeterchjr on January 31, 2013, 12:20:44 pm
I have questions about the plugin, such as the preroll option and Timeout.

These options are from the UI, not from the plugin.

Also the TimeOn variable is no longer present.

The OnTime parameter is in the motion sensor's Advanced tab, not it the camera's.

Also, where are the snapshots and video being recorded to?  Is this from the set up with the FTP server and recording path in the Camera's configuration?  Or can I direct Vera to set the recording locations elsewhere?

The snapshots and video are stored on our servers. The location has nothing to do with the camera's own configuration. You can't direct Vera to store the recordings somewhere else. For this, you can use the camera's own configuration page.

Ok great, thanks for the clarification.  What does Timeout do?
Title: Re: Foscam IP Camera Plugin and the FI9821W camera - Questions?
Post by: garrettwp on February 01, 2013, 06:42:33 am
Does anyone have an idea of when the Foscam IP Camera Plugin might be expanded to include the FI9821W (H.264) camera?   The CGI/SDK for the camera has been published and it would be a very useful camera to be able to use with Vera.

Also, has anyone been able to get a FI8921W camera to show any kind of image on the Vera dashboard?   If so, how did you create the device and what were the exact settings you used?   I have been trying to get my FI8921W camera to interface with Vera for several weeks without any success.  I have seen on the forum that a couple of users have claimed to have been able to integrate snapshots from the FI9821W camera to a Vera device, but I have not been able to duplicate their work.  Any help you can give me would be appreciated.

New firmware for th FI9821W camera is supposed to be available in early February.   Perhaps that will help the integration of the FI9821W with Vera.

Vera does not support H.264 cameras. Unless the camera can support mjpeg along side of the H.264, then integration should not be an issue. Just have to have a look over the commands for the camera to see what needs to make it work. If it also supports retrieving still shots, it should also work. I do not know if MCV will support H.264 cameras in the future.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 01, 2013, 12:26:35 pm
There is new firmware for FI9821. Now you can get JPG picture. Use address http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx
Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on February 01, 2013, 05:57:25 pm
There is new firmware for FI9821. Now you can get JPG picture. Use address http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx

Jukka --

   I upgraded the firmware on my FI9821 and used the address you provided but I can't get it to work. Any ideas?

   Thanks in advance for your help

    Don
Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 02, 2013, 06:12:19 am
Here are my settings:

Settings tab
URL: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxxxx
MAC: Kamera MAC
IP address: 192.1xx.xxx.x:port number

Advanced tab
device_type: urn:schemas-upnp-org:device:DigitalSecurityCamera:2
device_file: D_DigitalSecurityCamera2.xml
imp_file: I_Foscam9821.xml (my own modification from I_FoscamPTZ.xml file, to get pan and tilt to work, not working today.. have to think more)

So only picture part is working..
Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on February 02, 2013, 08:47:34 am
Here are my settings:

Settings tab
URL: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxxxx
MAC: Kamera MAC
IP address: 192.1xx.xxx.x:port number

Advanced tab
device_type: urn:schemas-upnp-org:device:DigitalSecurityCamera:1
device_file: D_DigitalSecurityCamera1.xml
imp_file: I_Foscam9821.xml (my own modification from I_FoscamPTZ.xml file, to get pan and tilt to work, not working today.. have to think more)

So only picture part is working..

Hi Jukka

  Thanks

   The only difference I see so far is the device file where I am using the updated plug in for the Foscm cameras.

     Don

Title: FW9821W - I finally have an image in Vera
Post by: silvereagle2208 on February 02, 2013, 12:07:54 pm
Jukka,

Thank you very much for all you effort on trying to interface the FW9821W camera to Vera.  Your new URL setting: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxxxx combined with the new Foscam FW9821 firmware did the trick.  I finally have an image in Vera from my FW9821W camera. 

I removed the data in the username and password fields for now.  Because they are in the URL setting, they are no longer needed separately in the username and password fields.

The image format is different in thumbnail and the View form, but that can probably be fixed with a programming change.  I have no entry for the impl_file on the advanced tab because if you use the D_DigitalSecurityCamera1.xml device file, the impl_file is not referenced.  That is possibly why your I_Foscam9821.xml file appears to have no effect.  If I remember correctly the  I_FoscamPTZ.xml impl file is only referenced from the D_DigitalSecurityCamera2.xml device file.   

Thank you for helping me finally get an image in Vera from my FW9821W camera.  Good luck in writing an impl file for the camera.



Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 02, 2013, 12:52:41 pm
It is probably better to not use I_FoscamPTZ.xml file because all commands in it are not valid for FI9821. It is better to leave that field empty.

Now I have succeed to modify my I_Foscam9821.xml file so that pan and tilt commands are working. Also preset are almost working (I only have to use fixed names for them Preset1, Preset2 and so on, I don?t know how to parse preset names to Vera because camera uses presets names no numbers)
Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 03, 2013, 06:56:36 am
Now also Pan/Tilt (and Presets) are working. Upload attached I_Foscam98HD.xml file to your Vera (go to APPS/Develop Apps/Luup files)

You must also have D_DigitalSecurityCamera2.json and D_DigitalSecurityCamera2.xml files on your Vera

After upload of the file I_Foscam98HD.xml change settings on tab page Advanced
 - device_type: urn:schemas-upnp-org:device:DigitalSecurityCamera:2
 - device_file: D_DigitalSecurityCamera2.xml
 - impl_file: I_Foscam98HD.xml

Remember also put your username and password (page Settings). Pan and tilt commands need them.
Save setting

Presets are not working as they should. I will change this when I know how to do it (and have more time to do it, maybe someone else can do it). Now you must log to your camera with our browser and make preset and name then like this Preset1 Preset2 Preset3..

There are lot of fields in the Advanced tab that are not used with this imp-file. (Especially fields that are used for Motion Sensor. Maybe we need these in the future).
Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on February 06, 2013, 07:06:10 am
Now also Pan/Tilt (and Presets) are working. Upload attached I_Foscam98HD.xml file to your Vera (go to APPS/Develop Apps/Luup files)

You must also have D_DigitalSecurityCamera2.json and D_DigitalSecurityCamera2.xml files on your Vera

After upload of the file I_Foscam98HD.xml change settings on tab page Advanced
 - device_type: urn:schemas-upnp-org:device:DigitalSecurityCamera:2
 - device_file: D_DigitalSecurityCamera2.xml
 - impl_file: I_Foscam98HD.xml

Remember also put your username and password (page Settings). Pan and tilt commands need them.
Save setting

Presets are not working as they should. I will change this when I know how to do it (and have more time to do it, maybe someone else can do it). Now you must log to your camera with our browser and make preset and name then like this Preset1 Preset2 Preset3..

There are lot of fields in the Advanced tab that are not used with this imp-file. (Especially fields that are used for Motion Sensor. Maybe we need these in the future).

Jukka--

  Thanks for doing this. After uploading the impl_file I keep getting "device not ready" when I try to use the pan keys. Any thoughts? I am running firmware 1.5.408. I have verified all of the relevant files were uploaded.

    Don
Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 06, 2013, 03:10:41 pm
Hello Don

Can you see the picture? Or get you that message when you try to rotate the camera?

If you can?t see the picture at all then I don?t have any hint what is wrong.

But if you can?t use pan/tilt then probably there are problems with user name and password. I am using username as admin (I know that this is not good way to do it but..).

Next sentence is taken from Foscam CGI User Guide:
?Our device can only support authentication by pass user name or password attached at CGI request string currently. For example: http://192.168.1.2/cgi-bin/CGIProxy.fcgi&usr=admin&pwd=123&cmd=ABC?
(I am not good at English and don?t fully understand what they mean)

This is an example of Move Up command: /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp&usr=admin&pwd=xxxx

In every commad example they are using usr=admin. So if you use different user name than admin maybe that is reason for your problems. (I haven?t tested different user names.)
Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on February 06, 2013, 04:16:45 pm
Hello Don

Can you see the picture? Or get you that message when you try to rotate the camera?

If you can?t see the picture at all then I don?t have any hint what is wrong.

But if you can?t use pan/tilt then probably there are problems with user name and password. I am using username as admin (I know that this is not good way to do it but..).

Next sentence is taken from Foscam CGI User Guide:
?Our device can only support authentication by pass user name or password attached at CGI request string currently. For example: http://192.168.1.2/cgi-bin/CGIProxy.fcgi&usr=admin&pwd=123&cmd=ABC?
(I am not good at English and don?t fully understand what they mean)

This is an example of Move Up command: /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp&usr=admin&pwd=xxxx

In every commad example they are using usr=admin. So if you use different user name than admin maybe that is reason for your problems. (I haven?t tested different user names.)

  Jukka

     I get the 720p picture to appear.. No problem. The user and password obviously are correct. The pan just started working. I may of had an extra trailing blank space after the impl device name under settings. 

     Thanks for your help.

        Don
Title: I also have it working - Jukka's FI9821W IP Camera Plugin
Post by: silvereagle2208 on February 06, 2013, 05:28:11 pm
Jukka,

I also have a working picture and pan functionality through Vera with my Foscam FI9821W camera using your I_Foscam98HD.xml impl file and the new FI9821W firmware.  It would be nice at this time to have a few hours of mvcflorin's development time to make your I_Foscam98HD.xml have the same functionality as the current Foscam IP Camera Plugin that works with FI8910W cameras.

There are a few quirks using the new camera with Vera.  The View function frequently breaks, but that also happens with any Foscam camera accessed through Vera at this time.  The pan function on my Vera is sluggish, but since I have 7 Foscam cameras, I would expect it to be.

I really like using the FI9821W camera.  One of the main reasons is this camera has a user interface that can be tied to 9 Foscam cameras at one time. These cameras can be any mixture fo FI9821W, FI8910W, or FI8909W cameras.   I know of no other Foscam camera interface or free camera client that allows one to mix H.264 and MJPEG WiFi cameras. 

A couple of caveats if you plan to use the FI9821W camera's multi-camera functionality.  First you will need to install the newest Foscam FI9821W software.  Second, if you are planning to access the camera by means of a DDNS servers such as dyndns.org, when you add a camera, you will need to use a host address format like http://mycamera.dyndns.org.  The camera will save the address, but in doing so it will remove the http:// prefix.   If you try to add a camera without using the http:// prefix, the interface will say that the camera was added correctly, but that will not actually be the case.  It took me a several evenings of frustration before I learned about the need for the http:// prefix when I added a camera.  For a MJPEG camera, the HTTP and Media Port will have the same value.  This Network Address Tables for each camera need to be entered into your router's NAT address table.  A H.264 camera will have a separate HTTP Port and Media Port.  Each of these values must be different and also entered into your router's NAT table.
Title: Re: Foscam IP Camera Plugin
Post by: drpeterchjr on February 06, 2013, 08:24:22 pm
Is there a way to control the pan and tilt with a scene?  So far only the Motion Sensor can be added in the scene.  The camera itself is greyed out on my Vera in the scene creation options.


I just finished tweaking the Foscam plugin version 2.0 and written some documentation. Now it has support for motion sensor and presets. It should work for both UI4 and UI5. Presets are supported only in firmware versions starting with 1.5.390.

The documentation is here:
http://code.mios.com/trac/mios_foscam-camera

Note: On firmwares older than 1.5.390 arming and bypassing the motion sensor won't work unless you upload this (http://code.mios.com/trac/mios_foscam-camera/raw-attachment/wiki/WikiStart/D_DigitalSecurityCamera1.xml) file on Vera. After you upload the file, you must reload the Luup engine.

Edit: By the way, those who don't like the new version can get the old one here: http://code.mios.com/trac/mios_foscam-camera/browser#tags/1.0

Edit no.2: I updated the documentation (http://code.mios.com/trac/mios_foscam-camera#Gettingpresetssupportinpost1.5.390firmwares) with instructions for getting presets support in post 1.5.390 firmwares.

Edit no.3: It seems that the updated camera interface with 8 preset buttons didn't make it into the beta release. I attached the updated file. Upload it on Apps >> Develop Apps >> Luup Files and reload Luup after uploading.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on February 07, 2013, 01:59:08 am
Have you looked in the advanced tab of the scene creator? Most actions can be configured there.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 08, 2013, 01:34:23 pm
Here you have new I_Foscam98HD.xml file. Now you can use your own preset names (no need to use any more "fixed names"). First 8 preset are "active".
Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on February 08, 2013, 02:17:48 pm
Here you have new I_Foscam98HD.xml file. Now you can use your own preset names (no need to use any more "fixed names"). First 8 preset are "active".

Jukka--

  Thanks

      Don
Title: Re: Foscam IP Camera Plugin
Post by: auto on February 10, 2013, 03:11:53 pm
Jukka-

I tried to upload the Luup file but it get's renamed "C%3A%5CI_Foscam98HD.xml" in my list of Luup files?  How do I upload it so it shows as "I_Foscam98HD.xml".  I have search the blog trying to figure out what I'm doing wrong.  Everything works with the camera except the presets and pan/tilt.


Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: auto on February 10, 2013, 03:25:28 pm
Never mind-  IE problem.  Used Crome and it worked.

Thanks for all of your work on this!
Title: Foscam IP Camera Plugin - What service ID to use
Post by: silvereagle2208 on February 11, 2013, 07:14:30 pm
Jukka,

Is your impl file I_Foscam98HD.xml meant to work with urn:schemas-upnp-org:device:DigitalSecurityCamera:1 or urn:schemas-upnp-org:device:DigitalSecurityCamera:2?   Your program lists you CAM_SID as urn:micasaverde-com:serviceId:Camera1.   However, I do not see the presets with your impl file unless I use urn:schemas-upnp-org:device:DigitalSecurityCamera:2 as the device file.

I am also a little confused in regard to have everything functions.  I set the device type like your xml code: urn:micasaverde-com:serviceId:Camera1 and after I save the entry, the device type is transformed into urn:schemas-upnp-org:device:DigitalSecurityCamera:1.

Any information you could provide would be appreciated.

Also, are you looking into adding Motion Sensor functionality to your code?
Title: Re: Foscam IP Camera Plugin
Post by: Jukka on February 12, 2013, 11:36:19 am
silvereagle2208

In Advanced tab in field device_type you must have urn:schemas-upnp-org:device:DigitalSecurityCamera:2 (If you use urn:schemas-upnp-org:device:DigitalSecurityCamera:1 then presets are not visible)

I was looking how to add motion Sensor to my code but I can't do it now. I don't know how to do that. FI9821 Camera firmware don't have same kind of commands than older Foscam cameras had. I can't find any instructions/commands how to tell camera to send information to Vera that motion is detected!
Title: Re: Foscam IP Camera Plugin
Post by: allmoney.ws on February 12, 2013, 03:41:30 pm
I try to add FI9821W to z-wave vera 3 controller and got error:
(http://i.imm.io/W0iR.png)

http://192.168.1.113:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=MYLOGIN&pwd=MYPASS (in browser it works - I see screenshot from cam)

What's wrong?
Title: Re: Foscam IP Camera Plugin
Post by: silvereagle2208 on February 13, 2013, 07:32:39 pm
First of all you need to upgrade your FI9821W camera to the latest version of its firmware.  I believe the issue date for the firmware is 2/1/2013.  Without the latest firmware, you will not have a chance of succeeding.

Then try these entries on your settings page:

URL: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=MYLOGIN&pwd=MYPASS
Username: MYLOGIN
Password: MYPASS
MAC:   WiFi MAC address of your FI9821W camera
IP Address: 192.168.1.113:88

Advanced settings:
device_type: urn:schemas-upnp-org:device:DigitalSecurityCamera:2
device_file: D_DigitalSecurityCamera2.xml

impl_file:  The latest version of Jukka's I_Foscam98HD.xml file
DirectStreamingURL:  /img/video.mjpeg    I don't know if this works, but it is the setting I use.


These are similar to the settings that I use for my FI9821W camera on my Vera 3 device.   Hopefully, they will work for you as well.
You also need to be sure that your follow the device creation procedure listed in this thread.

Good luck.
Title: Re: Foscam IP Camera Plugin
Post by: ayasa on February 14, 2013, 09:10:08 am
Hi, I installed Foscam 8918W manually on Vera3. Camera works well but motion sensor stays red and generate notification every minute as while sense motion (via Vera Alerts). Ontime value set as default (1200).

Assumed ontime parameter does not work properly. How do I make ontime parameter work ? I just want to get notification once every 20+ minutes...
Title: Re: Foscam IP Camera Plugin
Post by: allmoney.ws on February 16, 2013, 12:40:05 pm
Then try these entries on your settings page:
Thanks! Now sometimes I see pic, but new problems :))

Model: FI9821W

I use I_Foscam98HD.xml from message
http://forum.micasaverde.com/index.php/topic,11027.msg101679.html#msg101679

Sometimes I see good pic, but sometimes I see this:
http://i.imm.io/WqtW.png

What can be?

And I have no "DirectStreamingURL" in Advanced Tab...

At android I have stream error... :( Help!
Title: Re: Foscam IP Camera Plugin
Post by: silvereagle2208 on February 16, 2013, 09:52:22 pm
It is possible that your camera is working as expected with Vera, especially if you are using multiple cameras.   Foscam cameras are not extremely stable with the current version of Vera firmware.   I hope it is better with the next firmware release.   But if sometime you see a good picture and sometimes you see http://i.imm.io/WqtW.png, you are experiencing what I consider to be normal behavior of a Foscam camera and Vera.   

If I want to see stable video images from my 7 Foscam cameras, I use my Foscam FI9821W camera in Multi-Camera mode on a Windows PC.  It is the only way I have found to access with stability both FI9821W (H.264)  and FI8910W (MJPEG) Foscam cameras as the same time.   Vera can access both types of cameras at the same time, but it is not stable.  I use my Vera as only a secondary source for images.

As far as accessing the FI9821W from an android device,  I have similar issues.  In my case, I cannot see images, but I can access the camera settings.  I believe that source of the frustration is the standard browser that comes with an android device does have the necessary plug-in to work properly.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on February 17, 2013, 12:48:25 am
Video streaming from Vera using a third party app like home buddy, authomation, etc  will not work correctly with UI5. Not unless the developer implemented a certain api which I believe rakstar is not using (I believe he is using an older api which does not work under UI5).

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: nas4a on February 17, 2013, 01:12:52 am
Wow, I didn't expect this much activity on this thread. :)

I have a Foscam FI8910W, and I also am not seeing the step size, reverse control, or Vera  address variables.

I cannot get the Activation Icon for my Foscam camera to indicate that the camera's motion sensor was tripped (activated). 

You add I_FoscamPTZ.xml to the impl_file field on the Camera Advanced tab.

So I'm having this same problem.  I installed the camera, and managed to get everything working fine.  I don't have the Veraaddress variable.  I have StepSize and Reverse Control variables, just no Vera Address.

When I add the motion sensor, it creates, and changes the ConfiguredMD to 2.  I configure the Motion sensor as described, but like the camera, there's no field for "VeraAddress." 

I have read all the threads here and have made sure my motion is ON in the Foscam interface.  It works in the Foscam interface as I can get e-mails and hear alarms.  I also have ensured that I didn't have the "Secure my vera" option selected as I have read that may cause issues. 

Does anyone have any thoughts as to what might get this working?  I'm running UI4, using D_DigitalSecurityCamera1.xml and I_FoscamPTZ.xml with a Foscam FI8904W.  Again, the camera works fine, the motion detector add-in appears, but will not show motion...I think because I am lacking the "VeraAddress" field on both the camera and the motion detector.

Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: ayasa on February 17, 2013, 02:19:07 am
Hi, I installed Foscam 8918W manually on Vera3. Camera works well but motion sensor stays red and generate notification every minute as while sense motion (via Vera Alerts). Ontime value set as default (1200).

Assumed ontime parameter does not work properly. How do I make ontime parameter work ? I just want to get notification once every 20+ minutes...

any suggestion?
Title: Re: Foscam IP Camera Plugin
Post by: drpeterchjr on February 20, 2013, 12:06:06 pm
Hi, I can't seem to use Presets for the camera in a scene.  I want the camera to be pointing one way when I am at home and then another way when I leave with an "away" scene.  How do I do this?
Title: Re: Foscam IP Camera Plugin
Post by: oTi@ on February 20, 2013, 12:52:49 pm
The Advanced tab in the scene editor lets you add the GoToPreset action for the camera.
Title: Re: Foscam IP Camera Plugin
Post by: drpeterchjr on February 21, 2013, 02:12:39 am
Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: knewmania on February 21, 2013, 02:32:45 am
The Advanced tab in the scene editor lets you add the GoToPreset action for the camera.

Very interesting. I did not know that functionality existed. I am using LUUP code to initiate preset movement via scenes.

Thanks for the information.
Title: Re: Foscam IP Camera Plugin
Post by: Floor61 on March 01, 2013, 10:39:46 am
Wow, I didn't expect this much activity on this thread. :)

I have a Foscam FI8910W, and I also am not seeing the step size, reverse control, or Vera  address variables.

I cannot get the Activation Icon for my Foscam camera to indicate that the camera's motion sensor was tripped (activated). 

You add I_FoscamPTZ.xml to the impl_file field on the Camera Advanced tab.

So I'm having this same problem.  I installed the camera, and managed to get everything working fine.  I don't have the Veraaddress variable.  I have StepSize and Reverse Control variables, just no Vera Address.

When I add the motion sensor, it creates, and changes the ConfiguredMD to 2.  I configure the Motion sensor as described, but like the camera, there's no field for "VeraAddress." 

I have read all the threads here and have made sure my motion is ON in the Foscam interface.  It works in the Foscam interface as I can get e-mails and hear alarms.  I also have ensured that I didn't have the "Secure my vera" option selected as I have read that may cause issues. 

Does anyone have any thoughts as to what might get this working?  I'm running UI4, using D_DigitalSecurityCamera1.xml and I_FoscamPTZ.xml with a Foscam FI8904W.  Again, the camera works fine, the motion detector add-in appears, but will not show motion...I think because I am lacking the "VeraAddress" field on both the camera and the motion detector.

Thanks!

Bump for this question.  I've had this happen in the past too.  Certain variables don't show up even after a plug-in has been installed.  I've updated the xml files, sometimes even re-uploading new versions.  Why don't these always take?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 03, 2013, 11:07:14 pm
the webstuff vera uses works best with firefox, have you tried this ?

i use the foscam plugin (normal version) for my eminent EM6561 ip-camera. works fine, even the motion-detect. had to put it on admin-account in ip-cam for it to work. it would be nice to implement the code for the IR-leds on/off too.
http://ip-of-cam:port/decoder_control.cgi?command=94,5,admin,pass      IR off
http://ip-of-cam:port/decoder_control.cgi?command=95,5,admin,pass      IR on
Title: Re: Foscam IP Camera Plugin
Post by: nas4a on March 06, 2013, 09:27:10 am
FYI - For anyone having the issue, the VeraAddress Variable shows as Gateway Address in UI4.  This wasn't clear to me, and thus caused a problem.
Title: Re: Foscam IP Camera Plugin
Post by: kkl on March 10, 2013, 03:56:18 pm
How do I permanently uninstall Wintop zCam IP Camera?  No matter how many times I uninstall the plug-in and delete the device, it always reappears.
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on March 10, 2013, 05:16:38 pm
Anyone know how to switch in the foscam the alarm settings off via a scene. When it starts snowing my Foscam detects motion every second and i am bombed with alerts.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 10, 2013, 06:57:16 pm
How do I permanently uninstall Wintop zCam IP Camera?  No matter how many times I uninstall the plug-in and delete the device, it always reappears.
first turn off in net/wifi settings the autodetect UPnP devices and reboot vera
then delete device
http://vera_ip_address:3480/data_request?id=device&action=delete&device=<number of device u want deleted>
then reboot and install your camera with the right plugin or just use the foscam devicesettings file in the zcam devicesettings
foscam first install 622 firmware then install foscamplugin then put autodetect UPnP on and then reboot vera and let it be auto-detected.
if it not detected then you would add it manually.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 10, 2013, 07:09:30 pm
Anyone know how to switch in the foscam the alarm settings off via a scene. When it starts snowing my Foscam detects motion every second and i am bombed with alerts.

luup.variable_set("urn:micasaverde-com:serviceId:SecuritySensor1", "Armed", "0", <devicenumber_of_motionsensor_of_ipcam>)
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 10, 2013, 07:21:45 pm
when i use:
 /videostream.cgi
the stream does not get passed correctly and when i view it the window opens but nothing is there
when i use:
/videostream.asf
the stream does get passed but gives output asf and file empty.
could this be due to different port-setting on WAN interface ? i use internally port 80 where on WAN port 80 is my webserver. the asf stream got somehow through so i believe it should work, but does not pass videodata to MCV.
anyone has a clue ? is it the old libs used in vera or is it my portsettings ? i recon my ports are ok since asf gets start of videodata passed through. it just cuts of streaming.
how would i pass argument variables to the videostream withouth putting user & pass ? i.e. /videostream.cgi?user=blah&pwd=inlogje&resolution=32
how would i put this in the field for directstreaming url ? i put allready MAC adress like 00:aa:bb:cc:00:00 or should it be like : 00aabbcc0000 ?
here are some docs : http://downloads.eminent-online.com/IPCAM%20CGI%20SDK%20V1.7.pdf (http://downloads.eminent-online.com/IPCAM%20CGI%20SDK%20V1.7.pdf)
cam is a Eminent EM6561 , a raped and overpriced foscam el cheapo (shame on my fellow country people. em6561 > 115? .. same foscam > 60?)
edit: new 622 firmware for vera solved the problem where the cam picture is not displayed everytime you open the device properties
Title: Re: Foscam IP Camera Plugin
Post by: kkl on March 10, 2013, 07:33:05 pm
How do I permanently uninstall Wintop zCam IP Camera?  No matter how many times I uninstall the plug-in and delete the device, it always reappears.
first turn off in net/wifi settings the autodetect UPnP devices and reboot vera
then delete device
http://vera_ip_address:3480/data_request?id=device&action=delete&device=<number of device u want deleted>
then reboot ...
Da_JoJo,
Thanks for the response.  That appears to have done the trick.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 10, 2013, 07:44:07 pm
Da_JoJo,
Thanks for the response.  That appears to have done the trick.
:)
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on March 11, 2013, 03:00:58 am
Anyone know how to switch in the foscam the alarm settings off via a scene. When it starts snowing my Foscam detects motion every second and i am bombed with alerts.

luup.variable_set("urn:micasaverde-com:serviceId:SecuritySensor1", "Armed", "0", <devicenumber_of_motionsensor_of_ipcam>)

Thx, but since the detection only works if the Foscam itself is armed as well. I want to receive the picture from the Foscam in my email as well. So i understand how to arm/bypass in the Vera, but i want to switch it off in the Foscam software
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 14, 2013, 03:41:09 am
Anyone know how to switch in the foscam the alarm settings off via a scene. When it starts snowing my Foscam detects motion every second and i am bombed with alerts.

luup.variable_set("urn:micasaverde-com:serviceId:SecuritySensor1", "Armed", "0", <devicenumber_of_motionsensor_of_ipcam>)

Thx, but since the detection only works if the Foscam itself is armed as well. I want to receive the picture from the Foscam in my email as well. So i understand how to arm/bypass in the Vera, but i want to switch it off in the Foscam software
http://ip-of-cam:port/decoder_control.cgi?command=<command-for-alarm-disable>,5,admin,pass
its in the documentation of your equipment. reading the manual is so hard, there are so many words in it so i gave up on it.
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on March 14, 2013, 10:10:30 am
thx for the effort, I will give it a try!
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on March 16, 2013, 02:34:59 am
thx for the effort, I will give it a try!
let us know how you came about :)
Title: Re: Foscam IP Camera Plugin
Post by: dinkeldorf on March 19, 2013, 12:51:24 pm
Great thread guys. Got my 9821 working just enough for now over powerline ethernet in tandem with my older foscams. I too made the mistake of an leading space on the implementation file! Now for the outdoor cam....
Title: Re: Foscam IP Camera Plugin
Post by: richgodfrey on April 02, 2013, 06:02:21 pm
Some people were asking for the ability to turn off the camera motion control according to whether the house was armed or not.  The issue was that the camera was continuing to email pictures when the house was disarmed within Vera but camera was configured to send images.

After a bit of research I worked out the following LUUP code added to a scene will activate/deactivate the cameras motion detection.

Deactivate motion control
luup.inet.wget( 'http://x.x.x.x:xx/set_alarm.cgi?motion_armed=0&user=xxx&pwd=xxx')

Activate motion control
luup.inet.wget( 'http://x.x.x.X:xx/set_alarm.cgi?motion_armed=1&user=xxx&pwd=xxx')
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on April 03, 2013, 04:30:46 am
brilliant, will check it tonight!!! ---> IT WORKS thx!
Title: Re: Foscam IP Camera Plugin
Post by: knewmania on April 03, 2013, 09:04:22 am
After a bit of research I worked out the following LUUP code added to a scene will activate/deactivate the cameras motion detection.

FYI. This can also be accomplished without LUUP code through the Advanced tab of a Scene.

From the Advanced Tab, Select the appropriate Motion Sensor device from the list of available devices and click Add.

Select the SetArmed variable from the available drop down list, and provide a value (0=disarmed, 1=armed).
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on April 03, 2013, 01:29:46 pm
The request was to switch off the motion detection of the Foscam camera itself, this cannot be done as far as I know via the advanced tab
Title: Re: Foscam IP Camera Plugin
Post by: richgodfrey on April 03, 2013, 04:35:09 pm
I found that the advanced tab didn't actually turn off the cameras motion detection on my system.  This method was reliable for me anyway.
Title: Re: Foscam IP Camera Plugin
Post by: knewmania on April 03, 2013, 11:47:03 pm
The request was to switch off the motion detection of the Foscam camera itself, this cannot be done as far as I know via the advanced tab

My apologies. It appears I was all in the Kool-aid but didn't know the flavor.  ;)
Title: Re: Foscam IP Camera Plugin
Post by: tedp on April 16, 2013, 02:50:44 pm
I have 3 Foscams (8910 and 8909) integrated and they work well. I'd like to get motion detection recognized by Vera. Reading the thread, there should be a ConfigureMD variable in the advanced tab of the camera that needs to be set to 0 in order to enable motion detection. I see no such variable in the list -- should I just add it myself?

Thx
Title: Re: Foscam IP Camera Plugin
Post by: beerguy on April 16, 2013, 03:20:05 pm
In the Foscam app in my vera lite the variable is State, and I believe setting it to 2 enables the motion sensor.
Title: Re: Foscam IP Camera Plugin
Post by: tedp on April 16, 2013, 06:05:56 pm
Thanks Beerguy, that did the trick

 2

Title: Re: Foscam IP Camera Plugin
Post by: lunatech on April 18, 2013, 10:35:13 am
Then try these entries on your settings page:
Thanks! Now sometimes I see pic, but new problems :))

Model: FI9821W

I use I_Foscam98HD.xml from message
http://forum.micasaverde.com/index.php/topic,11027.msg101679.html#msg101679

Sometimes I see good pic, but sometimes I see this:
http://i.imm.io/WqtW.png


I have this same issue. I also cannot pan nor tilt.
Title: Re: Foscam IP Camera Plugin
Post by: Peter on April 18, 2013, 10:39:16 am

I had the same problem
/videostream.cgi?Resolution=640x480?user=user&pwd=password

I changed the "?" in a "&" and the problem was solved.
/videostream.cgi?Resolution=640x480&user=user&pwd=password
Title: Re: Foscam IP Camera Plugin
Post by: erickskywalker on April 30, 2013, 03:32:29 pm
I'm using the I_FoscamPTZ to control PTZ my generic camera.

But MoveDown, Zoom In and Zoom out button don`t work.

I`d like to edit this file to fix this. But I don`t have idea what I need to do.

Can anyone help me with it? Thanks in advance!

Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on May 02, 2013, 12:02:59 pm
In the Foscam app in my vera lite the variable is State, and I believe setting it to 2 enables the motion sensor.

Hi Beerguy

   I changed the state value and it worked (but changed it back to 1). It appears no sensor (-1) and sensor (1).

   Thanks

     Don
Title: Re: Foscam IP Camera Plugin
Post by: Chris H. on May 10, 2013, 05:43:14 am
I added 2 9821w camera's to my system last night and tried to add the to Vera with no luck. I noticed the Foscam Plugin is now the "Vistacam PT&HD IP Cameras" Plugin.

I uninstalled my old plugin and also uninstalled all my cameras and manually added them based on this thread. My 8910w's setup fine and the corresponding motion sensors but I am unable to get the Motion Sensors to install for the new 9821w's. One of the camera's sits at "Configuring" on the dashboard with the blue circle when I change "Configured" from "0" to "2" but the second camera doesn't even have the Variable "Configured". Anyone have any idea's on what's going on and how to fix it?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on May 14, 2013, 02:06:27 pm
got myself a Foscam FI9818W today and trying to get it work but it seems failing and indeed the plugin is now Vistacam and should support HD ?
snapshot url      :  /cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass
Directstream url : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=user&pwd=pass   < seems to give a internal server error 500 .. ehh > see edit3:

here is a page with many settings for foscam: http://www.ispyconnect.com/man.aspx?n=foscam (http://www.ispyconnect.com/man.aspx?n=foscam)

there seems to be something wrong with the parsing of username and pass or the image that is 1280x720 . i donno yet. have no time to figure it out. any ideas ?

edit: FI9821W seems to use same commands as 9818W. 

edit2: i tried adding it as a generic ip-cam and put the http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass (http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass) in the box leaving the user and pass box empty. not work
have put : http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass (http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass) > not working  > must be snapPicture2 for direct jpeg picture reply from ipcam
cant change portnumber as i have multiple cams around the house.

edit3: to get the video working in vera with a foscam 9818/9821 :
first set ipcam in foscam webinterface to AVI on stream 1 (this is standard setting if im not confused)
then set ipcam to mjpeg on substream in a new browsertab : http://ip-address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1 (http://ip-address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1)    (use admin account or it will fail)
then set in device tab advanced on vera :  Directstreaming url : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=controluser&pwd=password (or use admin account)

edit4: sdk shizzle http://foscam.us/forum/download/file.php?id=606 (http://foscam.us/forum/download/file.php?id=606)

edit5: got it working :)
========================================================================================================================================
settings :

In UI5 goto Apps> Install Apps and find "VistaCam PT&HD IP Cameras" and "VistaCam SD Motion Sensor Plugin" plugins and install these to your vera.
reboot the Vera after installation of these plugins.
Now go to IP-cam settings page and set the camera to port 80 and streamingport 880
after the IP-cam rebooted and is up n running > power-cycle the IP-cam (just pull plug, wait 15 secs and put plug back) it should automaticly add your IP-cam in vera
first open in new tab in browser and enter this:
http://ip-adres:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1 (http://ip-adres:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1)    (ip-adres is the ip of the ip-cam:port of ipcam. use admin account or it will fail)   
open webinterface foscam and login with admin and set video > snapshotsettings to low and save
open webinterface foscam and set  PTZ preset settings :
cruise tracks add :  custom 
add preset: Center    >  on right side : Center and Topmost
goto PTZ startup options and set startup option to:  Go To Preset position  > Preset selection : Center
in order to use the presets they have to be in order. 1 to 8 are used in the vera UI , so the preset you like to use need to be in same order 1 till 8.
upload attached "I_Foscam98HD.xml" to vera in UI goto Apps > Develop Apps > Luup Files
open in vera the ip-cam settings tab and fill in user&pass and save settings right top  (it need admin for the motiondetect to work, alas this is not functioning yet)
goto advanced tab and see if it looks like this :

Device params

 name                        Foscam FI9818W
 device_type              urn:schemas-upnp-org:device:DigitalSecurityCamera:2
 altid
 ip                             192.168.1.180:80                             <  <IP:port> of your cam, put internet-adress of router and port-forward if u want to see it from internet (put it on port 81>internal 80)
 mac                          <MAC adress of your IP-Cam>         <  put here mac adress if not filled in, so you can store pics and video on MCV servers
 manufacturer            Foscam
 model                       FI9818W
 room_num     
 id_parent
 embedded                 <unticked>
 disabled                    <unticked>
 restricted                   <unticked>
 device_file                 D_DigitalSecurityCamera2.xml
 id                               60                                              < is made automaticly by vera
 time_created             (some time added by vera)
 category_num           6
 subcategory_num     0
 onDashboard            1
 username                  controluser
 password                  pass
 room                         1
 impl_file                     I_Foscam98HD.xml
 local_udn                   (some uuid:number added by vera)
 
Variables

 Configured                 0
 LastUpdate                0
 Timeout                      5
 DirectStreamingURL    < these are auto-added by I_foscam98HD.xml file
 PreRollBuffer               0
 CommFailure               0
 URL                             < these are auto-added by I_foscam98HD.xml file
 StepSize                     1
 ReversePan                0
 ReverseTilt                  0
 Commands                 < these are auto-added by I_foscam98HD.xml file
 State                          0
 ReverseControls         0

=========================================================================================================================================

if you want to have more IP-cams then you would set port 81 on router to ip-cam_ip:80, port 82 for next cam to ipcam_ip port 80 , port 83 to ip-cam_ip port 80, 84 to ip-cam_ip:80 etc..
its not neccesary to put port 80 in vera settings tab or browser as this is default port that is used.

 edit6:darn this formatting stuff is annoying as hell :-s
 edit7: few corrections. it seems devicesettings need also username and pass for PTZ and preset to work. Big Thanks to Jukka !
 edit8: fixed I_foscam98HD.xml  , added videourl and login for picture/video parameter. see attached file. if its correct you only need to fill in user/pass now and the url get
 automaticly written in URL and DirectstreamingURL parameter in device advanced settings.
 edit9: added snapshot to commands in xml file
 edit10: changed configsettings and added some more info
 edit 11: fixed zoom option and typo
Title: Re: Foscam IP Camera Plugin
Post by: lepverde on May 16, 2013, 05:11:55 pm
Hi, I installed Foscam 8918W manually on Vera3. Camera works well but motion sensor stays red and generate notification every minute as while sense motion (via Vera Alerts). Ontime value set as default (1200).

Assumed ontime parameter does not work properly. How do I make ontime parameter work ? I just want to get notification once every 20+ minutes...

any suggestion?

Hi Ayasa,

Did you ever find a solution where the camera motion sensor is tripped but still sending notifications every minute although the OnTime parameter is set to 1200 sec (20mins)?

I'm having the same issue with my Foscam FI8918W (11.22.2.47) and VeraLite running firmware (1.5.622) and VistaCam plugin v3.0.

Thanks,
Lepverde
Title: Re: Foscam IP Camera Plugin
Post by: skinnez on May 22, 2013, 08:22:42 am
Hi all,

I've just added a 9821w manually to test if it works before buying one. I used the I_Foscam98HD.xml tweaked file supplied earlier in this post. Unfortunately I couldnt get the pan/tilt to work so I then installed the VistaCam PT&HD IP Cameras PLUGIN hoping it would help (it didn't). I then tried to remove it from the UI5 web interface but it says invalid plugin... 
device_type  -  urn:schemas-upnp-org:device:DigitalSecurityCamera:2
device file  -     D_DigitalSecurityCamera2.xml
impl file   -       I_Foscam98HD.xml
Can anyone assist with an ssh manual removal of the device (if that will work)? file locations etc?? Or any other suggestions?
Cheers
J
Title: Re: Foscam IP Camera Plugin
Post by: Brientim on May 22, 2013, 08:27:45 am
To delete the device:

http://ip_address:3480/data_request?id=device&action=delete&device=number

Replace ip_address and number to suit
Title: Re: Foscam IP Camera Plugin
Post by: Don Diego on May 22, 2013, 08:38:04 am
Hi Chris --

  That was my experience also. The motion sensor does not install for the FI9821s. I have tried various alternatives with no luck.

     Don

I added 2 9821w camera's to my system last night and tried to add the to Vera with no luck. I noticed the Foscam Plugin is now the "Vistacam PT&HD IP Cameras" Plugin.

I uninstalled my old plugin and also uninstalled all my cameras and manually added them based on this thread. My 8910w's setup fine and the corresponding motion sensors but I am unable to get the Motion Sensors to install for the new 9821w's. One of the camera's sits at "Configuring" on the dashboard with the blue circle when I change "Configured" from "0" to "2" but the second camera doesn't even have the Variable "Configured". Anyone have any idea's on what's going on and how to fix it?
Title: Re: Foscam IP Camera Plugin
Post by: skinnez on May 22, 2013, 09:26:00 am
Thanks Brientim, perfect  :)
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on May 22, 2013, 10:03:53 am
Hello !

I can see in apps.mios a newest version (2013-05-20 05:35:49) for vistacam plugin.

it is for foscam too. Plugin for the VistaCam PT, VistaCam HD and Foscam (non-HD + HD) cameras

I have installed my 4th foscam camera but the motion sensor and presets do not works and I can not record pictures as well.

is this plugin a best option to do the things works ?

or foscam plugin will be updated to correct this problems ?

thanks...
Title: Re: Foscam IP Camera Plugin
Post by: twostep on May 24, 2013, 01:32:01 pm
Vera3 : current firmware.   F19821W with latest firmware.

I think I have followed the advice here but cannot even get the snapshot working for my F19821.

I can use the url http://192.168.0.100:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=admin&pwd=xxx from a browser to get the snapshot and url http://192.168.0.100:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxx to get the stream.

In my Vera device I have : Device Type : urn:schemas-upnp-org:device:DigitalSecurityCamera:1

                                  IP                   : 192.168.0.100:88
                                  Device File      : D_DigitalSecurityCamera1.xml
                                  Impl file          : I_Foscam98HD.xml
                                  Direct Stream : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxx
                                  Url                  : /cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=admin&pwd=xxx
                                  User               :
                                 Password        :

I have pretty much tried all the variations of the user / password / direct stream / url values.
The camera has been set to low resolution for the snapshot.

Any ideas?
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on May 24, 2013, 03:36:17 pm

my informations are:
                                  IP                   : 192.168.0.100 ( my do not have the port)
                                  Device File      : D_DigitalSecurityCamera2.xml
                                  Impl file          : I_Foscam98HD.xml
                                  Direct Stream : /videostream.cgi
                                  Url                  : /snapshot.cgi
                                  User               : admin
                                 Password        : blank

important: if you do not put MAC do not works !!!!

Title: Re: Foscam IP Camera Plugin
Post by: skinnez on May 24, 2013, 03:59:28 pm
Did you manage to get the pan / tilt to work?? Or the motion sensor - I am thinking of buying a 9821 but would rather get the 8910e with power over Ethernet and have more functionality??
Cheers
J
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on May 24, 2013, 04:29:14 pm
Pan , tilt e motion sensor works perfectly !
I am using wifi mode in mine.
Title: Re: Foscam IP Camera Plugin
Post by: twostep on May 24, 2013, 06:04:57 pm
Are you sure you have a F19821 as snapshot.cgi doesn't work with the F19821 when used from a browser?
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on May 24, 2013, 06:22:16 pm
did you try the impl_file: I_FoscamPTZ.xml

?
Title: Re: Foscam IP Camera Plugin
Post by: twostep on May 25, 2013, 06:51:48 am
I have just tried FoscamPTZ implementation file but no difference. I have had a look at the implementation file and it doesn't appear to implement the actions for getting the stream and still image so changing the I_ file probably has no effect until the camera is accessible. It would be interesting to see the image capture actions but I have no idea where I can find them.
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on May 25, 2013, 08:00:05 am
Did you inserted the mac address?
Title: Re: Foscam IP Camera Plugin
Post by: twostep on May 25, 2013, 01:47:47 pm
Yes, I have entered the Mac address. I did find for my older F18918  Foscam that the Mac address was necessary so I have been doing that.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on May 26, 2013, 07:49:10 pm
mac adress is neccesary for storing picture/video on micasaverde servers.
i changed the device file to D_DigitalSecurityCamera2.xml and this seems to work too. also changed picture quality to high and still working.
can't get the motion-sensor to work and pan/tilt also not working.
anyone get this to work on FI9818w ? i used the I_Foscam98HD.xml , this gives me the 8 preset numbers in deviceview but no ptz nor preset work.

edit: got PTZ and preset to work see here : http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616 (http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616)

@twostep make sure you have set the sub-stream to avi. see my former post.
Title: Re: Foscam IP Camera Plugin
Post by: twostep on May 27, 2013, 01:24:29 pm
Yes, I have run the camera avi command and get a result status of 0.

When I use the snapshot Url setting : /cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=admin&pwd=xxx  I get the piece of film icon where the still image should display. If I use the earlier models snapshot.cgi I get the 'Invalid Url' message displayed. I assume from this that url I am using for the 9821 is correct.

@Da_JoJo can you post the video settings you have on your 9821 or have you found that they all work with your setup?
Title: Re: Foscam IP Camera Plugin
Post by: Chris H. on June 03, 2013, 02:59:50 pm
I have Presets working and Pan/Title but still can not get the Motion Sensor to work.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 06:38:44 am
@Da_JoJo can you post the video settings you have on your 9821 or have you found that they all work with your setup?
its all in here http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616 (http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616)
i will update post when something changes. i have a FI9818W btw
edit: updated post and added modified implementation file to add video :-)
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 06:47:10 am
I have Presets working and Pan/Title but still can not get the Motion Sensor to work.
needs admin account and you have to set parameter to "on" status. 98 series foscam have different commands which needs to change in motionsensor implementation file.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 06, 2013, 07:25:28 am
I have a Foscam 8910W, all set up working fine. When I am on my home wifi i can see a live video stream on my Vera UI5 foscam device (when i click on view on the device). When I try the same over the internet when i am out of the house i only get a snapshot or static picture. I have to close that child window, click on view again and i get the next snapshot, but no live video stream. Is that normal ?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 07:41:35 am
I have a Foscam 8910W, all set up working fine. When I am on my home wifi i can see a live video stream on my Vera UI5 foscam device (when i click on view on the device). When I try the same over the internet when i am out of the house i only get a snapshot or static picture. I have to close that child window, click on view again and i get the next snapshot, but no live video stream. Is that normal ?
yes. you need to fill in the external ip in camera settings to see video cq sequenced pictures
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 08:02:30 am
If you use foscam HD camera please update firmware to 18-4-2013 version http://www.foscam.nl/index.php/support/downloads (http://www.foscam.nl/index.php/support/downloads)
read the manual also before you ruin it. do not use iptool and it needs to be on cable.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 06, 2013, 08:19:35 am
I am on cable, so that wont be a problem. Will try to set up a DDNS to get an external ip. I had a look but cant see where i have to put the external ip in the device settings ? Not sure if i am using the right plugin... I have the Vistacam PT&HD 3.0 plugin (upgraded from 1.1). I had a look on the apps but cannot find a Foscam pluging, so i guess the one i am using is the right one ?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 09:02:12 am
I am on cable, so that wont be a problem. Will try to set up a DDNS to get an external ip. I had a look but cant see where i have to put the external ip in the device settings ? Not sure if i am using the right plugin... I have the Vistacam PT&HD 3.0 plugin (upgraded from 1.1). I had a look on the apps but cannot find a Foscam pluging, so i guess the one i am using is the right one ?
havent looked at vistacam plugin yet, but it seems that it suppose to work with foscam too. its same brand anyways. i have not much time to look into it. in the advanced tab of the ipcam device you can set the parameters. bit confusing as a lot of older users still have foscam plugin
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 06, 2013, 09:17:26 am
in the advanced tab of the ipcam device you can set the parameters[/quote]

all i can see where i might be able too is under variables, URL, in there at the moment is snapshot.cgi. Otherwise there is nothing to enter an external ip. Anotherone could be gatewayaddress, that is where i have my router ip at the moment
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 09:36:40 am
in the advanced tab of the ipcam device you can set the parameters

all i can see where i might be able too is under variables, URL, in there at the moment is snapshot.cgi. Otherwise there is nothing to enter an external ip. Anotherone could be gatewayaddress, that is where i have my router ip at the moment

in the place of the IP address of the cam
you have upgraded 3.0 from 1.1? please elaborate ?
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 06, 2013, 10:03:01 am
Quote
in the place of the IP address of the cam

so where i have the local ip. That makes sense, will try that.

Quote
you have upgraded 3.0 from 1.1? please elaborate

when i first got the camera, i installed the vistacam plugin v1.1. That has recently been updated to v3.0, so i installed 3.0, i still have both plugins under installed apps, but 1.1 has no device, 3.0 has the device id of my camera, so i think it has installed properly.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 06, 2013, 10:07:50 am
when i first got the camera, i installed the vistacam plugin v1.1. That has recently been updated to v3.0, so i installed 3.0, i still have both plugins under installed apps, but 1.1 has no device, 3.0 has the device id of my camera, so i think it has installed properly.
the foscam plugin has version : 2.6
the vistacam plugin has version: 1.1
i dont see the 3.0 version ur referring to.
all foscam work with new vistacam plugin it seems, so no need for foscam plugin anymore.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 08, 2013, 07:38:15 am
I tried adding the external web address instead of my internal ip, but that did not work, i cannot access the camera with these settings at all. So what i have tried is in advanced settings, replaced ip which was 192.168.x.x with http://xxx.myfoscam.org:yyy/.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 09, 2013, 07:12:44 am
ommit the http:// or put in the external IP
what you want to do is find your external ip > www.mijnip.nl
add port-forward in the router to your cam, preferably the same ports used on cam. if its on port 80 better put it on 81 or some higher port to prevent problems with webservers or vera.

you can use the Vistacam plugin now instead of the foscam plugin. just uninstall the foscam plugin and install the vistacam pt/hd plugin and the vistacam motion detect plugin.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 09, 2013, 01:33:24 pm
@Da_JoJo, thanks. seems to work now, at least on my internal network it works with the external web address, just without the http, great. Port i had changed already, and i have been on the vistacam plugin from the start, when i got my vera and camera there was no foscam plugin any more, i have recently updated the vistacam to the new version 3.0 but not sure what the difference is to 1.1. Will test the camera tomorrow from work, to see if i now have streaming video externally too, but i think it will probably work
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 09, 2013, 02:18:28 pm
ur welcome :-)
i still dont see the 3.0 version u mention, i think that was a inbetween update for the foscam plugin.  1.1 is latest vistacam plugin
try putting this in browser where u have the UI5 running http://VERA_IP:3480/data_request?id=update_plugin&Plugin=3866
fill in ur Vera IP address instead of the VERA_IP
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 09, 2013, 03:56:21 pm
I tried to find the link for the VistaCam plugin for you, but i cant find it any more. When i serch for it in the app store, only the motion sensor plugin comes up, nothing else. Very strange. Maybe you have to go through all the apps manually. This is what i have installed:

Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on June 09, 2013, 03:59:27 pm
Because it is already installed, it will not show up as an app to install.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 09, 2013, 05:08:25 pm
Thats interesting. I have a Motion sensor device (which is a child device of the Camera), in the Device settings it comes up as a Foscam Camera Motion sensor. In the apps tore i can see a Vistacam Classic Motion sensor app. Should i install that ? Or leave everything as it is, it is working fine ?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 09, 2013, 06:12:54 pm
hence i pointed out the update :-)
please uninstall the foscam and vistacam and foscam motion sensor plugins then reboot the vera when it finished doing this. note it will take several reloads and you should let vera do its thing on every plugin till its finished up. after reboot go to app store and install vistacam pt/hd and vistacam motion plugin. then after it installed completely and vera is at rest go to the webpage of the IPCam and set port to 80. then go to IPCam itself and unplug it from mains, wait about 15 seconds and plug it in. it will automaticly find and install your IPCam and in the device settings of the newly created IPCam set in settings the admin username and password and set in advanced settings the state variable to 1 then close the settings window and press red save button in the corner and wait for the motion sensor to install. after it installed and working correctly you can change the port of IPCam back to what it was. for speaker and microphone in the foscam to work it needs to have UPnP enabled in the IPCam itself, this will also automaticly make a portforward to external IP.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 10, 2013, 04:35:03 am
I am on the vistacam plugin already, so dont think i need to uninstall that, might try to updfate the motion sensor plugin though.

I have tried accessing the video stream from my work pc, but that still only gives me snapshots, although i have entered my external web address, and the camera port has been changed too (in device settings and forwarded in the router too)
I am not too bothered about audio, never used it
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 10, 2013, 02:49:38 pm
As i still could not see the cameras video stream, i uninstalled all vistacam plugins. Now i am trying to reinstall, and all of a sudden i can only see Version 1.1 !!! Version 3.0 is gone. I dont understand it. Rebooting now, if it is still not there will install Vistacam 1.1 again with the classic motion sensor plugin.
Update: even after reboot, no Vistacam 3.0, only 1.1. As you can see from my earlier screenshot, i had 3.0 !!! Anyway. All was back up and working again. So i changed the port on the camera and in the device settings back from 80 to what is was before i uninstalled everything.
Now i have no picture any more, just that wrench symbol in the device.

 ???
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 11, 2013, 09:30:20 am
Update:

On my UI5 foscam device, i sometimes get a picture for a few seconds, then back to the wrench. I thought it was the wifi, so wired it up rather than wifi. No change. Since this morning its working fine, have changed nothing.

The only thing still not working is live video feed via vera when i'm not on my local network, although i have got the DDNS set up and have my DDNS address in the device settings
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on June 11, 2013, 10:16:40 am
The image disappearing issue is a bug. The live video feed outside of your network using say a third party app and not Vera's Web interface is not fully implemented in ui5. MCV is redoing the video api's and has not been published or provided additional information on it.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 11, 2013, 10:18:55 am
ok thanks, will have to be patient then...
Title: Re: Foscam IP Camera Plugin
Post by: indianl on June 19, 2013, 07:32:23 am
Hi,

First of all: thanks for the plugin, works great!

I have an issue though, which I'm not sure is related to the plugin at all, but I dare to ask it here anyway :)

It looks like the cam device "forgets" the port in the IP address field of my camera device... I haven't figured out yet what the reason is, but it happened now twice in the last 24 hours. Maybe it is related to a Vera restart, but I was not able to re-produce it... Has anyone observed the same?

[edit] OK, I just lost the port in the IP address field after the cam was re-booted... So I am able to re-rpoduce, it looks like the problem is when the cam re-boots. Any ideas?
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on June 19, 2013, 08:45:28 am
This has been answered most likely in previous post of this thread. If you have the mac address field entered with the camera's mac address and you have a custom port in the ip field, you'll need to remove the mac address. Other wise vera will reset the ip address with the one it discovered.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: indianl on June 19, 2013, 09:51:29 am
Sorry, I must have overlooked that, found the post. However, removing the MAC address also means losing the ability to archive images, correct? That would kind of defeat the purpose I have set up the cam...
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on June 19, 2013, 10:17:35 am
Another thing to try is go into the settings tab then the Wifi / network settings. Uncheck the auto discovery of network devices. See if that helps. Otherwise your stuck with the first solution or changing the port back to 80.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: indianl on June 20, 2013, 08:32:16 am
Thanks for the tips. I'm having issues with the archiving - I only have access to today's images, all previous days archive seems to get deleted. So I'll switch to FTP-ing images when the cam detects motion. This way I at least have control over my images... I have deleted the MAC entries in the cam device, and now the port stays - thanks again for the help!
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 20, 2013, 12:20:29 pm
I have got my Foscam 8910W working fine now. Just bought a 9818W which i am trying to add, and failed so far. I have manually added the camera (as it did not sow up). I entered the settings as per Da_JoJo's post. When i enter
Quote
device_type              urn:schemas-upnp-org:device:DigitalSecurityCamera:1
as soon as i press save and reload, it changes to DigitalSecurityCamera:2. I am also missing a few settings in advanced setting, this is what i have :

Device params
name      Foscam FI9818W
device_type       urn:schemas-upnp-org:device:DigitalSecurityCamera:2
altid       683947
ip       my static ip (foscam ddns)
mac      my mac adress
manufacturer   Foscam   
model      FI9818W
room_num      
id_parent      
embedded      
disabled      
restricted      
device_file      D_DigitalSecurityCamera2.xml
id      200
time_created       1371726233
username       my user name
password       my password
category_num       6
subcategory_num       0
plugin       1978
room       4
hwkey       53da8c7b51c2e7650217a516716ad6b9
impl_file       I_Foscam98HD.xml
local_udn       uuid:4d494342-5342-5645-00c8-00000217a516
Variables
URL      /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=my user name&pwd=my password
LastUpdate   0   
Timeout      5
PreRollBuffer      0
StepSize      1
ReversePan       0
ReverseTilt      0
Commands      camera_up,camera_down,camera_left,camera_right,camera_full_screen,camera_preset,camera_archive_snapshot
State      -1
New service:      
New variable:      
New value:

In the camera device next to the camera picture where on my working camera i have a small picture of what the camera is seeing, on the new one i have Camera URL is invalid. When i click on View i just get the wrench.

Update: I now have the variable DirectStreamingURL, which has been filled automatically, and it corresponds with Da_JoJo's post, so looks ok. The warning about the camera URL is gone, and has been replaced by the wrench, still no picture at all (camera is working fine when viewed through web browser)
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 26, 2013, 06:23:25 pm
did you use my updated I_Foscam98HD.xml ? and filled in the controluser/pass in the settingstab. i changed the parsing of the user/pass so it will automaticly fill this in the advanced tab in the URL and DirectStreamingURL parameters. have to save and then reload/restart vera though and press F5 on the vera UI in order for it to work.
Commands should be : camera_full_screen,camera_left,camera_right,camera_up,camera_down,camera_preset
it also requires to change the substream by using the link in my post with the admin account and the latest firmware for the foscam
and rebooted the vera after changing the settings in vera ?
you can also try to change the picture setting in the foscam to lowres and when it works in vera set it back to highres.
you could also use the new vistacam plugin as it should work now for HD cams also.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 27, 2013, 05:15:38 am
I used your I_Foscam98HD.xml from this thread from 14th May. Maybe i have problems as i updated most of the settings manually ? I am using the vistacam plugin. I am not sure what you mean by
Quote
press F5 on the vera UI
. Do i press the F5 key of my keyboard, and when exactly ?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 27, 2013, 07:07:14 pm
after vera reloads u press F5 on pc keyboard (=refresh browser page) after selecting browser on desktop pc

-added snapshot to commands in I_Foscam98HD.xml in my former post. changed device type to 2 , thx for pointing out :-)
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 28, 2013, 05:32:40 am
I will reload your I_Foscam98HD.xml and give it another try. If that fails will try reinstalling the camera
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 28, 2013, 06:56:10 am
if u install the vistacam plugin the impl file will change to the vistacam one. after this you have to change it to I_Foscam98HD.xml  , i put latest version to my former post so you will have to download that again and install it in vera. after this you put the xml in the ipcam device on the vera next to impl_file then press SAVE button, add login and pass to settings page , press SAVE again, reboot vera, goto pc UI webpage in browser and there press F5 to reload the UI.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 28, 2013, 08:07:44 am
ok thanks will give that a try

Update:

Have downloaded the I_Foscam98HD.xml, again and installed it. Did not change anything. Deleted the camera from UI5, and manually reinstalled. Changed all the settings to what you had in your post, still no picture. Did the reboot, F5, no change.
it also requires to change the substream by using the link in my post with the admin account and the latest firmware for the foscam
and rebooted the vera after changing the settings in vera ?
you can also try to change the picture setting in the foscam to lowres and when it works in vera set it back to highres.
Tried changing the substream, but in my Firfox got error message Problem loading page, the connection was reset. I did try with the admin account. The i tried puting the snapshot and stream into my browser like this :
http://my ip:my port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=admin&pwd=my password
and the same thing, Firfox got error message Problem loading page
So i think that is the problem, somehow i must have the wrong address for snapshot and video stream ?
(My camera is a FI9818W, just updated to the newest firmware)
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 30, 2013, 11:39:43 am
i have the FI9818W and it works fine with the settings i posted. it wont work without setting the substream indeed.
did you change the ip:my port to the one of your cam ? updated the firmware over wired-connection as this is the only way not to screw up your cam ?
perhaps install latest firefox instead of firfox ? used the local ip ? in the settings tab set your own user+pass ?
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on June 30, 2013, 01:06:39 pm
I did update my firmware over wifi, but everything seems to work fine trying to watch it over the internet or locally via my PC's browser(s). The IP port of the camera has been changed to a custom port, which is reflected in my device settings. I also tried my local ip as well as my ddns web address in the device settings. It sis not work. I am pretty sure i am making a mistake with the snapshot and stream address in devices, as it does not work in wither firefox or IE on my local pc.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on June 30, 2013, 05:17:17 pm
tried this too ?
-open webinterface foscam and login with admin and set video > snapshotsettings to low and save

otherwise it comes down to setting the substream..
manual clearly tell you to not upgrade firmware over wireless, so it could be something went wrong. after the upgrade the substream needs to be set again.
for the rest im out of ideas im sorry.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on July 01, 2013, 06:34:20 am
I did try setting the snapshot to low, as well as setting the video settings to low. I dont think it is the firmware upgrade, as i had the same problems before the upgrade, but next time i will upgrade wired... luckily it did not go wrong.
Looks as if i have to wait for the next upgrade of the vistacam plugin, and hope that will sort the problem
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on July 01, 2013, 06:43:40 am
the firmware upgrade was UI update only so your save here, but i strongly recommend you to not do it over wireless as this could render your cam useless in case of system/driver upgrade and you wont get a RMA or new one if so.
it wont.. you still need the settings correct on the IP Cam as well as in the device created on vera.
also you should not change the video-settings on the IP Cam, standard settings are the best.
perhaps just reset the IP Cam to factory default and try again in the right order as per my post.
I have the same FI9818W and i tested it on another one at a friends house and on a FI9821W, all work perfect.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on July 01, 2013, 03:59:48 pm
SUCCESS !!!!!

 ;D

Somehow the port settings on my camera had changed. Do not ask why, i did not change them. So changed them to what it should be - and hey presto, i have a picture in UI5 !!! Well it is slightly intermittent. It works for a few seconds, then i get the wrench, then it comes back again. Not sure yet whats going on there, maybe because i am using the Foscam DDNS ? But i am doing that with my 8910W and do not have that.
But at least i am getting closer !

Thanks for your help and patience
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on July 08, 2013, 07:26:11 am
thank god ! :-D
ur welcome.
the intermittent is probably a bug that is in the vera or flacky internetconnection as it goes through internet and back to your vera using the ddns. could also be the ddns that is not really the best way to do this.
better set a port-forward in your router to the ip-cam and use that. you can find info on it here : http://portforward.com/english/routers/port_forwarding/
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on July 10, 2013, 05:29:52 am
guess what... i was away for a few days, and looked at my cameras via the UI5. And i have live video, on both Foscam cameras (8910W and 9818W) !!! Thats not supposed to be working i thought... i never noticed as my browser at work is very old (IE8), but while i was away i used my iPad and it is streaming video (on the device 'view'). Only when i expand the picture on the HD Foscam camera it goes to the wrench, but it works if i leave it small.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on July 10, 2013, 01:04:52 pm
should work also when expanded. the streaming is actually pictures being read one per second so its not really videostream. nevertheless video should work also as the HD-cam streams mjpeg when setup like i outlined, but that is still in development by MCV i think.
Title: Re: Foscam IP Camera Plugin
Post by: stefan1968 on July 14, 2013, 04:56:07 pm
Question...

I have this plugin installed for use with 8910W cameras. Working well except for one thing - the bypass/arm doesn't do anything. Even when in 'bypass', the camera's motion detection remains 'armed' (things are triggered, the little green guy turns red, etc.)

What am I missing?

Thanks!!
Title: Re: Foscam IP Camera Plugin
Post by: TheSaint on July 15, 2013, 12:42:12 pm
There an issue with the plugin when it comes to bypassing armed motion foscam sensors via scenes (fyi). Discussion here:

http://forum.micasaverde.com/index.php/topic,15554.0.html

It also discusses a solution via lua code, as well as the problem with it being re-armed after (same as when you manually click bypass and then arm in the device tab)....it causes the motion sensor to trigger immediately due to it being armed thus triggering any scene that reacts to the sensor.

Maybe the latter problem could be fixed via the plugin by delaying the sensor a few seconds on arm event?
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 20, 2013, 02:47:49 pm
Hi All!

Having a bit of trouble arming and disarming my 8910 motion trigger. I have read through this (large) post, but perhaps I missed what I am looking for.

I have the cam installed and running fine. Plugin installed, motion sensor shows in devices. View shows video.

I have begun to experiment with motion detection. I set up a scene for a trigger for the cam, and it trips just fine.

My problem is that I can't Disarm it. Whether the device is Armed or Disarmed, it always trips. I can uncheck Enable on the Triggers list and that DOES disable the scene tripping.

One interesting thing is that I tried setting the trigger "type of event" to "an ARMed sensor is tripped" and even though I saved, it always shows as just "a sensor is tripped" when i go back to edit the trigger later. Could this be the source of the problem - i.e. the trigger is going on all the time, regardless of device arm/disarm?

I see discussion on how to arm/disarm via a scene, but the manual click should work, right?


Thanks, Bob
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on July 20, 2013, 07:31:47 pm
manual click does work yes. the arm/disarm problem is indeed there and is temporarely solved by doing it lua code way. however this problem needs to be adressed in the motion-plugin itself as there is clearly something missing. i guess mcvflorin needs to look at it to fix it somehow. sensor for the HD-Cams aint work as this misses the url-passing part in the foscam software.
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 20, 2013, 08:36:32 pm
Ok, thanks. I will use the lua code to disable motion detect in the cam, probably the most direct way.

Bob
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on July 20, 2013, 08:47:44 pm
that is also an option to send a http request to the cam using lua to disable motion detect. the lua i mentioned sets the motion-plugin on vera to bypass , its same as click the bypass button.
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 27, 2013, 01:48:47 pm
Lua done, works great, thanks

Bob
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on July 28, 2013, 11:05:51 pm
Beachboync,
Can you put here the code you have used?

Thanks.
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 29, 2013, 12:14:33 pm
 
luup.inet.wget('http://IP:PORT/set_alarm.cgi?motion_armed=1&mail=1&user=USER&pwd=PASSWORD')

return true

to turn on. For off, set motion_armed to 0

Set mail to 1 to have the cam send email, 0 to disable email.

Bob
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on July 29, 2013, 03:09:42 pm
Thanks Bob
Title: Re: Foscam IP Camera Plugin
Post by: TheSaint on July 29, 2013, 11:11:30 pm

luup.inet.wget('http://IP:PORT/set_alarm.cgi?motion_armed=1&mail=1&user=USER&pwd=PASSWORD')

return true

to turn on. For off, set motion_armed to 0

Set mail to 1 to have the cam send email, 0 to disable email.

Bob

The mail=1 doesn't make any difference. To the best of my knowledge, that is one of the features of the camera that is ignored once it's paired with a vera. I tried it today and it sent no email from the camera (and the email function works if the camera was stand-alone...aka not being controlled by vera).
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 30, 2013, 08:37:51 am
Your welcome. You might want to download the cgi manual for your product here

http://foscam.us/forum/technical-support-f3.html

It has all those codes, but meant only for techies.

Bob
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 30, 2013, 08:43:37 am
I disagree. Works for me. I don't think the camera has any sense of being "controlled" by Vera. It is just a standalone device receiving some external commands. The cam is not paired with Vera in the classic Z-wave sense, it is just an external ip device.

I get mail with no problem.

Bob



luup.inet.wget('http://IP:PORT/set_alarm.cgi?motion_armed=1&mail=1&user=USER&pwd=PASSWORD')

return true

to turn on. For off, set motion_armed to 0

Set mail to 1 to have the cam send email, 0 to disable email.

Bob

The mail=1 doesn't make any difference. To the best of my knowledge, that is one of the features of the camera that is ignored once it's paired with a vera. I tried it today and it sent no email from the camera (and the email function works if the camera was stand-alone...aka not being controlled by vera).
Title: Re: Foscam IP Camera Plugin
Post by: TheSaint on July 30, 2013, 09:56:47 am
Interesting because once I added any of the cameras to the network, that option ceased to function and those lua doesn't change that for me. Enabled/Disabling the sensor works via lua (and only lua when it comes to scenes) but no mail.

Logging into the cam, all the mail settings are their in terms of email account intel, and then Alarm Settings page reflects the necessary settings.


Update: Standby....I might have found the culprit. I use gmail to send those notifications to my phone since Windows Phone (like a lot of phones) refuses to allow push mail option for custom domains (you have to be using a yahoo, MS, google, etc account). I logged into gmail and sure enough...the msgs have been getting caught in junk mail for some annoying and unpredictable reason as there is nothing spam about them. I'll play with this option some more.
Title: Re: Foscam IP Camera Plugin
Post by: beachboync on July 30, 2013, 10:22:00 am
Glad you got it sorted out TheSaint. I am reasonably happy with the way the cam works, and I have a dialog running with Foscam support on better understanding the relationship of patrolling to motion detect and controlling the range of patrol. More info if I get something.

Bob
Title: Re: Foscam IP Camera Plugin
Post by: jayhawk94 on August 04, 2013, 04:09:20 pm
I just got an FI9802W up and running.  However, I can't get my Vera Lite to find it at all.
I have it mounted outside and connected wirelessly to my network.
I can use the following string to capture a jpeg image in my IE browser that works fine:
http://ipaddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xyz

Yet - when I try to use this string for adding the device manually it doesn't work.  And I've tried setting the username and password boxes, and leaving them empty.  To no avail.

Any other suggestions on what to try?

Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: capjay on August 04, 2013, 06:33:48 pm
I can use the following string to capture a jpeg image in my IE browser that works fine:
http://ipaddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xyz

Yet - when I try to use this string for adding the device manually it doesn't work.  And I've tried setting the username and password boxes, and leaving them empty.  To no avail.

Any other suggestions on what to try?

In the advance section, make sure you set IP as ipaddress:port (without http and without any trailing stuff). under URL enter the rest of the URL /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xyz then save and reload.
Title: Re: Foscam IP Camera Plugin
Post by: jayhawk94 on August 06, 2013, 08:11:37 pm
Ok - finally figured out how to get it added as an actual "camera".  Still displays a message that Camera URL is Invalid - yet if I hit View it will show me a snapshot from the camera.  ??

Also - when trying to figure this out I had a couple of entries that ended up as Undefined device types on the Devices tab.  if I try to remove the "undefined" device, I get a question box about removing associated plugins.  I answer 'yes' - then I get an error box that says Command Failed. Invalid Plugin.  Any idea how to remove these?

Thanks for all your help!
Title: Re: Foscam IP Camera Plugin
Post by: M2MExpert on August 11, 2013, 07:23:28 pm
I'm not sure I should post this here or not. I have a 8910w that has been working fine. I was using the foscam plugin. Things were working ok until I added additional cameras. I uninstalled the plugin and installed the vistacam plugin. It seemed to be more current than the foscam plugin. I got it to find the 8910 and installed the motion sensor device. Now here is the issue. When I used the foscam plugin I could click the arm/bypass buttons in the motion sensor and they worked fine. No I can click the bypass button but it never stays "lit". It's stuck on arm. Should I go back to the foscam plugin?


Edit: Here are some log entries that I found that may help. Username and password deliberately deleted for this post.

http://10.168.1.240/set_alarm.cgi?motion_armed=1&http=1&http_url=http%3A%2F%2F10%2E168%2E1%2E250%3A3480%2Fdata%5Frequest%3Fid%3Dlr%5Fcamera%5Ftripped%26sensor%5Fid%3D138&user=XXXXX&pwd=XXXXX __LEAK__ this:53248 start:1425408 to 0x1210000 <0x2c1ef680>
50      08/12/13 13:58:22.442   luup_log:137: (VistaCamPT::SetUpMotionDetection-2) Failed to configure camera <0x2c1ef680>
01      08/12/13 13:58:22.569   luup_require can't find veraTemplate __LEAK__ this:221184 start:1646592 to 0x1246000 <0x2c1ef680>
01      08/12/13 13:58:22.571   luup_require can't find veraTemplateDefinitions <0x2c1ef680>
01      08/12/13 13:58:22.573   luup_require can't find veraTemplateDevice <0x2c1ef680>
Title: Motion Detection on Foscam 9821w
Post by: Chris H. on August 12, 2013, 01:35:30 pm
OK, sorry if I missed this but did anyone ever get the "Motion Detection" working for the Foscam 9821w?

I like these cameras better then my 8910w's but I miss having the motion detection to turn lights on and off.
Title: Re: Foscam IP Camera Plugin
Post by: M2MExpert on August 12, 2013, 02:51:32 pm
I'm not sure I should post this here or not. I have a 8910w that has been working fine. I was using the foscam plugin. Things were working ok until I added additional cameras. I uninstalled the plugin and installed the vistacam plugin. It seemed to be more current than the foscam plugin. I got it to find the 8910 and installed the motion sensor device. Now here is the issue. When I used the foscam plugin I could click the arm/bypass buttons in the motion sensor and they worked fine. No I can click the bypass button but it never stays "lit". It's stuck on arm. Should I go back to the foscam plugin?


Edit: Here are some log entries that I found that may help. Username and password deliberately deleted for this post.

http://10.168.1.240/set_alarm.cgi?motion_armed=1&http=1&http_url=http%3A%2F%2F10%2E168%2E1%2E250%3A3480%2Fdata%5Frequest%3Fid%3Dlr%5Fcamera%5Ftripped%26sensor%5Fid%3D138&user=XXXXX&pwd=XXXXX __LEAK__ this:53248 start:1425408 to 0x1210000 <0x2c1ef680>
50      08/12/13 13:58:22.442   luup_log:137: (VistaCamPT::SetUpMotionDetection-2) Failed to configure camera <0x2c1ef680>
01      08/12/13 13:58:22.569   luup_require can't find veraTemplate __LEAK__ this:221184 start:1646592 to 0x1246000 <0x2c1ef680>
01      08/12/13 13:58:22.571   luup_require can't find veraTemplateDefinitions <0x2c1ef680>
01      08/12/13 13:58:22.573   luup_require can't find veraTemplateDevice <0x2c1ef680>

OK I found out what is happening. My camera is not on standard port 80. Whatever is passing this URL is not including the port. Now I have to figure out what is doing it and then figure out how to fix it.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on August 12, 2013, 03:11:36 pm
If your camera is on a non-standard port and you have a mac address assigned to the camera in the vera camera settings, you'll need to remove it. Vera will try and auto-discover the camera ip address and modify the camera settings with the new ip and removing the non-standard port with it.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: M2MExpert on August 12, 2013, 04:01:15 pm
If your camera is on a non-standard port and you have a mac address assigned to the camera in the vera camera settings, you'll need to remove it. Vera will try and auto-discover the camera ip address and modify the camera settings with the new ip and removing the non-standard port with it.

- Garrett

***SOLVED***

I uninstalled everything (cam plugins) Changed the port to 80. Powered off the camera. Changed impl to I_FoscamPTZ.xml. Powered on the camera and it found everything. Changed the port in the camera and in the plugin device and everything is OK now.

Crazy hoop jumping.....
Title: Re: Foscam IP Camera Plugin
Post by: M2MExpert on August 15, 2013, 08:06:06 am
I found another issue. My Foscam is on a nonstandard port. (not 80 it's on 8240). When the vera reboots, the camera IP setting in the plug in loses the port number. How can I use Luup code to check the IP address in the plug in and determine if the port is present. If it isn't I want to set the IP address and port.  If I can figure this out, I can put it in my startup and then have it "fix" itself when it reboots.

I've been poking around and tring to use PLEG to do it but the camera device isn't showing up in PLEG.
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on August 15, 2013, 09:06:20 am
I found another issue. My Foscam is on a nonstandard port. (not 80 it's on 8240). When the vera reboots, the camera IP setting in the plug in loses the port number. How can I use Luup code to check the IP address in the plug in and determine if the port is present. If it isn't I want to set the IP address and port.  If I can figure this out, I can put it in my startup and then have it "fix" itself when it reboots.

I've been poking around and tring to use PLEG to do it but the camera device isn't showing up in PLEG.

I do not have this problem. The response I provided to you earlier should solve your problem if the mac address field is populated with a mac address. if it is, you need to remove this to prevent vera from over writing the ip address field.

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: pentium on August 15, 2013, 02:24:44 pm
I went back  couple of months and read up to now but so far I can't get past the first step.

I have the easyn F-m166 camera, veralite, ui5.  When I tried to download the app for Vistacam, I can only see version 1.2 and the motion app.  I have installed them and uninstalled them a couple of times and I never see it create a device that might let me go to step 2.  Is there a trick to getting the latest release of this app?

I am currently in the uninstalled state, and have rebooted the veralite, and reading all that I can.

I will add that most of this time, I had port 81 assigned to the camera and it is now set at 80.  I don't think I have installed any of the apps from the time I changed the port.  If I try to manually add the camera, it would always say image not available.

So, I suppose after the question of getting the latest version of the app, how can I manually add the camera or otherwise get a device that I can begin to configure?  Thanks
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on August 23, 2013, 11:50:45 pm
Now that I've stopped banging my head against the wall trying to figure this out. :-)

I have 4 Foscam FI8910W camera's that Vera had no problems with finding and configuring automatically. Including the motion sensors. They work great except the one I ut in the Lanai. That one died. So iI just added a Foscam FI8905W outdoor camera to replace it. Firstly Vera insists that one is a not a Foscam but a zWintop camera. I compared the configs for my FI8910W and corrected the 2 device files and the 1 implementation file to Foscam. So now I have a picture at least. However, whatever I do, it's not creating a motion sensor for he FI8905W like it did for the FI8910W ones. The alarm on the 8905 is activated and working.
I tried adding it manually as a Foscam, manually with teh right URL. Same result. Camera working but no motion sensor...

Some direction would be greatly appreciated. Thanks Guys!
Title: Re: Foscam IP Camera Plugin
Post by: TaterTot on September 01, 2013, 06:26:50 pm
Ok - finally figured out how to get it added as an actual "camera".  Still displays a message that Camera URL is Invalid - yet if I hit View it will show me a snapshot from the camera.  ??

I have this exact same problem that I have been trying to fix for the past hour... VeraLite with a 8918 camera.

I know the "Url" is correct, because I can copy it directly into a browser and see a snapshot... (also my AutHomation app shows everything correctly as well)

Current URL value is "/snapshot.cgi" -- which is exactly what the app defaulted it to...

EDIT: I just rebooted my camera and now it seems to work fine... not sure what the deal was -- however, now there is a new issue... --> Every time I "reboot" my camera, my vera makes a additional duplicate camera. I keep having to delete them. Is there anything I can do about this???
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 05, 2013, 11:14:00 pm
setup > net & wifi > turn off autodetect devices on home-network
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on September 10, 2013, 06:43:52 am
I can switch on/off my Foscam via a URL, but sometimes it resets the Motion Detect Sensitivty. Is there a way to put that in the URL as well?
Title: Re: Foscam IP Camera Plugin
Post by: bestermanus on September 11, 2013, 10:53:47 am
Hello,

Many thanks to all this post contributors ! I'm near the goal, but....

I try to integrate in my veralite a FI9821W_V2 ; I use I_Foscam98HD.xml and I think I've execute all tips I can find in this post.....

Works :  snapshot, pan/tilt/zoom

Not Works :
streaming in android,
video recording : the records I made are empty ; when I click on record, the records seems to start but when I went to "archives" I see the record, I click on it and it dysplay a blank page https://cms1.mios.com/fetch_archive?id=xxxxxxxxxxxx  .................

in variables , I've got :

DirectStreamingURL       /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxxxxx

URL   /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxxxxx

Can someone confirm that's the good values ?

Sorry for my poor english.   :-\

Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 11, 2013, 11:01:06 am
yup those are correct. you can check it also by putting the /cgi-bin/blabla next to the IPcam's http://IP:port/
i think the videorecording is still in development. suppose to become a subscription based thing.
Title: Re: Foscam IP Camera Plugin
Post by: bestermanus on September 11, 2013, 12:32:17 pm
Thanks for your response Da_jojo.

When I try in a browser http://ip-cam:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxxxxx  that seems to works.....

Nobody have streaming OK on FI9821W ?

 :)
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 13, 2013, 09:15:15 pm
did you set the device to use the substream ? it supposed to output mjpeg that the mcv server should be able to handle. the HD stream is not supported by mcv.
Title: Re: Foscam IP Camera Plugin
Post by: bestermanus on September 15, 2013, 03:16:32 am
I've set the substream with this url

http://ip address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=xxxxx&cmd=setSubStreamFormat&format=1

I have the result

<CGI_Result>
    <result>0</result>
</CGI_Result>

I think it's ok...... But always no streaming in "Vera Mobile" .... only "incorrect camera configuration streaming, running in emulated mode"

But always no streaming, only
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 15, 2013, 04:56:50 am
yup that should be ok.
streaming is something that used to work in the "old" days but for some reason they decided to make it a payed subscription. never got any news further on it , nor a link or info where this can be done. so i take it its a feature not an option still..

edit: dont use vera mobile.. it sucks.  use garretts authomationhd found here : http://forum.micasaverde.com/index.php/topic,8156.0.html
Title: Re: Foscam IP Camera Plugin
Post by: bestermanus on September 15, 2013, 09:18:51 am
Many thanks Da_JoJo, I'm going to test authomationhd.

 :)

Hope that MCV work for a beter compatibility and support for the cams.....
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 15, 2013, 06:27:16 pm
i wouldnt wait for it.. you might turn grey lol
Title: Re: Foscam IP Camera Plugin
Post by: ck42 on September 30, 2013, 06:03:47 pm
Just got my Vera Lite and Foscam 9821W v2 and trying to get things going.

I've got both the Vera and camera fully updated (firmware/software) Vera-622 and Foscam-1.4.1.8.  I can access both fine and have my Schlage touchpad lock added and working too.
I can access the Foscam webpage and see video.

Now...trying to follow this section:
In UI5 goto Apps> Install Apps and find "VistaCam PT&HD IP Cameras" and "VistaCam SD Motion Sensor Plugin" plugins and install these to your vera.
[ck42] Installed "VistaCam PT&HD IP Cameras".  There doesn't appear to be a plugin for the Motion Sensor plugin.

reboot the Vera after installation of these plugins.
[ck42] Done

Now go to IP-cam settings page and set the camera to port 80 and streamingport 880
[ck42] There is not a port labeled 'streamingport'.  There is one labeled "ONVIF" though.  I changed this one to 880.

after the IP-cam rebooted and is up n running > power-cycle the IP-cam (just pull plug, wait 15 secs and put plug back) it should automaticly add your IP-cam in vera
[ck42] Did this, but the camera is NOT being auto-populated in Vera.

What am I missing here?
Title: Re: Foscam IP Camera Plugin
Post by: Brientim on September 30, 2013, 07:50:54 pm
Use the file attached here:
http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616


If you encounter any other issues, it would be better if you posted the question in the referred thread. Most of the issues encountered with the F18921W are already be answered.
Title: Re: Foscam IP Camera Plugin
Post by: ck42 on September 30, 2013, 10:02:22 pm
Use the file attached here:
http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616

  • Download the file, unzip to your computer and upload to your Vera.
  • In the Advanced tab change the Impl file to I_Foscam98HD.xml
  • Also in URL change admin and pwd to match your foscam login details
  • Save the changes

If you encounter any other issues, it would be better if you posted the question in the referred thread. Most of the issues encountered with the F18921W are already be answered.

I'm a little lost here.  My apologies for asking what are probably extremely simple questions on these forums. :-[
Regarding your last statement though about asking questions in the referred to thread, I thought that's what I was doing by asking in THIS thread.  ???  The link you provided simply takes me to an earlier page within this same thread.

Also, I keep seeing mention of the "Advanced tab".  I've been all through my MCV Lite UI and I don't see what is being referenced here.  I'm sure this is just another rookie mistake, but I truly am trying to piece together the bits and pieces here to get this working on my own.  I've just hit a wall at this point and really need some guidance.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 30, 2013, 10:21:03 pm
since u have a HD cam the motion plugin won't work.
if you have "autodetect UPnP devices" turned off , the vera won't find the cam
basicly you have to add the IP-cam to the UI5 or MCV lite UI as you call it.
to do this you go in the UI to : "Devices"  and there goto "Add Devices" and choose "I want to add a IP camera"
add the IP-cam to your Vera and after it installed this you have a IP camera device.
use URL : <IP-Adress-Of-Cam>/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=
replace <IP-Adress-Of-Cam> with the IP of the IP-Cam.
now goto the post with file attached and upload this to your vera.
on the IPcam device in vera click the wrench button and put the filename I_foscam98HD.xml in the right place and then press the red save button and reboot ur vera. when done goto the ipcam device again and fill in your username and pass in settings tab and save and reload UI and wait a bit. the rest you don't have to fill in as the IP of the cam is allready there and the rest is being done automaticly when you have filled in your login and saved.
edit: put url in
Title: Re: Foscam IP Camera Plugin
Post by: Brientim on September 30, 2013, 10:34:04 pm
I have done a little mockup as an example and a pictures paints a thousand words. Note in Foscam3, I have displayed the change in DirectStreamingURL as User=Guest and the Password = Guest. This would be what your respective details are and reflected in the URL.
Title: Re: Foscam IP Camera Plugin
Post by: ck42 on September 30, 2013, 10:37:38 pm
Okay, this is sounding a little clearer now, guys!!.  :o  THANK you!
I'm still stuck at the part though, "to do this you go in the UI to : "Devices"  and there goto "Add Devices" and choose "I want to add a IP camera"

I've now enabled the UPnP on the Foscam (it WAS disabled - never saw anywhere that I needed to enable this!) and have rebooted both the camera and the Vera.  When I go into the Devices section to add an IP camera, it's not seeing anything.  Am I *not* supposed to go through the jpg URL discovery process??
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 30, 2013, 10:46:00 pm
UPnP in the vera...  Section NET&Wifi.
the UPnP in the foscam is for forwarding the ports of the cam itself to the outside world.
yes you need to go through the cam-install procedure obviously.
url is in the post above.
Title: Re: Foscam IP Camera Plugin
Post by: ck42 on September 30, 2013, 11:23:23 pm
Doh!  :-[
Okay...but when I look in Vera under Net & Wi-fi, I don't see any options for setting UPnP.  I did find it though under Devices->Add Devices->UPnP devices.
It's now enabled in UI5.
I saved this and then went back in to "I want to add an IP Camera". 

So, what I'm not sure about now is....should I expect Vera to populate the camera now w/o me doing anything else....or do I now click on "Manually Add" and go through the process of discovery via the whole jpg image thing?

[EDIT] Just read in the MiOS FAQ that I need to wait about 10 minutes after enabling UPnP for the system to complete the discovery process. 
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on September 30, 2013, 11:32:03 pm
there is.. its called: Auto detect devices on my home network
you can powercycle the IPcam for auto-discovery.. only works when cam is on port 80
Title: Re: Foscam IP Camera Plugin
Post by: ck42 on September 30, 2013, 11:43:27 pm
You are correct. It is checked.  Not sure if it was checked before, but I definitely didn't check the option prior to this.
In any case, Once I'm in "I want to add an IP Camera", I'm still not seeing a camera populate.  Is that what's supposed to occur next?

[EDIT]
Went into Devices->Add Devices->UPnP devices, clicked on Next, and now see a list of various things detected on my network.
All of them are NOT the camera, but there are 2 entries that are suspicious: 2 marked as N/A, and 1 marked as "WFADevice", which think is a wireless device


Any idea what the N/A's are?  Never mind...it's my Roku box.

So....back to the camera NOT being detected.
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on October 01, 2013, 11:56:52 am
I i just got the Foscam FI9821W v2 and for some weird reason when i install the VISTA HD plugin or the foscam plugin they don't create any devices so i had to manually add my camera using LUUP devices , got pan and tilt to work too but no zoom , not sure zoom is an option here .

and with the help all the posts in this thread here is my final settings :

device type : urn:schemas-upnp-org:device:DigitalSecurityCamera:2

Settings tab :

URL : http://IP:PORT/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASSWORD

EVEN THOUGH THE USER AND PASSWORD ARE IN THE URL ABOVE BUT IN ORDER TO MAKE PAN / TILT WORK YOU HAVE TO WRITE THEM AGAIN IN THEIR FIELDS .

IP : YOURIP:PORT

ADVANCED TAB :


ip : yourip:port

mac address : add your camera mac address

device file : D_DigitalSecurityCamera2.xml

impl file :  I_Foscam98HD.xml

HOPE THIS HELPS , if you know how can i make the plugin works that would be great .

Thanks
Rami




Title: Re: Foscam IP Camera Plugin
Post by: ck42 on October 01, 2013, 04:27:46 pm
Thanks, rmohsen!

Looks like you were having the same problem I was dealing with.  It just wouldn't detect the camera.
With your manual setup settings and the posted, I've now got a functioning 9821W v2 camera.

The only question/comment I have now is that the video quality, as compared to a direct link to the camera's UI, isn't quite as good.  It's about 90% there.  I'm wondering if there's a setting somewhere in Vera that specifies the video quality for the stream.
Also, the FPS rate seems to be quite a bit lower too. 
PTZ inputs seem to be kinda jumpy too and don't respond anywhere near as smoothly as in the camera UI.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on October 01, 2013, 05:00:13 pm
zoom is not an option with 9821W
flaky video performance is some UI5 bug or whatever you want to call it.
for presets to work you have to make them first in the Foscam UI. then in vera UI they show as button 1 till 8. same order as they are in foscam UI.
URL is only for adding IP-cam option. not neccesary for the ip-cam device in vera as the I_foscam98HD.xml takes care of this , when you fill in the username and password. the thing is you need to save and restart vera and wait a bit for the vera to setup the stuff. after that you would put in settings the username and pass and again save and wait for vera reload and then restart vera.
this is common procedure for the vera so you might want to remember this steps as basic instructions to get anything working.
steps are : you change something in vera > red save button comes up. press save.. wait for reload.. reload or restart the vera again.. wait again for bootup/reload. then commence next steps.
Title: Re: Foscam IP Camera Plugin
Post by: ck42 on October 01, 2013, 06:37:06 pm
Also noticed, the video stream in UI5 is missing about the bottom 1/3rd of the image, compared to the UI on the camera.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on October 01, 2013, 06:46:19 pm
works fine here. even after setting ipcam to 720P. only thing that is not working correctly is the fullscreen option in vera device. the controls on the right are hidden behind the picture. solved by double clicking the browsers titlebar 4 times
Title: Re: Foscam IP Camera Plugin
Post by: bestermanus on October 03, 2013, 05:31:57 am
@ rmohsen & ck42, what have you in advanced tab in "DirectStreamingUrl" ?

Can you see video stream in mobile apps ?
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on October 03, 2013, 12:23:50 pm
i didn't get the video to work , i only see pictures here , maybe ck42 can help

Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on October 03, 2013, 02:39:00 pm
Direct streaming does not work in third party apps outside of your network. It will function inside your network and only if the third party app supports streaming.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on October 07, 2013, 07:45:27 pm
in my remote app i used the vera internal portforwarding to show the cam stream. works ok. in mcv own remote app stuff doesnt work, better use garrett's app on android and inveltr's app on ios
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on October 07, 2013, 07:49:27 pm
How did you do the port forwarding in vera ?


Sent from my iPhone using Tapatalk - now Free (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on October 07, 2013, 08:17:50 pm
there is a option for it you can find in the wiki here : http://wiki.micasaverde.com/index.php/Remote_Camera_Streaming
Title: Re: Foscam IP Camera Plugin
Post by: BrewFixer on October 11, 2013, 12:19:08 am
Sorry for continuing to make this thread longer but it is an absolutely fabulous thread. Besides the longer it gets the better the information...

So I have 2 main questions... I have 4 FOSCAMS F18918W that I have succeeded in implementing into my VeraLite thanks to this thread. P&T works fine as well as the presets. Zoom is still not working. Also on the face plates there is no image however once you go into the settings there is the live stream that I can P&T.


I have not done anything beyond this as I am struggling with a 5th camera.
I do have a Loftek outside of my home and tried only the FOSCAM and Generic settings. To no avail I can not get it in there. I know this site is mainly centered around the FOSCAMS but was wondering if there were any ideas how to try and get this into my system?
Here are my settings thus far for the FOSCAMS... Again I have not tweaked the settings as of yet but I am getting a little overwhelmed with the amount of different options. right now I just want maybe zoom, alarm and the faceplates to be correct. Thanks


Device #41

Controlled via    No parent/Please select

Device params

name   Sunroom Cam

device_type    urn:schemas-upnp-org:device:DigitalSecurityCamera:2

altid   

ip   192.168.0.54

mac   

manufacturer   

model   

room_num   

id_parent   

embedded   

disabled   

restricted   

device_file    D_DigitalSecurityCamera2.xml

id    41

room    0

time_created   1381462491

plugin    1978

username    admin

password    XXXXXXX

impl_file    I_FoscamPTZ.xml

category_num   6

local_udn    uuid:4d494342-5342-5645-0029-00000216413c

Variables
   
URL    /snapshot.cgi

Timeout    5

PreRollBuffer   0

StepSize     1

ReversePan   0

ReverseTilt   0

Commands    camera_up,camera_down,camera_left,camera_right,camera_full_screen,camera_preset,camera_archive_snapshot

State    -1

New service:    

New variable:    

New value:   


UPDATE 1: LOFTEK Camera
decided to delete the loftek and reinstalled using the FOSCAM settings again and viola! Go figure! In this case it actually shows a snapshot on the faceplate. Still cant figure the FOSCAM faceplates out.

Interesting note that on my Droid AutHomationHD, all the cameras show a picture on the faceplate and I can control very normally and the presets work as well.

UPDATE 2:
well after a long nite of tinkering I got these working. I still can't figure out the motion alarm feature. I don't even see a setting for it. Without that, the cameras on my Z-Wave network is pretty much useless. At this point my Blue Iris has more functionality.
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on October 19, 2013, 06:31:16 pm
Change the State value from -1 to 2 and do a Save. You may have to do a reload but a sensor device should appear shortly. That's how I got my Foscam FI8905W sensor working.

I have an outdoor Wanscam on order and am hoping I can get that one to work as well as it's basically a Foscam clone.
Title: Re: Foscam IP Camera Plugin
Post by: BrewFixer on October 19, 2013, 06:48:04 pm
Change the State value from -1 to 2 and do a Save. You may have to do a reload but a sensor device should appear shortly. That's how I got my Foscam FI8905W sensor working.

I have an outdoor Wanscam on order and am hoping I can get that one to work as well as it's basically a Foscam clone.

Awesome! that did it. Now there not so useless... Thanks
Title: Re: Foscam IP Camera Plugin
Post by: pathduck on October 20, 2013, 07:53:26 am
Sorry for continuing to make this thread longer but it is an absolutely fabulous thread. Besides the longer it gets the better the information...

So I have 2 main questions... I have 4 FOSCAMS F18918W that I have succeeded in implementing into my VeraLite thanks to this thread. P&T works fine as well as the presets. Zoom is still not working. Also on the face plates there is no image however once you go into the settings there is the live stream that I can P&T.


I have not done anything beyond this as I am struggling with a 5th camera.
I do have a Loftek outside of my home and tried only the FOSCAM and Generic settings. To no avail I can not get it in there. I know this site is mainly centered around the FOSCAMS but was wondering if there were any ideas how to try and get this into my system?
Here are my settings thus far for the FOSCAMS... Again I have not tweaked the settings as of yet but I am getting a little overwhelmed with the amount of different options. right now I just want maybe zoom, alarm and the faceplates to be correct. Thanks


Device #41

Controlled via No parent/Please select

Device params

nameSunroom Cam

device_type urn:schemas-upnp-org:device:DigitalSecurityCamera:2

altid

ip192.168.0.54

mac

manufacturer

model

room_num

id_parent

embedded

disabled

restricted

device_file D_DigitalSecurityCamera2.xml

id 41

room 0

time_created1381462491

plugin 1978

username admin

password XXXXXXX

impl_file I_FoscamPTZ.xml

category_num6

local_udn uuid:4d494342-5342-5645-0029-00000216413c

Variables

URL /snapshot.cgi

Timeout 5

PreRollBuffer0

StepSize  1

ReversePan0

ReverseTilt0

Commands camera_up,camera_down,camera_left,camera_right,camera_full_screen,camera_preset,camera_archive_snapshot

State -1

New service: 

New variable: 

New value:


UPDATE 1: LOFTEK Camera
decided to delete the loftek and reinstalled using the FOSCAM settings again and viola! Go figure! In this case it actually shows a snapshot on the faceplate. Still cant figure the FOSCAM faceplates out.

Interesting note that on my Droid AutHomationHD, all the cameras show a picture on the faceplate and I can control very normally and the presets work as well.

UPDATE 2:
well after a long nite of tinkering I got these working. I still can't figure out the motion alarm feature. I don't even see a setting for it. Without that, the cameras on my Z-Wave network is pretty much useless. At this point my Blue Iris has more functionality.


Got it all working with your settings. But I don't have the commands field in the advanced setup, neither the reverse  pan and tilt fields. Do I have to manually add these fields?

(http://img.tapatalk.com/d/13/10/20/ujyma4ym.jpg)

http://www.duppeditten.com
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on October 20, 2013, 11:34:48 am
Change the State value from -1 to 2 and do a Save. You may have to do a reload but a sensor device should appear shortly. That's how I got my Foscam FI8905W sensor working.

I have an outdoor Wanscam on order and am hoping I can get that one to work as well as it's basically a Foscam clone.

Thanks a lot

now motion sensor appeared on my vera but  couldn't get it to work , when i try to bypass it it gives me an error " no implementation "
Title: Re: Foscam IP Camera Plugin
Post by: BrewFixer on October 20, 2013, 12:44:44 pm
Change the State value from -1 to 2 and do a Save. You may have to do a reload but a sensor device should appear shortly. That's how I got my Foscam FI8905W sensor working.

I have an outdoor Wanscam on order and am hoping I can get that one to work as well as it's basically a Foscam clone.

Thanks a lot

now motion sensor appeared on my vera but  couldn't get it to work , when i try to bypass it it gives me an error " no implementation "

Did you reload LUUP? I had to reboot Vera about 3 times and finally it took. Not that having to reboot something 3 times gives me confidence that this works good... on another note, I have a Loftek outside trying to do the same as the Foscam. I played with the state as it was set at default 3 and I had no motion sensor. Changed it to 2 then 1 and finally motion appeared.
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on October 20, 2013, 01:28:42 pm
my problem is , what to do after the motion sensor appears ? i can see it , it's there , just not working.

Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on October 20, 2013, 03:42:57 pm
Is ur cam armed? So not the device in vera, but really the cam. When that is armed, the sensor should trip
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on October 20, 2013, 04:29:08 pm
Yes. It's armed. But it doesn't trip


Sent from my iPhone using Tapatalk - now Free (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: peeej1978 on October 23, 2013, 09:00:15 pm
got myself a Foscam FI9818W today and trying to get it work but it seems failing and indeed the plugin is now Vistacam and should support HD ?
snapshot url      :  /cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass
Directstream url : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=user&pwd=pass   < seems to give a internal server error 500 .. ehh > see edit3:

here is a page with many settings for foscam: http://www.ispyconnect.com/man.aspx?n=foscam (http://www.ispyconnect.com/man.aspx?n=foscam)

there seems to be something wrong with the parsing of username and pass or the image that is 1280x720 . i donno yet. have no time to figure it out. any ideas ?

edit: FI9821W seems to use same commands as 9818W. 

edit2: i tried adding it as a generic ip-cam and put the http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass (http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass) in the box leaving the user and pass box empty. not work
have put : http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass (http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass) > not working  > must be snapPicture2 for direct jpeg picture reply from ipcam
cant change portnumber as i have multiple cams around the house.

edit3: to get the video working in vera with a foscam 9818/9821 :
first set ipcam in foscam webinterface to AVI on stream 1 (this is standard setting if im not confused)
then set ipcam to mjpeg on substream in a new browsertab : http://ip-address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1 (http://ip-address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1)    (use admin account or it will fail)
then set in device tab advanced on vera :  Directstreaming url : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=controluser&pwd=password (or use admin account)

edit4: sdk shizzle http://foscam.us/forum/download/file.php?id=606 (http://foscam.us/forum/download/file.php?id=606)

edit5: got it working :)
========================================================================================================================================
settings :

In UI5 goto Apps> Install Apps and find "VistaCam PT&HD IP Cameras" and "VistaCam SD Motion Sensor Plugin" plugins and install these to your vera.
reboot the Vera after installation of these plugins.
Now go to IP-cam settings page and set the camera to port 80 and streamingport 880
after the IP-cam rebooted and is up n running > power-cycle the IP-cam (just pull plug, wait 15 secs and put plug back) it should automaticly add your IP-cam in vera
first open in new tab in browser and enter this:
http://ip-adres:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1 (http://ip-adres:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1)    (ip-adres is the ip of the ip-cam:port of ipcam. use admin account or it will fail)   
open webinterface foscam and login with admin and set video > snapshotsettings to low and save
open webinterface foscam and set  PTZ preset settings :
cruise tracks add :  custom 
add preset: Center    >  on right side : Center and Topmost
goto PTZ startup options and set startup option to:  Go To Preset position  > Preset selection : Center
in order to use the presets they have to be in order. 1 to 8 are used in the vera UI , so the preset you like to use need to be in same order 1 till 8.
upload attached "I_Foscam98HD.xml" to vera in UI goto Apps > Develop Apps > Luup Files
open in vera the ip-cam settings tab and fill in user&pass and save settings right top  (it need admin for the motiondetect to work, alas this is not functioning yet)
goto advanced tab and see if it looks like this :

Device params

 name                        Foscam FI9818W
 device_type              urn:schemas-upnp-org:device:DigitalSecurityCamera:2
 altid
 ip                             192.168.1.180:80                             <  <IP:port> of your cam, put internet-adress of router and port-forward if u want to see it from internet (put it on port 81>internal 80)
 mac                          <MAC adress of your IP-Cam>         <  put here mac adress if not filled in, so you can store pics and video on MCV servers
 manufacturer            Foscam
 model                       FI9818W
 room_num     
 id_parent
 embedded                 <unticked>
 disabled                    <unticked>
 restricted                   <unticked>
 device_file                 D_DigitalSecurityCamera2.xml
 id                               60                                              < is made automaticly by vera
 time_created             (some time added by vera)
 category_num           6
 subcategory_num     0
 onDashboard            1
 username                  controluser
 password                  pass
 room                         1
 impl_file                     I_Foscam98HD.xml
 local_udn                   (some uuid:number added by vera)
 
Variables

 Configured                 0
 LastUpdate                0
 Timeout                      5
 DirectStreamingURL    < these are auto-added by I_foscam98HD.xml file
 PreRollBuffer               0
 CommFailure               0
 URL                             < these are auto-added by I_foscam98HD.xml file
 StepSize                     1
 ReversePan                0
 ReverseTilt                  0
 Commands                 < these are auto-added by I_foscam98HD.xml file
 State                          0
 ReverseControls         0

=========================================================================================================================================

if you want to have more IP-cams then you would set port 81 on router to ip-cam_ip:80, port 82 for next cam to ipcam_ip port 80 , port 83 to ip-cam_ip port 80, 84 to ip-cam_ip:80 etc..
its not neccesary to put port 80 in vera settings tab or browser as this is default port that is used.

 edit6:darn this formatting stuff is annoying as hell :-s
 edit7: few corrections. it seems devicesettings need also username and pass for PTZ and preset to work. Big Thanks to Jukka !
 edit8: fixed I_foscam98HD.xml  , added videourl and login for picture/video parameter. see attached file. if its correct you only need to fill in user/pass now and the url get
 automaticly written in URL and DirectstreamingURL parameter in device advanced settings.
 edit9: added snapshot to commands in xml file
 edit10: changed configsettings and added some more info
 edit 11: fixed zoom option and typo

HUGE HUGE HUGE thanks dude.  Took me a while but its working at least.  Only issue I have is its a very very low framerate.  And when I full-screen the video, it drops big time.  Any ideas?
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on October 24, 2013, 10:26:55 am
I am using homewave from intveltr app and no problem...

but anothers apps I had problem when watching the cameras.

Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on October 25, 2013, 08:16:29 am
i updated my ipcam (9818W) to latest firmware found here : http://www.foscam.nl/index.php/support/downloads/category/52-firmware?download=157%3Afirmware-1.3.1.13
since i did it the thing seems to be more stable in providing picture and stream to the vera. mind that its for the V1 version. there is also a new V2 version.
@peeej1978 ur welcome :-)  the thing is vera actually does not stream but refreshes the image, so it wont go any faster then it is now. its in vera firmware itself and i can't do much about that. putting the webbrowser in fullscreen and then few double clicks on the browsers windowbar on top seems to bring back controls on the right side and makes it work a little better. probably some parsing error on the vera page.
Title: Re: Foscam IP Camera Plugin
Post by: curiousB on October 31, 2013, 03:05:12 pm
Just got a FOSCAM FI8918W and can't get it to work with Vera. Works fines with straight access via a browser to its IP address but Vera comes back saying requires a valid username and password... I have the proper user name and password in the settings since I use it to gain access in the browser direct mode.

Any suggestions? I'm puzzled. All config settings in the attached
Title: Re: Foscam IP Camera Plugin
Post by: curiousB on October 31, 2013, 04:14:08 pm
OK solved it. I had upgraded camera firmware to latest so went back one rev and now it works. Something to do with password encryption added in latest and it isn't compatible with Vera.

I moved camera firmware back to 11.37.2.52 after promoting to 11.37.2.54
Title: Re: Foscam IP Camera Plugin
Post by: guest13871 on October 31, 2013, 08:52:27 pm
Can anyone who has a working FI8918W post the settings for the motion detector?  I got the motion detector on one of my cameras to appear tonight but I can't get it to actually do anything.  I know the motion detector in the camera is working because I walked in front of the camera with the camera status page on my tablet and it immediately went into motion alarm.  But I can't get Vera to trigger on the motion detector.

I noticed in the Advanced tab for the motion detector the device file is "D_MotionSensor1.xml" but there is no implementation file.  Should there be an implementation file?

Any other settings that could cause the motion detector to not work?

Thanks.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on October 31, 2013, 09:51:33 pm
first check if your foscam supports motiondetect url sending.  in the foscam UI in settings for alarm there is a setting for opening url on alarm. if it does not have this it aint gonna work.
also it requires admin account in vera for the foscam to arm/disarm the motiondetect.
type this in internet explorer :

for non-HD cams :

http://<IP-CAM IP:Port>/get_params.cgi
exchange the <IP-CAM:port> for the IP and Port of the foscam.

see if it has in there :

var alarm_http=1;
var alarm_http_url='http://<Vera-IP>:3480/data_request?id=lr_foscam_tripped&sensor_id=XX';  (id=XX being the motionsensor device on vera)

you can set the alarm trigger to disable/enable with :

http://<IP-CAM IP:Port>/set_alarm.cgi?motion_armed=1  (enabled)
http://<IP-CAM IP:Port>/set_alarm.cgi?motion_armed=0  (disabled)

alarm URL is being set by the foscam/vistacam motionsensor plugin.

it can also be set with :

http://<IP-CAM IP:Port>/set_alarm.cgi?http=1&http_url=http://<Vera-IP>:3480/data_request?id=lr_foscam_tripped%26sensor_id=XX
where
<IP-CAM:Port> = the IP of the foscam (or clone) and the Port used
<Vera-IP> =  the IP of your Vera
XX = the device ID of the motion-sensor in Vera


for HD cams (does not support alarm URL) :

http://<IP-CAM IP:Port>/cgi-bin/CGIProxy.fcgi?cmd=getMotionDetectConfig&usr=admin&pwd=

set motion detect on/off :

http://<IP-CAM IP:Port>/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=1&usr=admin&pwd=      > motion on
http://<IP-CAM IP:Port>/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=0&usr=admin&pwd=      > motion off

for the versions that have a alarm-out you can attach a fibaro binary sensor to it for the motion detection :

attach black and green (or yellow) wires to the alarm output.
Title: Re: Foscam IP Camera Plugin
Post by: guest13871 on November 01, 2013, 09:56:28 am
first check if your foscam supports motiondetect url sending.  in the foscam UI in settings for alarm there is a setting for opening url on alarm. if it does not have this it aint gonna work.
also it requires admin account in vera for the foscam to arm/disarm the motiondetect.
type this in internet explorer :

for non-HD cams :

http://<IP-CAM IP:Port>/get_params.cgi
exchange the <IP-CAM:port> for the IP and Port of the foscam.

see if it has in there :

var alarm_http=1;
var alarm_http_url='http://<Vera-IP>:3480/data_request?id=lr_foscam_tripped&sensor_id=XX';  (id=XX being the motionsensor device on vera)

Hi Da_JoJo,

Thanks very much for the help.  I tried your suggestions without luck.  Here is what I got in the parameters page after trying your suggestions:

var alarm_motion_armed=1;
var alarm_motion_sensitivity=0;
var alarm_motion_compensation=0;
var alarm_input_armed=1;
var alarm_ioin_level=1;
var alarm_sounddetect_armed=0;
var alarm_sounddetect_sensitivity=0;
var alarm_iolinkage=0;
var alarm_preset=0;
var alarm_ioout_level=1;
var alarm_mail=0;
var alarm_upload_interval=0;
var alarm_http=0;
var alarm_msn=0;
var alarm_http_url='http://192.168.1.20:3480/data_request?id=lr_foscam_tripped&sensor_id=92';
var alarm_schedule_enable=0;

I'm guessing that the line "var alarm_http=0;" means this camera, or firmware version, doesn't support motion detect URL sending?  If so do you know if this is a camera issue (i.e., FI8918W) or firmware version issue?  If a camera issue do you know which Foscam models support this feature?

Also, just a sanity check.  Is "D_MotionSensor1.xml" the correct device_file and the implementation_file field should be blank?

Thanks again for your help.
Title: Re: Foscam IP Camera Plugin
Post by: silencery on November 01, 2013, 04:58:38 pm
Can anyone who has a working FI8918W post the settings for the motion detector?  I got the motion detector on one of my cameras to appear tonight but I can't get it to actually do anything.  I know the motion detector in the camera is working because I walked in front of the camera with the camera status page on my tablet and it immediately went into motion alarm.  But I can't get Vera to trigger on the motion detector.

I noticed in the Advanced tab for the motion detector the device file is "D_MotionSensor1.xml" but there is no implementation file.  Should there be an implementation file?

Any other settings that could cause the motion detector to not work?

Thanks.

I'm having similar issues on an 8910W.  Any advice is appreciated.

Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on November 02, 2013, 12:19:11 am
the  "var alarm_http=0" should be a 1 indeed to make the foscam send this URL to the vera. if you did the "http://<IP-CAM IP:Port>/set_alarm.cgi?http=1&http_url=http://<Vera-IP>:3480/data_request?id=lr_foscam_tripped%26sensor_id=XX"  line then it should set the alarm_http to 1  . offcourse this needs admin account on the foscam
there should not be an implementation file as this is controlled by the camera device in vera and this should also have admin account for the ip-cam.
i use the vistacam motionsensor but i had the idea that it does not take into account the part when u have vera extra secured and thus need a login for vera too. it also seems that i wont take the disarm motion command from vera. frankly i have no idea how to adress this and i dont have much time to figure it all out :-/
Title: Re: Foscam IP Camera Plugin
Post by: silencery on November 03, 2013, 12:28:22 am
Thanks, I've gotten my issues sorted. 

In my case, the motion sensor on the FI8910W camera was being tripped, but it would never untrip.

Turns out it wasn't that the sensor wouldn't untrip, it was just set to a default of 20 minutes.  Changing the OnTime variable to 60 (seconds) solved the issue.


Just in case, here are the steps for the FI8910W. Tested with VistaCam SD, PT & HD Plugin v1.31:

Title: Re: Foscam IP Camera Plugin
Post by: dpself on November 14, 2013, 05:37:47 pm
I have another brand of camera - a polariod ip100 and the URL quoted here for enabling the alarm http gets an "ok" response from the camera but doesn't work when you check the settings to see the result. Took a guess and got lucky - turns out the url for this camera is http://<IP-CAM IP:Port>/set_alarm.cgi?http=1 (not alarm_http=1).
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on November 16, 2013, 03:18:37 am
dpself you are right. the docs says use alarm_http=1  but it turned out not working and http=1 does..  changed in post.. thnx :-)
Title: Re: Foscam IP Camera Plugin
Post by: hardrock21 on November 18, 2013, 04:43:28 pm
Alright, I've tried like crazy over the last week to get my setup to work. I have a vera3 and Foscam FI9821w V2. I have torn through this thread several times and have not been able to get it right. I can use my snapshot url in browser and get an image, but I get no stream with the stream url. In Vera, there is only a wrench. Haven't gotten it to show any image at any point. Pan/Tilt do not work, I get "Device Not Ready." I downloaded the latest I_Foscam98HD.xml file and uploaded that. I also get no "state" value in my advanced settings that I see referenced alot. I have the VistaCam SD, PT & HD Plugin 1.31 and VistaCam Classic Motion Sensor Plugin 1.22. Foscam firmware is the most updated, I believe, Sys: 1.4.1.8, App: 1.11.1.18, Plug-In 2.0.1.6.

My wiring setup is a little different than some I'm sure, but in interest in getting the right answers, I'm gonna try and provide all of the info. My modem is hooked to the Vera3, then my secondary wireless router is plugged into the vera and the Foscam is plugged into my secondary router. I have the ports fowarded on my secondary router for the camera, but I have not used SSH to get into the vera to forward the ports on it so I'm assuming that might be why I can't access the camera feed from outside my network, but not sure if that's why I cant get the feed in Vera from my LAN. The camera works fine on the Foscam interface. Any help is much appreciated, here are my settings. Thanks so much.

Device #14
Controlled via   No parent/Please select
Device params
name   My Camera
device_type   urn:schemas-upnp-org:device:DigitalSecurityCamera:2
altid   1042751
ip   Camera IP address:88
mac   
manufacturer   Foscam
model   FI9821W
room_num   
id_parent   
embedded   
disabled   
restricted   
device_file   D_DigitalSecurityCamera2.xml
id   14
room   1
time_created   1384669713
category_num   6
subcategory_num  0   
hwkey   <Please don't post your unit's HW_Key>
impl_file   I_foscam98HD.xml
username      My Username
password      My Password
local_udn     uuid:4d494342-5342-5645-000e-000001c9e2d9
Variables
Timeout   5
DirectStreamingURL   Camera IP Address:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=(My Username)&pwd=(My Password)
PreRollBuffer   0
URL   Camera IP Address:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=(My Username)&pwd=(My Password)
Commands   camera_full_screen,camera_left,camera_right,camera_up,camera_down,camera_preset,camera_archive_snapshot,camera_zoom_in,camera_zoom_out
StepSize   1
ReverseControls   0
New service:    
New variable:    
New value:   

Sorry it's so long winded, just trying to be complete. Thanks for any help someone can offer, this is far more frustrating then I thought and I tried like crazy to get it sorted on my own without bothering anyone else. Ask if there is any other information needed.

Paul
   
Title: Re: Foscam IP Camera Plugin
Post by: hardrock21 on November 18, 2013, 05:22:13 pm
Update: I logged in using Firefox, instead of Chrome. Still no picture in Vera, but the stream and snapshot URL's both work when entered on Firefox. Thanks.

Paul
Title: Re: Foscam IP Camera Plugin
Post by: hardrock21 on November 18, 2013, 11:10:35 pm
Now I've got the video stream, but no PTZ, says device not ready. The problem with the vid stream was my double router setup and having the vera3 1st in line. It was somehow blocking the feed from the camera to the UI, but that's resolved now.

Paul
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on November 19, 2013, 07:44:12 am
the 98 HD cams need 2 ports to be forwarded the main one and the mediaport as well. i.e. 88 and 880 for example. there is also a 443 https port that could conflict when cam has upnp on and ur using something else like a webserver or router with https. better to set this to another port.
setting the second router to repeater-mode instead of normal mode and give it a static ip would also work better.
Title: Re: Foscam IP Camera Plugin
Post by: hardrock21 on November 19, 2013, 09:09:28 am
the 98 HD cams need 2 ports to be forwarded the main one and the mediaport as well. i.e. 88 and 880 for example. there is also a 443 https port that could conflict when cam has upnp on and ur using something else like a webserver or router with https. better to set this to another port.
setting the second router to repeater-mode instead of normal mode and give it a static ip would also work better.
I've actually got all 3 of those ports in my router forwarded. I'm not positive on how to set the vera up as a repeater, if you could elaborate on that. Any tips on how to get the PTZ functions to work? Are my settings incorrect? Thanks.

Paul
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on November 27, 2013, 06:19:57 pm
Just got a Foscam FI9821W - went over the thread twice in the last 3 hours. Tried everything. No umage, just a filmstrip. Updated the foscamHD XML file, updated the VistaCam plugin and rebooted Vera. No luck.

I tried combined the IP address and URL values from the settings  into http://ipaddress:80/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=admin&pwd=***** and it brings up a picture just fine in Firefox and Opera. No picture in Vera though.

I've  also tried http://veraipAddress:3480/data_request?id=request_image&lights=1&cam=deviceid (where deviceID is that of the camera) nothing displayed there.

Same goes for my Wanscam JW0011. URL works fine in the browser but Vera just shows a film strip.

As much as I like Vera, I'm getting frustrated by the lack of support for common IP camera models such as the FI9821W. People seem to have been able to get them working, but it seems not to work for everyone.

No issues setting either up in Blue Iris. Couple of clicks and hey presto, image.
Title: Re: Foscam IP Camera Plugin
Post by: daveonet on December 08, 2013, 10:35:14 am
I'm having a tough time finding the impl_file "I_foscam98HD.xml".   If someone would please post a link I'd really appreciate it.

Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on December 08, 2013, 11:15:04 am
Not to sound rude, but you must not have searched hard enough. The file is in this thread about 10 pages back:

http://forum.micasaverde.com/index.php/topic,11027.msg112616.html#msg112616

- Garrett
Title: Re: Foscam IP Camera Plugin
Post by: daveonet on December 08, 2013, 01:27:40 pm
Thanks Garret, it was my mistake.  I wasn't logged into the forum earlier so that attachment was not displayed.
Title: Re: Foscam IP Camera Plugin
Post by: Lonestar10 on December 13, 2013, 10:01:48 pm

As much as I like Vera, I'm getting frustrated by the lack of support for common IP camera models such as the FI9821W. People seem to have been able to get them working, but it seems not to work for everyone.

No issues setting either up in Blue Iris. Couple of clicks and hey presto, image.

Agreed.  Love Vera.  Hate the process.  I'm using my FI9821W as a doorstop until someone comes up with a better install process.
Title: Re: Foscam IP Camera Plugin
Post by: mrw298 on December 14, 2013, 02:53:37 am
The FI9821w v2 I have in the baby's room works fine for me, it took a bit of trawling through the forum posts but works for me with the below settings

Device_file: D_DigitalSecurityCamera2.xml
Impl_file: I_Foscam98HD.xml

URL: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin
DirectStreamingUrl: /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=

Vera had better support for this camera than the various iPad baby monitors that only got support in the last few weeks.
Title: Re: Foscam IP Camera Plugin
Post by: Lonestar10 on December 15, 2013, 11:26:01 am
My FI9821W works great with IP-Cam and Blue Iris software, but I can't get Vera to even acknowledge that it exists.  It does not show up when I try to add it manually or automatically.

Early models of Foscams installed with very little trouble.
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on December 15, 2013, 05:50:50 pm
I have 4 FI8910W's that Vera added in a snap. It's had problems with my FI8905W I added later but I was able to tweak it to work.
No such luck with the FI9821W. When I manually add it, it is in the list of IP's and selectable. But adding either as a Foscam or a Vistacam even with all the teaks discussed, I can not get it to show an image.

I'm wondering if it maybe is firmware version on the Foscam or because I have the other Foscam models also. Once I get my network/firweall redone, chances are I'll spring the $9.99 for the Blue Iris app and use that for the camera's. There are plug-ins for BI that allow remote access via eg URL"s so maybe I can interface it with Vera.
Title: Re: Foscam IP Camera Plugin
Post by: mrw298 on December 16, 2013, 01:31:33 am
Mine is running on system firmware 1.4.1.8 application firmware 1.11.1.18

I don't think I added it as a camera, I think I just went into apps > develop apps > create device and manually created the camera.
Title: Re: Foscam IP Camera Plugin
Post by: djmarcox on December 16, 2013, 11:56:16 pm
I have the camera working but I cant get the motion detection working... I dont have the state variable in my settings... What am I doing wrong... I have the 9821w v2.. .Thank you...

Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 03, 2014, 12:42:40 am

@silvereagle2208 and @Trotsky40

The last plugin version (2.1) had a major flaw: it worked correctly only for one camera. I published a new version today (2.2) that fixes that flaw and some other bugs. However, for the fix to work you have to tell the plugin to reconfigure the cameras: find the ConfiguredMD variable in the camera's Advanced tab, set it to 1 and Save.

Any chance of having the motion for Foscam FI8904W cams?

This should work for all the Foscam cameras that can send notifications when motion is detected. Have you tried it and it didn't work?

I know this quote is old but I am having the same issue with the motion sensors (a WeMo motion sensor) not triggering the camera to take a phot. I looked for ConfiguredMD but I do not see it under Advanced. I do see an AutoConfigure set to -1 is that similar?


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: cw-kid on January 03, 2014, 07:37:59 pm
Hi

Seem to be having problems with the Foscam motion sensor staying RED and not going back to green. This was working in the past but my Foscam fI8905W has not been working recently due to a bad power supply, I plugged in a new power supply today and the camera is working again but have this issue now with the motion sensor in Vera.

I can't see a ConfiguredMD variable setting any more in the cameras advanced tab, is this now just called Configured ? (See screen shot)

If I set the variable "Tripped" on the motion sensor device, from 1 to 0 and save it then goes Green OK, however upon new motion detection it then stays Red and doesn't seem to go back to Green again.

Also has that issue with OnTime being set to less than 1200 been fixed? Its set to 1200 currently and that's what I had it set at historically.

If I look up the http://CAMIPADDRESS/get_params.cgi on the camera I can see the below is set correctly:

var alarm_http=1;
var alarm_http_url='http://VERAIPADDRESS/port_3480/data_request?id=lr_foscam_tripped&sensor_id=19';

Thanks

EDIT: If I change the "Configured" variable from 0 to 1 and then save the motion icon then goes from Red to Green. I moved the camera and motion is detected and now the icon has gone Red again. Will see if it goes Green? After 20 mins? Which is the OnTime = 1200 ?

Thanks

EDIT:2 Well 20 mins has past and its now gone Green again, so looks like I just fixed it. Looking in the advanced tab on the camera device and at the Configured variable its still set as 1

Would be interested to know if anyone is using an OnTime less than 1200 ?

Thanks
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 03, 2014, 07:46:04 pm
I have 4 FI8910W's that Vera added in a snap. It's had problems with my FI8905W I added later but I was able to tweak it to work.
No such luck with the FI9821W. When I manually add it, it is in the list of IP's and selectable. But adding either as a Foscam or a Vistacam even with all the teaks discussed, I can not get it to show an image.

I'm wondering if it maybe is firmware version on the Foscam or because I have the other Foscam models also. Once I get my network/firweall redone, chances are I'll spring the $9.99 for the Blue Iris app and use that for the camera's. There are plug-ins for BI that allow remote access via eg URL"s so maybe I can interface it with Vera.

Have you tried to manually add the camera with these instructions? http://forum.micasaverde.com/index.php/topic,10599.msg76555.html#msg76555

and use the following settings for the HD Foscam
http://forum.micasaverde.com/index.php/topic,11027.msg141089.html#msg141089
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on January 03, 2014, 09:48:59 pm
Holy Crap! I have an image on my FI9821W!!! Thank You! Thank You! Thank You!

For URL I used /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password and left the user and password fields nblank. For some reason, with those entered there and not in the URL field I got a 'camera URL is invalid' error.
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 03, 2014, 10:23:38 pm
Holy Crap! I have an image on my FI9821W!!! Thank You! Thank You! Thank You!

For URL I used /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password and left the user and password fields nblank. For some reason, with those entered there and not in the URL field I got a 'camera URL is invalid' error.

Now if you can get motion sensor to work please tell me how. I have all the options and can choose my sensor but when I trigger the sensor  the camera doesn't take a photo...

Update: So i removed the cameras and readded them and that removed my lua errors. I now have motor sensors as a new device next to two cameras. Unfortunately, the motions sensors do not seem to trip. I have set the cameras sensors and my door and wemo sensor. Opened doors, walked past the wemo sensor and the camera sensors. Nothing seems to trigger the cameras to take a photo.

I am sure I am missing something basic. I am pretty close to getting this set-up just need someone to help me finalize my issue.


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on January 04, 2014, 06:26:18 pm
Motionsensor seems no go. My old trick of setting the State to 2 does not generate a sensor device.
Also, Pan and Tilt is a no go. EIther with I_Foscam98HD.xml or I_FoscamPTZ.xml as implementation file,

At this point I'm just happy to have an image.
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 05, 2014, 01:02:47 am
Motionsensor seems no go. My old trick of setting the State to 2 does not generate a sensor device.
Also, Pan and Tilt is a no go. EIther with I_Foscam98HD.xml or I_FoscamPTZ.xml as implementation file,

At this point I'm just happy to have an image.

Set the state to 1. Reload and wait a bit.
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 05, 2014, 12:08:17 pm
Motionsensor seems no go. My old trick of setting the State to 2 does not generate a sensor device.
Also, Pan and Tilt is a no go. EIther with I_Foscam98HD.xml or I_FoscamPTZ.xml as implementation file,

At this point I'm just happy to have an image.

Have you been getting a Camera Not Responding on your Foscam HD cam? I do. It works at first but after a bit it shows camera up is not responding.
Title: Re: Foscam IP Camera Plugin
Post by: djmarcox on January 05, 2014, 07:41:39 pm
I have the cameras setup and working fine.. Just the motion sensors I can't get.  I don't have a state variable in my advanced section.  Any help would be greatly appreciated... See snapshot below....
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 05, 2014, 07:54:21 pm

I have the cameras setup and working fine.. Just the motion sensors I can't get.  I don't have a state variable in my advanced section.  Any help would be greatly appreciated... See snapshot below....

Add the port to your IP address and save/reload


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: djmarcox on January 05, 2014, 07:58:12 pm

I have the cameras setup and working fine.. Just the motion sensors I can't get.  I don't have a state variable in my advanced section.  Any help would be greatly appreciated... See snapshot below....

Add the port to your IP address and save/reload


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)


I have the port in my ip address....
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 05, 2014, 07:59:29 pm
Which camera are you adding?


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: djmarcox on January 05, 2014, 08:01:12 pm
Which camera are you adding?


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)

Foscam 9821w v2... Thanks for your help...
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 05, 2014, 09:05:41 pm

Which camera are you adding?


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)

Foscam 9821w v2... Thanks for your help...

That what I thought. I have the same. Motion is not yet supported. But you should be able to use a door sensor or motion sensor to trigger the event is scenes, though I have had not lucky myself.


Sent from my iPad using Tapatalk - now Free (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: BOFH on January 06, 2014, 09:23:59 pm

Have you been getting a Camera Not Responding on your Foscam HD cam? I do. It works at first but after a bit it shows camera up is not responding.

The camera keeps on producing images. The motion buttons just don't respond. No error or 'not implemented', just no move.

As far as the motion sensor, I tried setting teh state to -1, 1 and 2 and multiple reloads. No motion sensor device was generated.
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 06, 2014, 09:43:21 pm
My camera not responding is because the port keeps disappearing from the IP address. Not sure why though.


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on January 06, 2014, 10:56:35 pm
This is because you have the Mac address field entered in the camera settings. You can not use a custom port with the Mac address entered. This is because vera will use the Mac address to try and keep the camera IP address updated if it were to change. Overriding the custom port. Either remove the Mac address or move back to port 80. This has been discussed many times.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on January 06, 2014, 11:04:58 pm
Garrett,

I will try that but this only happens on the HD Foscam. You said it was discussed many time so I assume the camera model shouldn't matter? My other two cameras don't have this issue.


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on January 07, 2014, 05:41:54 am
is it possible to have a table with supported foscam models and/or different supported functions in the opening post?
Title: Re: Foscam IP Camera Plugin
Post by: Aaron on January 12, 2014, 12:26:41 pm
This thread is a freak'n mess. I will start a thread dedicated to FI8921W cameras with a summary of what is working/not & how. I wasted tons of time on this and hope others will not need to.
Title: Re: Foscam IP Camera Plugin
Post by: myspivey on January 14, 2014, 10:12:36 pm
This thread is a freak'n mess. I will start a thread dedicated to FI8921W cameras with a summary of what is working/not & how. I wasted tons of time on this and hope others will not need to.

Please post it here as I just got mine in the mail today and have managed to get it into vera and see a picture for a moment but no live streaming and no PTZ.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on January 22, 2014, 09:21:37 pm
keep in mind that when adding the I_Foscam98HD.xml filename to the device you first have to save +reload/reboot vera and then fill in the username and pass in settings page and save again and reload. it automaticly fills in the advanced settingspage and after you can change the adv. settings if needed. HD cams motionsensor does not work as its not implemented in the HD cam firmware.
Title: Re: Foscam IP Camera Plugin
Post by: wilme2 on January 27, 2014, 01:22:28 pm
  • On the camera, set the state field to 0 in order to get the motion sensor to show up.

That was what I was looking for!
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on January 27, 2014, 01:24:22 pm
I got the sensor to show up but it's not working. It's doesn't trigger at all even though it's activated in the camera settings
Title: Re: Foscam IP Camera Plugin
Post by: derrij on January 31, 2014, 04:38:34 am
hi, please, can some one help how to rotate webcam image in Vera lite.
I am using manualy created webcam in Vera. Webcam is a mjpeg-streamer from openwrt router.
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on January 31, 2014, 11:18:04 am
hi, please, can some one help how to rotate webcam image in Vera lite.
I am using manualy created webcam in Vera. Webcam is a mjpeg-streamer from openwrt router.
is it a foscam ? there is a topic about this allready.. did u use search ?
Title: Re: Foscam IP Camera Plugin
Post by: Ramiii on January 31, 2014, 11:19:03 am
You can do this from the camera settings not vera lite. Go to the camera web interface and change it
Title: Re: Foscam IP Camera Plugin
Post by: Piwtorak on February 21, 2014, 06:18:04 am
I would like register about my experience with 2 Foscam cameras...

with the plugin I could not work...a lot of problems...a lot of cameras devices installed, changing of IP address automatic by the plugin, etc.

then I uninstall the plugin and follow this instructions:

http://wiki.micasaverde.com/index.php/Manually_create_IP_Camera_device

changing: D_DigitalSecurityCamera1.xml  for D_DigitalSecurityCamera2.xml only.

all is ok...presets control works fine.

the only problem is when I click in the arrows to move camera step by step one click do the camera rotate without stop...

but is curious like without a plugin installed the camera is perfect...including homewave app acess.

maybe for this would be good have in some place the updated necessary files to install :

D_DigitalSecurityCamera1.xml or D_DigitalSecurityCamera2.xml

I_FoscamPTZ.xml

and anothers files..


this I think would simplify the setup process of this camera and anothers...


thanks for all working in better Vera and your devices.
Title: Re: Foscam IP Camera Plugin
Post by: USCCowboy on February 27, 2014, 10:48:19 pm
OK solved it. I had upgraded camera firmware to latest so went back one rev and now it works. Something to do with password encryption added in latest and it isn't compatible with Vera.

I moved camera firmware back to 11.37.2.52 after promoting to 11.37.2.54

THANK YOU THANK YOU THANK YOU!!!  I have spent probably 2 days trying to figure out what I did wrong, because I have one Foscam 8910 working fine and then just ordered another and could not get it to work until I saw your post!!!
Title: Re: Foscam IP Camera Plugin
Post by: jimpapa on April 02, 2014, 01:56:14 pm
Installed the Regular FOSCAM plugin number 1978

I can't create a device though.  The plugin installs, but the device is not created even if I click
"create another" 

I have uninstalled a few unused Plugins like iPhone locator, Virtual Switch, WeMo, and at least 2 more.
I also SSH in and deleted leftover files from those plugins by hand.

Still can't create the device.

I am stumped.

oh, I reinstalled Virtual switch to see if I can actually install other plugins and have them create devices.
That worked fine and the V-switch whttp://forum.micasaverde.com/Smileys/classic/huh.gifas created.

I rebooted, and reloaded several times.

Ui5.. 

Color me  ???


 
Title: Re: Foscam IP Camera Plugin
Post by: pdipesh11 on April 20, 2014, 01:41:12 am
i had same problem, vera factory reset solved the problem but no ptz working (foscam 9821)
any input?
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on April 20, 2014, 09:12:02 am
ptz is working with my modded implementationfile just a while back in this topic
Title: Re: Foscam IP Camera Plugin
Post by: jimpapa on April 22, 2014, 10:58:55 am
I actually called MCV.. first time in 4 or so years.  They actually logged in and fixed it right away,

Title: Re: Foscam IP Camera Plugin
Post by: pajorge on April 26, 2014, 07:46:11 am
Good morning
Recently bought a vera Lite and have 2 problems
I have 4 cameras Foscam all work perfectly fi8905w two and two fi8910w.
The two fi8910w work well and was easy to add my lite vera.
One fi8905w work with vera lite but has a green theme vera (SD cam view) when accessed by internet explorer, is possibility to returning to Foscam interface (the firmware is  17.35.2.49)?
The other can fi8905w canot add to vera  says (camera requires a valid username and password) I think it is the firmware have the latest 11.35.2.56. Already tried a few things but no sucess to give  the image by vera.
Since i appreciate the help
Sorry for bad English
Title: Re: Foscam IP Camera Plugin
Post by: sirpinky on April 27, 2014, 01:46:31 pm
Same exact behavior, I am using a new veralite - all other apps work.
I am on UI6, i thought that was the issue but i see ppl with UI5 having the same problem.

Any way to fix with without factory reset? I have all my scenes and devices configured, I don't want to re-do all my settings it would take me days.

P.S I want to add FI8919, this is why i wanted to try this app since the OOB doesnt work with it. My other foscams work right out of the box with the vista cam plugin.

Installed the Regular FOSCAM plugin number 1978

I can't create a device though.  The plugin installs, but the device is not created even if I click
"create another" 

I have uninstalled a few unused Plugins like iPhone locator, Virtual Switch, WeMo, and at least 2 more.
I also SSH in and deleted leftover files from those plugins by hand.

Still can't create the device.

I am stumped.

oh, I reinstalled Virtual switch to see if I can actually install other plugins and have them create devices.
That worked fine and the V-switch whttp://forum.micasaverde.com/Smileys/classic/huh.gifas created.

I rebooted, and reloaded several times.

Ui5.. 

Color me  ???
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on May 02, 2014, 08:04:53 pm
tried adding device in the apps>develop apps section ? just put in the box called "Upnp device filename" this : D_DigitalSecurityCamera2.xml   and in the box called description this : camera
Title: Re: Foscam IP Camera Plugin
Post by: pajorge on May 03, 2014, 01:03:16 pm
tried adding device in the apps>develop apps section ? just put in the box called "Upnp device filename" this : D_DigitalSecurityCamera2.xml   and in the box called description this : camera
thanks for tring to help but dont work for me.
give the message : camera requires a valid username and password
Title: Re: Foscam IP Camera Plugin
Post by: BiLLSolomon on May 03, 2014, 01:04:51 pm
Default user name is admin and password is empty
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on May 04, 2014, 01:21:11 pm
tried adding device in the apps>develop apps section ? just put in the box called "Upnp device filename" this : D_DigitalSecurityCamera2.xml   and in the box called description this : camera
thanks for tring to help but dont work for me.
give the message : camera requires a valid username and password
yeah you have to reload the UI before filling in user/pass and after this save and reload again. if u have the right login and it don't work , try to put a older firmware on the foscam itself. plugins cannot handle the new secure login from foscam.
Title: Re: Foscam IP Camera Plugin
Post by: n0ir on May 29, 2014, 04:49:05 am
Hi there!

I have been struggling with getting the motion sensor functionality of my Foscams to work for some time now. Hope someone could help with some pointers...

My configuration:

I have two Foscam IP cameras, one 8910W and one 8918W.

My FW on the 8910W is 11.37.2.59 with Web UI 2.4.10.10.

My FW on the 8918W is 11.37.2.48 with Web UI 2.4.10.2

I have a Vera Lite, running UI5.

I have installed the plugin 3866 "VistaCam SD, PT & HD for UI5" and plugin 1978 "Foscam IP Camera" (one of these plugins might have been installed automatically by Vera).

I can add and control (i.e. pan) both cameras by adding them manually under Devices->Add devices->I want to add an IP Camera. It do not seem I can add a IP camera set to using another port then the default 80, but after I have added the device using port 80 I can change the port in the device setting and in the native Foscam UI. I use the modified URL (http://<VeraIP>:<port>/snapshot.cgi&user=<username>&pass=<password>) in the device settings.

If I change the "state" variable under advanced settings from -1 to 2 a Motion Sensor device is created automatically. The state variable is then changed automatically from 2 to 1. The newly created motion sensor device do not seem to work at all, even though the motion sensor functionality is active in the Foscam UI (Alarm Service Settings) and I receive emails from the camera itself.

Could someone take the time and write down a step-by-step guide on adding the 8910W or 8918W cameras to Vera and getting the motion sensor functionality up and running?

It seems I have read about thousands of forum threads and tried to install the devices a couple of hundred times without success. I would be willing to downgrade the FW on the cameras, sacrifice a goat or whatever would be needed. :S

EDIT: I gave it one more shot and it seems to work now! Yay! I wrote a small guide in case anyone else have the same issue: http://forum.micasaverde.com/index.php/topic,25282.0.html
Title: Re: Foscam IP Camera Plugin
Post by: Radjin on July 28, 2014, 09:45:12 pm
I may have missed it searching through all these pages; what Foscams work with this plug-in? I am particularly interested in the outdoor camera: FI9828W
Title: Re: Foscam IP Camera Plugin
Post by: raven0130 on August 01, 2014, 09:33:10 am
Quote
yeah you have to reload the UI before filling in user/pass and after this save and reload again. if u have the right login and it don't work , try to put a older firmware on the foscam itself. plugins cannot handle the new secure login from foscam.

I would be very careful going backwards on firmware. The new security firmware was to fix vulnerability to take over camera from outside.
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on August 01, 2014, 10:01:03 am
Quote
yeah you have to reload the UI before filling in user/pass and after this save and reload again. if u have the right login and it don't work , try to put a older firmware on the foscam itself. plugins cannot handle the new secure login from foscam.

I would be very careful going backwards on firmware. The new security firmware was to fix vulnerability to take over camera from outside.

Its nice to have a fix for that vulnerability... but now I cannot access my camera with Vera or Authomation... as someone I gave access to my camera had upgraded my firmware to the newest version (without asking me). So I will have to downgrade unless there is a possibility of a plugin upgrade to handle the new security
Title: Re: Foscam IP Camera Plugin
Post by: raven0130 on August 01, 2014, 11:36:38 am
Quote
yeah you have to reload the UI before filling in user/pass and after this save and reload again. if u have the right login and it don't work , try to put a older firmware on the foscam itself. plugins cannot handle the new secure login from foscam.

I would be very careful going backwards on firmware. The new security firmware was to fix vulnerability to take over camera from outside.

Its nice to have a fix for that vulnerability... but now I cannot access my camera with Vera or Authomation... as someone I gave access to my camera had upgraded my firmware to the newest version (without asking me). So I will have to downgrade unless there is a possibility of a plugin upgrade to handle the new security

I understand. I just think the security breach would outweigh the functionality. I use the vistacam plugin for my foscam cameras. mine are upgraded to the new firmware and i'm able to control them. I was on this thread seeing if I should switch plugins..
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on August 01, 2014, 11:46:07 am
For whatever reason I have Vistacam and Foscam plugins installed. I cannot see mt FI9805W any more sine that guy udated my firmware. I can access it via the web though. How would I switch to the Vistacam plugin only ? Might give that a try before I downgrade as that is not something I really want to do unless I have to
Title: Re: Foscam IP Camera Plugin
Post by: Da_JoJo on August 19, 2014, 10:22:41 pm
if you have the firmware with ONVIF video you should use port 80 (standard http port u use for login to the cam) instead of 880 to be able to put it in the foscam interface/vera or look to the campicture from wan.
impl file works for ui6 and ui7 too.
9821W v2 latest firmware tested ok
Title: Re: Foscam IP Camera Plugin
Post by: mikee123 on August 20, 2014, 02:43:08 am
In my camera settings I have ONVIF Port 888 (default), I should change that to 80 ? And then obviously forward port 80 in my router ? I have the normal http port set to something different than 80, and forwarded that port in my router. So I should try accessing my camera through ONVIF and port 80, correct ?
Title: Re: Foscam IP Camera Plugin
Post by: spiegs on September 17, 2014, 12:13:29 am
I was finally able to get this working with UI7 and the latest Foscam firmware for the 8910W. 

Here's what did it for me:

1.  Install Foscam App under Apps
2.  Add camera, select "Other IP Camera"
3.  Paste this URL into "Paste this URL...."
http://CameraIPAddress:PORT/snapshot.cgi?user=USERNAME&pwd=PASSWORD
*replace user name and password with your user name and your password
4.  DO NOT ENTER THE USER NAME AND PASSWORD INTO THE WEB FORM
5.  Hit Next Button, Hit Next Button again
6.  If Image doesn't show up, go to Advanced Settings and make sure your PORT is appended to your IP Address like this:
10.0.0.1:8000
Title: Re: Foscam IP Camera Plugin
Post by: gwilke1 on September 29, 2014, 02:32:20 pm
I was finally able to get this working with UI7 and the latest Foscam firmware for the 8910W. 

Here's what did it for me:

1.  Install Foscam App under Apps
2.  Add camera, select "Other IP Camera"
3.  Paste this URL into "Paste this URL...."
http://CameraIPAddress:PORT/snapshot.cgi?user=USERNAME&pwd=PASSWORD
*replace user name and password with your user name and your password
4.  DO NOT ENTER THE USER NAME AND PASSWORD INTO THE WEB FORM
5.  Hit Next Button, Hit Next Button again
6.  If Image doesn't show up, go to Advanced Settings and make sure your PORT is appended to your IP Address like this:
10.0.0.1:8000

I did this and finally got the image of my webcam (thank you) but how do you get the functions of moving the camera and motion detection?  I am very new at this so any help would be great.
Title: Re: Foscam IP Camera Plugin
Post by: goldriver on October 11, 2014, 09:36:42 pm
Does Anyone have been able to get the FI9828W to work with UI5 ?

I tried creating a generic device and only been able to have a fix image, I have no acces to either the pan tilt or motion detection, here are my config:

in setting:
URL: http://X.X.X.X:XXXX/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=XXX&pwd=XXX
IP address: X.X.X.X:XXXX
I've entered the mac address
usr:empty
pwd: empty

in Advanced:
URL: http://X.X.X.X:XXXX/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=XXX&pwd=XXX
IP address: X.X.X.X:XXXX
device_file: D_DigitalSecurityCamera1.xml
DirectStreamingURL: /img/video.mjpeg
Title: Re: Foscam IP Camera Plugin
Post by: goldriver on October 12, 2014, 06:37:49 am
I now have the pan/tilt working, I set the impl_file to I_Foscam98HD.xml but i'm still missing the zoom functionnality and the motion detection which seems not to have been implemented yet in the plugin.
Title: Re: Foscam IP Camera Plugin
Post by: Pseudomizer on October 24, 2014, 05:17:46 pm
I now have the pan/tilt working, I set the impl_file to I_Foscam98HD.xml but i'm still missing the zoom functionnality and the motion detection which seems not to have been implemented yet in the plugin.

The API exists from Foscam to read/capture motion trigger if the camera supports motion detection. However, I believe that having to create a new device in Vera which is a motion sensor and linking this to the camera is the tricky part. I would love to see that happening as well especially as this is a feature of the camera already and there is no need to buy an extra motion sensor hardware device.
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on October 26, 2014, 05:19:54 pm
I'm sorry to probably ask the same question as anyone else. But I would like to know which cam and all its functions is supported best by the plug-in. I need to know which camera supports pan and tilt, motion detection, microphone and or speaker, preferably HD, and night vision.
I am buying one this month for monitoring the baby but just need to know which will have all functions supported.

Maybe a support matrix in the OP is a good idea?

Thanks a lot
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on October 26, 2014, 05:24:37 pm
I'm sorry to probably ask the same question as anyone else did. But I need to know which camera is being best supported by the plug-in. I am buying one cam this month to monitor the baby. So I need to know which camera supports pan and tilt, motion detection, microphone and or speaker, preferably HD, and zoom. Is there a supported cam with all these functions?

Maybe a support matrix in the OP would be a good idea?!

Thanks!
Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on November 02, 2014, 12:28:12 pm
My Foscam keeps removing the port in its settings and thus making an invalid irk and not capturing pictures. I can add it back in but after time it deletes it for some reason and I have to keep doing the process. Any help would be appreciated .


Sent from my iPhone using Tapatalk
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on November 02, 2014, 12:33:34 pm
You will need to remove the Mac address from the Mac field if you are using any port other than 80.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on November 02, 2014, 12:34:50 pm
Thanks. So what is the reason? If I have the port and MAC address it works so why does the Mac need to be removed?


Sent from my iPhone using Tapatalk
Title: Re: Foscam IP Camera Plugin
Post by: garrettwp on November 03, 2014, 12:42:02 am
Because if you have the Mac field entered, Vera will try and make it easy for you to keep the ip address updated if the device changes ip. But this well over write the port number or anything else other than the ip address.

- Garrett

Title: Re: Foscam IP Camera Plugin
Post by: Bboy486 on November 04, 2014, 09:06:22 am
+1


Sent from my iPhone using Tapatalk
Title: Re: Foscam IP Camera Plugin
Post by: airedale on December 15, 2014, 10:26:19 pm
Has anyone gotten this working with VeraEdge?
Title: Re: Foscam IP Camera Plugin
Post by: dominique on December 16, 2014, 02:51:16 am
 :) FI8918W & FI8910W work well , Veraedge and UI7 FW 1.7.850

Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on December 17, 2014, 02:03:38 pm
Can you give us a hint how to get the foscam cameras working on the veraedge?  It is difficult to find any clear information on how to install them.  The foscam plugin just gives me an error that it cannot be installed.
Thanks
John
Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on December 17, 2014, 05:22:50 pm
Finally got the Foscam plugin to install without an error.  It took 4 to 5 tries.  My camera now shows an image:)

Thanks
John
Title: Re: Foscam IP Camera Plugin
Post by: airedale on December 17, 2014, 06:19:01 pm
Finally got the Foscam plugin to install without an error.  It took 4 to 5 tries.  My camera now shows an image:)

Thanks
John

You care to explain how you got it going? :)
Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on December 18, 2014, 08:16:19 am
My problem was that I was getting an install error with the foscam plugin.  I assume there was a corrupt file as I could not event manually setup the device.  Over the day, I uninstalled and reinstalled the foscam plugin multiple times.  Finally it installed successfully, but I do not know why.  As previously mention in the post, creating a device with the foscam plugin say a camera device was created successfully, but no device was created.  Therefore, I followed the instruction in post 403
Install Foscam App under Apps
2.  Add camera, select "Other IP Camera"
3.  Paste this URL into "Paste this URL...."
http://CameraIPAddress:PORT/snapshot.cgi?user=USERNAME&pwd=PASSWORD
*replace user name and password with your user name and your password
4.  DO NOT ENTER THE USER NAME AND PASSWORD INTO THE WEB FORM
5.  Hit Next Button, Hit Next Button again
6.  If Image doesn't show up, go to Advanced Settings and make sure your PORT is appended to your IP Address like this:
10.0.0.1:8000
The camera image now works.  I still have to figure out how to get the pan/present, and motion detection to work, but at least I have an image.  I hope this helps you.
John
Title: Re: Foscam IP Camera Plugin
Post by: ElGringoCurioso on December 18, 2014, 01:43:23 pm
so that means you're using a zillion snapshots instead of the live video feed - High overhead on a tiny box. Prety minimal integration, hard to scale up.
Title: Re: Foscam IP Camera Plugin
Post by: mvader on December 18, 2014, 01:53:08 pm
anybody using the cam as a motion sensor? I have it working in the basement. and when you walk around the corner, it turns on the light as expected. the problem is turning the light off after some time. the camera see the light going off as motion and turns it right back on.
I've tried to lower the sensitivity on the camera, but taking it down even by 1 or 2 makes it not detect well.
any thoughts on how to make that setup work a little better?
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on December 18, 2014, 02:14:21 pm
What firmware are you using and what camera?
Title: Re: Foscam IP Camera Plugin
Post by: mvader on December 18, 2014, 10:46:02 pm
What firmware are you using and what camera?

 Device Firmware Version     11.37.2.48
  Device Embeded Web UI Version     2.0.10.2

8910w
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on December 19, 2014, 02:56:53 am
I have firmware 11.37.2.56 and cannot get the motion sensor to work :-(
Title: Re: Foscam IP Camera Plugin
Post by: desperado on January 09, 2015, 11:29:47 am
Does anyone have this plug-in working on veralite UI7 with pan,tilt and motion ?
I followed the steps on my veralite, thanks jmmorgan for your instructions I was lost when it asked for login and password I never would have thought of just canceling and continuing.

But the camera looks no different then it did before I added the plugin.  It just has a play and a record button.  No controls for pan or tilt and no settings to enable the motion sense.

I am using a Foscam FI8910W.

Am I supposed to install a different way ?
I used jmmorgan's steps
Install Foscam App under Apps
2.  Add camera, select "Other IP Camera"
3.  Paste this URL into "Paste this URL...."
http://CameraIPAddress:PORT/snapshot.cgi?user=USERNAME&pwd=PASSWORD
*replace user name and password with your user name and your password
4.  DO NOT ENTER THE USER NAME AND PASSWORD INTO THE WEB FORM
5.  Hit Next Button, Hit Next Button again
Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on January 09, 2015, 11:46:57 am
Here is my updated instruction, which seems to work better.  I hope you can understand it.
Select the camera tab and add new camera.  Go to the Manual option and complete.  The camera type should be VistaCam SD/PT.  Then it asks you to log in, just cancel and click next.  You will not see an image at this time.  Go to device tab and select the camera to edit and go to the advance tab.  Go to the setting advance.  In the URL/DirectSteaming URL/VideoURLs/  add the user password commentd  (i.e. /snapshot.cgi?user=XXXX&pwd=XXXX.  Reload, and go back.  You need to enter the port number and save. You should see an image (may not ? exit and wait).  Change the impl_file to I_FoscamPTZ.xml.  Reload and go back and save.  To set up the motion device set the state variable to 0. Reload and go back and save. 
Note:
If the motion stops working, check to see if the Vera IP address is correct as it can change.
Title: Re: Foscam IP Camera Plugin
Post by: desperado on January 11, 2015, 05:43:49 pm
Thanks jmmorgan...I tried your steps.
I didn't have to modify the URL since I provided the URL with login and password.

The Camera works fine but there are no controls to pan/tilt.

I Modified my settings as you suggested changing impl_file to I_FoscamPTZ.xml

I reloaded and saved but here are no changes that I can see.

I still just have a camera with three options.  Record Video, Take Snapshot, Go Fullscreen.

I also don't understand where the "Take Snapshot" images go.  I tried it said it took a snapshot.  My Dashboard also has an alert that an image was sent.  But where did it go ?

Vera documentation says there should be a way through the UI to access archived images.  Honestly knowing where they are stored on the device would be good enough for me.

I now have the following questions
1) Should I see controls for pan/tilt ?
2) For motion detect you said "Set  state variable" to 0   What is the "state variable" ? The variables I have are "URL","Commands","Timeout","ModeSetting","Armed","LastUpdate"
3) If I record images or video.  How do I access the recorded data ?
4) What does the "Create Device" button do in the Foscam App page ?  When I click it I get a message "Device created" but nothing seems different.


Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on January 12, 2015, 07:20:26 am

 What does the "Create Device" button do in the Foscam App page ?  When I click it I get a message "Device created" but nothing seems different.  - This does nothing.  It doesn't seem to work in UI7.

 If I record images or video.  How do I access the recorded data ?  Click on the camera tab on the left and then double click to expend your camera view.  You should see "Recorded" at the top, center of the image.  Click on that to see any recordings.

I do not think the impl_file "I_FoscamPTZ.xml"  loaded.  Check your spelling as it is case sensitive.  Or the file could be missing.  Check the Apps development tab, luup files to see if it is there.  You should see faint arrows on the border of the image if it works

If that doesn't work, I do not know what else to say.  I am so frustrated with VeraEdge (UI7) that I am returning the unit.
Title: Re: Foscam IP Camera Plugin
Post by: desperado on January 12, 2015, 11:41:52 am
jmmorgan thanks for helping even though you have given up on UI7 and are returning the uniit.
I have placed my order for a SmartThiings hub as well so we'll see if I return mine.

I found the recorded images were you suggested, that's helpful.  Do you know where they are stored on the device ?  I tried issuing a find command for all files find / -type f -print > allFiles.txt
and then doing it again after taking some snapshots into allFiles2.txt
Then diffing the two and can't seem to find any image files in the diff.

I checked my spelling (I had cut/pasted from your post) and it is correct.  I also checked that the file exists and it does.  Finally I cut the name from the dev tap and pasted again and it didn't even send since the text was exactly the same.  Looks like another UI7 issue for me.....

I am at a lost on how to fix this at this point also.  Can you send me a screen shot of what the camera settings look like for you and what the controls should look like if you don't mind (and haven't returned the unit yet).   Just so I know what I am looking for.   Maybe I can hack around as root and figure something out.
Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on January 12, 2015, 11:45:11 am
Sorry, I already sent the unit back.  It could not leave the house fast enough.
Title: Re: Foscam IP Camera Plugin
Post by: desperado on January 12, 2015, 02:36:03 pm
I found one of my issues I was using your original instructions "Other IP camera"

I deleted and re-added as "VistaCam SD/PT" which I missed in your second set of instructions.

Now I have no image so I checked and see that your instructions to add the user and password are needed now. 

However my changes are not sticking.  I am adding ?user=my_user&pwd=my_pw to each url but it is only saving for URL.   

For DirectStreamingURL it keeps reverting to just /videostream.cgi

Not sure how to change Video URLS it currently has
http,1,mjpeg,,m,640,480,w:videostream.cgi:
I tried

http,1,mjpeg,,m,640,480,w:videostream.cgi?user=my_user&pwd=my_pw:
But again it keeps reverting to the original setting.


Out of curiosity what was the Final Straw that made you return the unit ?
I am struggling but have most of what I really care about working.  The Camera is my most frustrating issue.

I find one strange aspect of this thing is you sometimes have to change settings and wait 5-10 min for them to STICK.   That makes debugging issues impossible.
Title: Re: Foscam IP Camera Plugin
Post by: jmmorgan on January 12, 2015, 02:53:40 pm
Did you hit the reload button at the bottom of the advance tab and then go back and save?  If that doesn't work, I do not know what to tell you.  Did you upgrade the camera firmware to the latest version?  I sent my unit back because it not longer supports USB to serial interface.  They said they are going to fix it, but they did not with the last update and my return period was running out.  In addition, camera always seems to have issues and they respond so slow that unless the person is standing in front of the camera for 5 minutes, you will never catch a picture of them.
Title: Re: Foscam IP Camera Plugin
Post by: desperado on January 12, 2015, 03:16:02 pm
Did you hit the reload button at the bottom of the advance tab and then go back and save?  If that doesn't work, I do not know what to tell you.  Did you upgrade the camera firmware to the latest version?  I sent my unit back because it not longer supports USB to serial interface.  They said they are going to fix it, but they did not with the last update and my return period was running out.  In addition, camera always seems to have issues and they respond so slow that unless the person is standing in front of the camera for 5 minutes, you will never catch a picture of them.

I see, have you decided what hub you will convert to ?  I have a SmartThings on order when it arrives I plan to try all my devices on it.  If they all work the veralite may go back.  Or I may eat the $99 and keep it to hack around and see which device wins in the long run.

The slow camera issue makes it almost not work setting up.  I don't need the camera for anything other than to capture image of intruders.  I can access the full features of the camera from my phone for viewing my Dogs etc.
Title: Re: Foscam IP Camera Plugin
Post by: desperado on January 12, 2015, 04:10:50 pm
BTW:  If you go with SmartThings let me know your forum id so we can share ideas on that side :)  I think my id is "Ron"

 I figured out my issue, I needed to use the internal IP address and not the foscam url dns lookup.  The foscam dns works for Generic IP cam but not for Vista cam.

I now have control icons (arrows at the four edges of the image.  But they don't work.  The camera doesn't move.

When I select record image it takes an image.   When I select record video it displays a message the recording is started....But there is no way to stop the recording.  I guess it just records a fixed amount but it seems like 1 second worth when I play it.  Not any better then an image.

My veralite ip's for camera and veralite shouldn't change.  I use router config to fix ip's for almost all of my devices.

So now my issues are
1) Motion controls present but don't work.
2) Record Video records 1 or 2 seconds...seems useless.
3) Image snapshot seems to be failing now.   Confirmed URL for snapshot is correct.
4) Camera keeps reporting "Device NOT responding" even thought it is working for live image. 

I officially give up :(
Title: Re: Foscam IP Camera Plugin
Post by: jbpete12 on February 07, 2015, 11:52:27 pm
Guys, I used jmmorgan's instructions in post #428 and the information at the following link:http://www.ispyconnect.com/man.aspx?n=Foscam to get things working with my Vera Edge UI7 and a Foscam FI8918W. The Pan and tilt work, although everything is reversed (Up=Down, Right=Left, etc.), but I've had the same issues with Android apps and this camera. I haven't tried capturing video or pictures yet, but I would probably use a different dedicated system (Home surveillance DVR) to capture security footage anyway as I don't feel the Vera systems were designed for this purpose (video feeds require too much horsepower). I'm just getting started in home automation but so far it's been fun. Everyone in the forums seem to want to help each other out which is encouraging. Here's the information on my camera, I hope this helps.
Foscam FI8918W
FW: 11.37.2.56
Web UI:  2.4.10.10
Title: Re: Foscam IP Camera Plugin
Post by: rvrolyk on March 13, 2015, 01:30:06 am
Has anyone managed to get a 9821 V2 to work on the latest UI7 release?  I've been trying to get one I just received (first camera on the vera) working to no avail.  It worked once last night but without pan/tilt and the minute I deleted it to re-add things went south and it hasn't worked since.  I've tried restoring the system to the state it was in before and repeating the install but that hasn't worked.  Here's how I installed it -
1) install camera as "other camera"
2) Use URL http://IP:PORT/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASSWORD
3) install Foscam HD app
4) update advanced settings of camera and set impl_file to I_FoscamHD.xml
5) under apps > develop apps > serial port configuration click reload luup

all I seem to get is an image with the pan/tilt overlays but instead of the camera view I get a "not connected" error.  I looked through the log files on the vera and didn't see anything obviously wrong other than the same not connected message.

I have tried the other Foscam plugin/app as well as setting it up as a VistaCam but nothing has worked so far.  Pasting the URL into my browser does emit an image so it doesn't appear to be something wrong with that or the camera as far as I can tell.

Any advice?
Title: Re: Foscam IP Camera Plugin
Post by: rvrolyk on March 13, 2015, 12:21:37 pm
on a whim, I decided I'd try factory resetting the foscam this morning and for some reason that actually worked... now I wish I'd tried that first  :-\
Title: Re: Foscam IP Camera Plugin
Post by: gerardosamara on March 21, 2015, 09:40:36 am
I have installed the Foscam plugin V2.6 in UI7 and then add a camera "Bluestork" which is a Mjpeg Foscam clone camera , then added the impl file I_FoscamPTZ.xml and reboot.

I can only take photo but not video.

In the "Variables" tab of the device , only these commands are displayed :  camera_full_screen,camera_archive_snapshot

I guess this is the issue . Any advice ?

Title: Re: Foscam IP Camera Plugin
Post by: jpope42 on March 28, 2015, 08:26:30 pm
Wow, I've read thru this thread and spent most of the day trying to get my Foscam 9803EP to connect with no luck (i'd be happy with just motion detection functionality). I'm not the most tech savvy guy here, but it seems this is an incredibly complex and frustrating task for most of those posting here. This should be a simple. I'm giving up for the moment and hoping someone with a better understanding of the technology can figure it out and share. Meanwhile, all I really need is notifications so I'll use a spare motion detector for alerts and go back to my Surveillance System software for the video.
Title: Re: Foscam IP Camera Plugin
Post by: agoodman82 on May 19, 2015, 12:50:07 am
Maybe someone here can I help me out.

I decided to bite the bullet and upgrade to UI7. I have two Foscam FI8910W cameras which still work fine after the upgrade, but the motion sensors seem to have stopped working on the cams. On the web interface for the cameras the motion detection is enabled and the Vera UI shows the two motion sensor devices as child devices to the parent fiscal devices. Under the camera device > settings > advanced settings > variables the "State" is listed as "2". I try switching that to "1" but that doesn't seem to have any effect.

I'm still getting used to the new UI and navigating around. Am I missing something simple to get the motion sensors active again??
Title: Re: Foscam IP Camera Plugin
Post by: jeep on August 02, 2015, 12:31:43 pm
For folks having issues with UI7 and Foscam here were my steps:
1. Select VistaCam PT from the Add Camera menu
2. Next on all wizard steps, select Manually Configure Camera
3. Add IP Address ONLY in IP address Field
4. Put in Username and Password in the respective fields
5. You should see the picture from the camera at this time.
6. Go to Advanced Settings, change impl_file to "I_FoscamPTZ.xml", Go back and Save
7. At this time you should be able to Pan and Tilt using the arrows on the live feed from the camera
8. If your device controls are opposite to the arrows, go back to Advanced Settings/Variables tab (top of the page)
9. Enter 1 on Reverse Pan field (hit tab to move to next field, important to send command), do same for Reverse Tilt field
10. Go back and Save
11. If the Pan/Tilt stop working, go back and repeat step 8-10, cycling between 0 then 1
Title: Re: Foscam IP Camera Plugin
Post by: wantedfoot on September 05, 2015, 01:26:21 am
For folks having issues with UI7 and Foscam here were my steps:
1. Select VistaCam PT from the Add Camera menu
2. Next on all wizard steps, select Manually Configure Camera
3. Add IP Address ONLY in IP address Field
4. Put in Username and Password in the respective fields
5. You should see the picture from the camera at this time.
6. Go to Advanced Settings, change impl_file to "I_FoscamPTZ.xml", Go back and Save
7. At this time you should be able to Pan and Tilt using the arrows on the live feed from the camera
8. If your device controls are opposite to the arrows, go back to Advanced Settings/Variables tab (top of the page)
9. Enter 1 on Reverse Pan field (hit tab to move to next field, important to send command), do same for Reverse Tilt field
10. Go back and Save
11. If the Pan/Tilt stop working, go back and repeat step 8-10, cycling between 0 then 1

I've tried a million different methods to get my FI8918w into the Vera... Your method actually worked!! Thanks a million Jeep!  ;D
Title: Re: Foscam IP Camera Plugin
Post by: albert82 on March 02, 2016, 04:06:49 pm
Hi thanks a lot, it works!!
i tried to record and take a picture, vera saved them in the recorded tab, but where did it store them? in the internal memory?
can i save them in a extranel usb or nas
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on August 08, 2016, 05:10:08 am
For folks having issues with UI7 and Foscam here were my steps:
1. Select VistaCam PT from the Add Camera menu
2. Next on all wizard steps, select Manually Configure Camera
3. Add IP Address ONLY in IP address Field
4. Put in Username and Password in the respective fields
5. You should see the picture from the camera at this time.
6. Go to Advanced Settings, change impl_file to "I_FoscamPTZ.xml", Go back and Save
7. At this time you should be able to Pan and Tilt using the arrows on the live feed from the camera
8. If your device controls are opposite to the arrows, go back to Advanced Settings/Variables tab (top of the page)
9. Enter 1 on Reverse Pan field (hit tab to move to next field, important to send command), do same for Reverse Tilt field
10. Go back and Save
11. If the Pan/Tilt stop working, go back and repeat step 8-10, cycling between 0 then 1

the wizard won't let me add an ip address manually. i have to pick one from the list, but the camera is not on the list. guess the cabled setup is really necessary.
Title: Re: Foscam IP Camera Plugin
Post by: Pseudomizer on August 08, 2016, 07:46:25 am
The wizard is not the only way if you know what you are doing. You can add a device under developer options luup files.
Title: Re: Foscam IP Camera Plugin
Post by: fabstar81 on August 08, 2016, 08:37:35 am
i'll try that in a few days.

the thing is that i need to buy a new IP camera. my FI8918 doesnt add too well, and the motion sensor has never worked at all.

now i am on the verge of buying a new one, which one is most likely to completely work. i mean, which camera is best in combination with vera? i now have not added my current FI8918 but really like to add the new one with all functionality.

i'd like to buy this camera this week, so please advice someone. i know on this vera site (http://wiki.micasaverde.com/index.php/IP_Cameras) there is a support matrix, but i prefer to hear from the people that actually use it.
Title: Re: Foscam IP Camera Plugin
Post by: kentay on September 23, 2016, 11:05:53 pm
With the new Vera UI7 interface 1.7.2138 it has been impossible to add the Foscam FI9812 cameras in the way that has been described both in this forum thread or in other forums. While in the older UI7 it gives you an option to manually add a camera from the start, the new interface requires that you wait 6 minutes searching for the camera, then when it finally gives you the option to manually add, that doesnt work either. After entering all the required values it tries to search for the camera and then reports that "Camera Not Detected" and then gives you no option to proceed so you can manually create the entries needed to configure the camera.

I also tried to install plugins for Vista, unistall Vista then install Foscam but that didn't work either. So this brings me to this post.

I have had to piece together various parts in this forum thread and also information from other forum threads to manually create the device instead. Credit to all the contributors in this and other forums. In the guide below the steps enables me to add the camera with Pan and Tilt capabilities, but I have been unable to figure out the motion sensor. I would greatly appreciate if someone could point me in the right direction to get motion sensor working also.

This is for Vera UI7 version 1.7.2138

Cameras - Foscam FI9821W V2 & FI9821P
System Firmware Version 1.4.1.10
Application Firmware Version 2.11.1.119_p1

1. Upload the foscam device file, json and implementation. I did not create this and credit goes to the original authors.I found the latest implementation from this forum so just do browse thru this forum thread and you should find the files you need.

The files you want to upload are D_DigitalSecurityCamera2.json, D_DigitalSecurityCamera2.xml, I_Foscam98HD.xml

Go to Apps -> Develop apps -> Luup files

Drag the files to the Luup file "Upload" box, and then click "done" on each of the files. You only need to do this once.

2. Add the Camera as a device
Go to Apps -> Develop apps -> Create device

In the Create device page enter the following

Device type:  urn:schemas-upnp-org:device:DigitalSecurityCamera:1
Internal ID:  (Blank)
Descrition:  <device name>
Upnp Device Filename:  D_DigitalSecurityCamera2.xml
Upnp Implementation Filename:  I_Foscam98HD.xml
IP Address: <Device IP:Port for example 192.168.1.100:88>
MAC:  (Blank)
Room:  <Pick from drop down the room you want to associate with this device>
Parent Device:  (Blank)

Click on "Create device". Once you do this you will see a window popup with "Success, Device Created". Click "Ok"

Go to Devices and you should find the camera that you created. However sometimes it may not show. You will have to reboot Vera. To do that do the following.

Settings -> Net & Wi-fi -> Reboot. You will see. "PLease Wait, Unit is now rebooting. This should take about 5 minutes." Just reload the Vera browser page and you should see the camera in Devices.


3. Now goto Cameras and find the Camera you added. Click on it and it should bring you to the Camera View.
You should not see anything yet at this point. On the top you will find Settings. Do the following

Settings -> Advanced

In here under Credentials enter the Username and Password needed to access the camera.

Username: <username>
Password: <password>

Once that is done click on Done at the bottom. It will accept the configuration and kick you back to the Camera View page. Now go to Extra Parameters configuration

Settings -> Advanced-> Extra Parameters

You will now see all the parameters you entered earlier. Don't change anything here. On the top click on the Variables tab. In here enter the following. Check the "switch to input type text" before entering the new value.

URL:/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>

Once you enter new values click outside the text entry box for each entry and you should see "Change Property Command Sent"

Click "Back", then click "Done". This will take you back Camera View. The camera view should now load. If it doesn't load at this point go back into Extra Parameters - Variables and reenter the URL. Sometimes the URL entry doesn't get accepted the first time. Always make sure you click outside the text box after a new entry.

This has so far been the most reliable way for me to add the Foscam HD cameras. Having the motion sensor work will be great to complete this.

To perform video recording you need to enable MJPEG on the Foscam cameras. To do this open a browser and type in the following URL

http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=<username>&pwd=<password>


When inputting this URL and pushing "Enter" in your browser, it will return the following result:

<CGI_Result>
<result>0</result>
</CGI_Result>

Once that is done, in Vera GUI under the Camera, select the camera you want to configure.

Settings -> Advanced-> Extra Parameters -> Variables enter the following

Check the "switch to input type text" before entering the new value.

DirectStreamingURL : http://<ipaddress>:<port>/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=<username>&pwd=<password>

eg. http://192.168.1.1:80/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=anypassword

Remember to click on the outside of the box and you should see "Change Property Command Sent"

Click the "Back" button and now go to "Live" tab and click on the record button. This should then record a short video and store it in the "Recorded" tab. If the first time the record doesn't work click on it again and it should work thereafter.
Title: Re: Foscam IP Camera Plugin
Post by: Albert1 on October 20, 2016, 12:01:00 pm
Thank you! It worked for me. However I created the cameras with this link:

http://Vera_Local_IP/port_3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreateDevice&deviceType=urn:schemas-upnp-org:device:DigitalSecurityCamera:2&UpnpDevFilename=D_DigitalSecurityCamera2.xml&Description=test&RoomNum=0&IpAddress=camera_ip&StateVariables=urn:micasaverde-com:serviceId:Camera1,URL=/image/jpeg.cgi%0Aurn%3Amicasaverde-com%3AserviceId%3AHaDevice1%2CCommands%3Dcamera_full_screen%2Ccamera_archive_snapshot&Username=user&Password=pass&Reload=1

Title: Re: Foscam IP Camera Plugin
Post by: jsauser11 on November 24, 2016, 12:55:31 pm
I was able to add my Foscam FI9821P V2 using the procedure noted above in Reply #448 (Thanks Kentay). The camera now appears under devices in my VeraPlus UI7. PTZ is working, as is snapshot, but video capture is not working. Has anybody been successful in capturing live video with the "record" button on the camera interface?
Title: Re: Foscam IP Camera Plugin
Post by: Hapcamper on December 28, 2016, 10:43:09 am
Thank you.  Works just as advertised.  Very well written instructions.
Title: Re: Foscam IP Camera Plugin
Post by: col8eral on July 26, 2017, 10:45:27 am
will this plugin work for the Foscom 720p and 1080p PoE NVR cameras?
Title: Re: Foscam IP Camera Plugin
Post by: Crismaison on December 28, 2017, 07:07:28 am
Does this plugin also work in UI7? I am trying to create a motion sensor, but it does not seem to work