Foscam IP Camera Plugin

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

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.

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?

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

I have firmware 11.37.2.56 and cannot get the motion sensor to work :frowning:

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

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.

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.

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.

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.

Sorry, I already sent the unit back. It could not leave the house fast enough.

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.

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.

BTW: If you go with SmartThings let me know your forum id so we can share ideas on that side :slight_smile: 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 :frowning:

Guys, I used jmmorgan’s instructions in post #428 and the information at the following link:Connect to Foscam cameras 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

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?

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 :-\

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 ?