Author Topic: Foscam w/ pan and tilt on Vera Lite UI7 - Functional  (Read 12642 times)

Offline cwbest78

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« on: March 04, 2015, 12:33:09 am »
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
http://forum.micasaverde.com/index.php/topic,14820.msg167496.html#msg167496
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)
http://IPADDRESS/snapshot.cgi?user=USERNAME&pwd=PASSWORD&count=0
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

22) Click out of the box to save
23) 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.

« Last Edit: March 04, 2015, 12:40:47 am by cwbest78 »

Offline gerardosamara

  • Full Member
  • ***
  • Posts: 197
  • Karma: +5/-2
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #1 on: March 04, 2015, 04:01:54 am »
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.


« Last Edit: March 04, 2015, 04:16:15 am by bottrader »
VeraLite+VeraEdge/EnOcean version US en UI7.1.17 + Vera Mobile UI7 V7.15.17.40 + Imperihome pro V2.8.3
Wall switch : Leviton VRS15 , Smart switch : Aeotec DSC24 , Motion sensor : Aeotec 4in1 DSB05 + Everspring HSP02 , Cameras Dlink 742L + Foscam 8910 + Foscam 9853EP

Offline cwbest78

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #2 on: March 04, 2015, 01:45:57 pm »
For some reason, I couldn't create a device from that plugin.  Not sure if it's the firmware I'm on.

Offline Dabici

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #3 on: March 06, 2015, 04:56:20 pm »
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.

Offline shengyaoh

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #4 on: April 14, 2015, 11:16:13 pm »
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.

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!

Offline HighME32

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #5 on: May 22, 2015, 02:00:03 am »
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.

Offline HighME32

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #6 on: May 22, 2015, 02:14:26 am »
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.,
« Last Edit: May 22, 2015, 02:40:26 am by HighME32 »

Offline mizwave

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #7 on: October 06, 2015, 11:34:21 am »
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. 

Offline FeuerMeister

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Foscam w/ pan and tilt on Vera Lite UI7 - Functional
« Reply #8 on: June 03, 2017, 12:29:56 am »
 ;) Thank You