Page 1
Page 1
Started By
Message

Got IP Foscam setup..remoted..on Phone..and on Wear Watch! UPDATED GUIDE

Posted on 10/24/14 at 3:01 pm
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/24/14 at 3:01 pm
Will post the full details shortly.

It was a PITA so I'm hoping this will help someone else.

Once I had it all set up, it makes perfect sense and is not hard at all..but I'll be damned if I could find a simple guide anywhere. Too fragmented.

PS THE CGI api is a thing of beauty! I will post the full CGI pdf link (also hidden) along with some of the CGI calls you can make directly from a browser that I've found are the most useful.

I <3 tech.
This post was edited on 10/28/14 at 12:14 pm
Posted by STBTigerr
Mandeville/New Orleans
Member since Jan 2007
5345 posts
Posted on 10/24/14 at 3:16 pm to
Yeah I was inpatient and didn't wait for your review. I got mine and set it up this week. Was going to come here and post the same about it being tedious to set up, but now that I know what I'm doing, adding more should be pretty easy. I'm using TinyCam Monitor Pro on my phone, you?
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/24/14 at 7:38 pm to
I'm using "wear IP cam" on my watch and the standard foscam android app on my phone right now. I like that app because it gives me full access to all the camera doodads like panning and turning ir on and off.

I still have some reading to do on the email notifications and if u want it to record the feed, snapshots based off noise or movement etc.

My first goal was to get the remote feed secured and working across the web, phone and watch.
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/28/14 at 12:13 pm to
First off, here's the link to the PDF for the full CGI and SDK. The cool thing with this is once you have the camera on the web, you can use the CGI commands here to do virtually anything just by typing these in as HTML URLs. Fun stuff.

Foscam CGI code for ALL IP CAMS


Foscam FI9821W V2 Cam on my LG G

The image above is a JPEG snapshot, but one that refreshes whenever I launch the webcam app on my watch.


Step 1 Purchase Foscam and setup on your local WiFi (not going into all the instructions, but basically its little more than giving your camera its on own IP address internally so you can see it on your local network.

Step 2 Launch the local URL, go to the your "settings" tab using IE, Firefox or Chrome and under "network" select the "port" option. Note the HTTP port, the only one you're interested in. Change it to something you like such as 8090 or 8095 or whatever and hit "save".

Step 3 Go to "basic settings", then "user accounts" and go ahead & create a "visitor" level user. You don't need or want your default admin account being the one you plug into the URL you'll ultimately put into your watch.

Step 4 Now that you have your visitor/user account, you just need to set up your virtual server/port forwarding for the IP address of your camera. Depending on the router, these settings are typically under "WAN" or "Virtual Servers" or "Port Forwarding". Its a very common feature that every router will have.

Step 5 After you've located your Virtual Server page, simply add a new "virtual server" and key in your IP cam's *LOCAL* web address. This is the same one you see at the top of your browser window in Step 3 above. Typically something like 192.168.2.210 or something. Add this IP address to the table along with the port you setup in Step 2 (8095 or whatever) and select "TCP" as the type.

Step 6 You're almost done. Now you're ready to test the access to your camera on the web outside of your local WiFi. Make sure you have the NAME and PASSWORD handy for the visitor account you created.

You can do this one of 2 ways:

>> If using IP address (I don't recommend) do a 'whatismyip.com' lookup and get your 'outside facing' IP address.

>> If using a dynamic DNS (strongly recommended..i won't go into how to do this, but you should do this anyway when you set up your router) use that.

Here's an example of each type you'd want to type into your browser window VERY CAREFULLY

blah.freedomain.com = your DDNS or IP address
8095 = whatever port you are forwarding
blah = your visitor username
blah2 = your visitor password

*** https://blah.freedomain.com:8095/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=blah&pwd=blah2 ***

or

*** https://68.43.55.698:8095/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=blah&pwd=blah2 ***

Step 7 If you can see your webcam image in your browser window you're done! All you need to do now is to open Wear IP Cam on your phone and paste that in.

Step 8 Hit refresh on your watch and you will be able to see the updated web image on your watch each time!


Caveats
This works for the 19821W V2 and the CGI scripting language is slightly different for different foscam models running older firmware.

Let me know if you have any questions!
This post was edited on 10/28/14 at 12:24 pm
Posted by benstudley
Raleigh, NC
Member since Jan 2004
105 posts
Posted on 10/28/14 at 1:59 pm to
quote:

*** LINK ***

or

*** LINK ***


Do you have any concerns with sending your password in clear over the network your connected to?
This post was edited on 10/28/14 at 2:03 pm
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/28/14 at 2:29 pm to
quote:

Do you have any concerns with sending your password in clear over the network your connected to?


1. You create a 'visitor' account in the IP camera configuration tool that has limited access; not your ADMIN account. See my instructions above.

2. those CGI scripts are designed to be used by you..to control your camera..and possibly plugged into a tool on your phone, etc. not to be shared.

in the case of those 2 above, i'm demonstrating how you can plug them into your IP webcam app on your phone. Nobody actually sees the CGI itself because you've set it up inside the app itself.

Make sense?
This post was edited on 10/28/14 at 2:31 pm
Posted by idlewatcher
County Jail
Member since Jan 2012
78912 posts
Posted on 10/28/14 at 3:52 pm to
Nice write up CAD

Maybe I'm paranoid, but mine are all hard wired (QSee, not Foscam)
Posted by Cypdog
Member since Jan 2014
832 posts
Posted on 10/28/14 at 9:40 pm to
Thanks for the write up. It was a fairly frustrating process for me and I still have not gotten any of the apps to work (IOS). We can only look at it through the computer I set up. Is there a stupid reason I could be over looking? I fixed the IP and the ports per the manual. I have not tried what you have above. I am in over my head already.
Posted by STBTigerr
Mandeville/New Orleans
Member since Jan 2007
5345 posts
Posted on 10/28/14 at 10:02 pm to
quote:

I fixed the IP and the ports per the manual. I have not tried what you have above. I am in over my head already.


Did you go into your router settings and enable the designated port in port forwarding options?
This post was edited on 10/28/14 at 10:03 pm
Posted by Cypdog
Member since Jan 2014
832 posts
Posted on 10/28/14 at 10:17 pm to
Not sure. I will check. I set it up about a month ago. Thanks!
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/29/14 at 6:43 am to
It's likely a port issue. Tell me what kind of router you have and which foscam and I can walk you through it.

Agreed. The documentation is a train wreck for this product. They took something that should be fairly easy to set up and made it beyond confusing.
This post was edited on 10/29/14 at 6:44 am
Posted by benstudley
Raleigh, NC
Member since Jan 2004
105 posts
Posted on 10/29/14 at 7:37 am to
quote:

1. You create a 'visitor' account in the IP camera configuration tool that has limited access; not your ADMIN account. See my instructions above.

2. those CGI scripts are designed to be used by you..to control your camera..and possibly plugged into a tool on your phone, etc. not to be shared.

in the case of those 2 above, i'm demonstrating how you can plug them into your IP webcam app on your phone. Nobody actually sees the CGI itself because you've set it up inside the app itself.

Make sense?


I realize it's a visitor account... but when you set it up in the app, when the app connects, it sends that traffic over the network and in the clear. If someone happened to be sniffing on the same network you're on, they would see the URL you used including the username and password... I mean, it's not likely, but it's not impossible.
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/29/14 at 9:31 am to
quote:

I mean, it's not likely, but it's not impossible.


makes sense. i'm going to fool around with the HTTPS option. maybe thats the way i'll ultimately set it up.

no sense in being overly cautious now..while i'm still playing with it..and make sure it set up with some reasonable security.
Posted by benstudley
Raleigh, NC
Member since Jan 2004
105 posts
Posted on 10/29/14 at 12:44 pm to
quote:

makes sense. i'm going to fool around with the HTTPS option. maybe thats the way i'll ultimately set it up.


Unfortunately, even using HTTPS won't help you with the way you're using this app. The URL contains the username and password... so even if you're using HTTPS, the URL will still contain the username and password. So, the only way HTTPS helps is if you hit a logon page where those credentials would then be passed via SSL.

What I did was actually follow this guide here (very poorly written) and setup a proxy on a spare linux box on my home network. In a nutshell, I'm hosting a webpage (on a server on my LAN) that passes the credentials on my local network to dispaly snapshots on that page. The main page is secured with a username/password and uses SSL. There is no audio, but you can get video feeds. Not sure if this helps you for what you're trying to do with your watch... but in my research, it's the only real "secure" way of remotely accessing your cameras using the snapshot URLs.
This post was edited on 10/29/14 at 12:45 pm
Posted by CAD703X
Liberty Island
Member since Jul 2008
77946 posts
Posted on 10/29/14 at 2:53 pm to


i'll try that out.

yeah i'm underwhelmed with the foscam forums and support. seems like they have a potentially nice product here but the supporting documentation is atrocious.
Posted by STBTigerr
Mandeville/New Orleans
Member since Jan 2007
5345 posts
Posted on 10/29/14 at 3:24 pm to
FYI, the camera is now on Amazon for $74.99.

LINK
Posted by diat150
Louisiana
Member since Jun 2005
43468 posts
Posted on 10/29/14 at 3:50 pm to
just get the blue iris software dvr and buy the mobile app. the mobile app is very nice.
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram