Foscam w/ pan and tilt on Vera Lite UI7 - Functional

Hopefully this helps someone. Here is a step-by-step on what I did to get my Foscam working. Haven’t tackled motion sensing yet. I realize there are numerous threads on this, but that’s the problem, there are numerous threads on this and I had to jump back and forth and use bits and pieces to get everything working. I’m using the latest FW versions for my particular hardware at the time of this writing.

Foscam FI8918W - FW 11.37.2.59 / Web UI 2.0.10.14
Vera Lite - FW 1.7.513

  1. Download I_FoscamPTZ.xml file from here
    http://forum.micasaverde.com/index.php/topic,8832.msg68515.html#msg68515
  2. Open the I_FoscamPTZ.xml in a text editor and modify it per the following here
    [url=http://forum.micasaverde.com/index.php/topic,14820.msg167496.html#msg167496]http://forum.micasaverde.com/index.php/topic,14820.msg167496.html#msg167496[/url]
  3. Save to desktop
  4. Devices > add device > security cameras > ip camera (generic ip camera) > next > next > manually install the camera
  5. Add name
  6. Camera type > other IP camera
  7. Find your corresponding URL here based on your camera model
    http://www.ispyconnect.com/man.aspx?n=foscam
    Paste the following into the box directly below Other IP Camera (replace IPADDRESS, USERNAME, and PASSWORD)
    [url=http://IPADDRESS/snapshot.cgi?user=USERNAME&pwd=PASSWORD&count=0]http://IPADDRESS/snapshot.cgi?user=USERNAME&pwd=PASSWORD&count=0[/url]
  8. Fill in username and password > Choose a room if applicable
  9. List network devices > click on add next to the ip address of the camera
  10. Next (click cancel if prompted for credentials > proceed even if there isn?t a thumbnail)
  11. Next > Live view may be operational (even if it isn?t, proceed with the next steps)
  12. Click on cameras on the left menu
  13. May see a spinning wheel or a thumbnail (if you don?t see a spinning wheel or thumbnail, click on cameras on the left again)
  14. Click on thumbnail or spinning wheel
  15. Settings
  16. Modify following if needed: Device name, Assigned room, IP, Port, Username, and Password (port is probably the only field missing)
  17. Check off any applicable lights
  18. Save
  19. To add pan and tilt go to Apps > Develop Apps > Luup Files > Ensure Restart Luup after upload is checked > Upload > Select the file created in step 3 > Done
  20. Go back to Cameras > Click on the camera thumbnail (thumbnail may not have a picture, proceed anyways) > Settings > Advanced settings > Params tab > Where it says impl_file, paste I_FoscamPTZ.xml > Click out of the box to save
  21. Variables tab > In the Commands field, paste the following

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

  1. Click out of the box to save
  2. Go back to Cameras to see if everything is working (if not, verify that URL, impl_file, and Commands are properly filled in)

If URL, impl_file, commands, or anything for that matter, is not saving properly, re-add the value in, click out of the field, click back, change the room, save, change the room back, save. Ever since I?ve been on this FW, clicking out of the field doesn?t necessarily save.

Thanks for the info , but why have you not used the FOSCAM plugin to install the device file and Impl file ?

It is what i did successfully without updating the Impl file but only these commands are available … camera_full_screen,camera_archive_snapshot
I am not using the motion feature with my 8910 camera.

For some reason, I couldn’t create a device from that plugin. Not sure if it’s the firmware I’m on.

Hi cwbest78,

Thanks for the post! Awesome! I can now control my Fi8910W Foscam for VeraEdge. The only issues is that the controls seem to be programmed for “mirror” and “flip” options in the Foscam WebUI and the presets are not abailabe through vera. I think it might be possible to include them, but nevertheless this was the most usefull guide I’ve found yet. (Trying for about 5 hours until now)

If you have any questions please ask!

Thanks again.

[quote=“Dabici, post:4, topic:186263”]Hi cwbest78,

Thanks for the post! Awesome! I can now control my Fi8910W Foscam for VeraEdge. The only issues is that the controls seem to be programmed for “mirror” and “flip” options in the Foscam WebUI and the presets are not abailabe through vera. I think it might be possible to include them, but nevertheless this was the most usefull guide I’ve found yet. (Trying for about 5 hours until now)

If you have any questions please ask!

Thanks again.[/quote]

Hi Dabici,
i’m using Fi8910w and veraedge as well, and i gone through all the steps above posted by cwbest78(thanks alot!!!). i got all the button and display, but the buttons have no function, i can’t move my camera by clicking those buttons(up,down,left,right). what do you think the cause might be?

thank you!

Hi All,

I am not a very experienced programmer, but can figure things out with a little research and help. When you guys modified the I_FoscamPTZ files based on that other thread entry, where did you add the changes? Did you completely replace the pan and tilt script or just added the new script? Please advise.

Just in case you guys haven’t been able to get the motion sensor to work. http://forum.micasaverde.com/index.php?topic=25282.0. BTW I am using Vera Edge UI7.,

This is an awesome post. Thank you so much for the assist. I had uploaded the PTZ file but nobody mentioned that you needed to fill the “Commands” field Advanced>Variable tab with camera_full_screen,camera_archive_snapshot,camera_up,camera_down,camera_left,camera_right,camera_preset

I also had to click the checkbox “switch to input type text” just below the “Commands” field to get it to work.

Now PTZ works for me, and no modification of any XML files was required. Great post. Thanks again.

:wink: Thank You