Use a Mac as a Security Camera And Watch Live Video Remotely From an iPhone or iPad

May 3, 2012 - 32 Comments

Set up a Mac Security Cam and Watch the Live Video Feed Remotely from an iPhone or iPad

If you’ve ever wished you could check up on your house while you’re away, wish no more because we have a simple solution. We are going to configure a Mac as a home security camera that will open a live video stream on demand which can be watched remotely from anywhere via an iPhone, iPad, iPod touch, or another Mac. If this sounds potentially complicated, it’s actually not at all, and everything is achieved through a little FaceTime hackery. Read along.

Requirements for the Mac Security Cam
Here’s what you’ll need before getting started:

  • FaceTime app installed on the home Mac (comes with Lion or later, earlier Macs can get it from Mac App Store)
  • A valid Apple ID to use as a FaceTime Login – you may want to create an additional unique Apple ID for this purpose
  • An iPhone, iPad, or iPod touch, or another Mac with FaceTime

Setting Up the Camera & Accepting Remote Video Connections

This is easier to set up than you might think. We’re going to assume you already have FaceTime on the Mac installed, if not do that first. Next you’ll want to position the Mac so that the front-facing iSight (FaceTime) camera is pointing in the direction you want to watch. With that done, here’s the most technical aspect of this set up:

  1. Launch Terminal found in /Applications/Utilities/ and enter the following command to automatically accept incoming FaceTime calls:
  2. defaults write com.apple.FaceTime AutoAcceptInvites -bool YES

  3. Still in Terminal, enter the next command, changing the email address on the end with the Apple ID you wish to automatically accept a video connection from:
  4. defaults write com.apple.FaceTime AutoAcceptInvitesFrom -array-add change@me.com

If you want to add other Apple ID’s or even a phone number to automatically accept FaceTime video calls from, feel free to do so by running the above command again with additional email addresses. Phone numbers must be prefixed with a + like so: +14085551212

Opening the Live Video Feed

Now for the fun part. Grab an iPhone, iPad, iPod touch, or Mac that is setup to use FaceTime with the Apple ID you chose to autoaccept invites from, and initiate a FaceTime call with the home Mac’s Apple ID. It will automatically accept the call, giving you a live video feed of what’s going on at the location of the recipient Mac. Hang up the FaceTime call at any time to close the video feed.

Open FaceTime to Mac Security Cam

As mentioned earlier, it may be best to create a unique Apple ID specifically for the recipient Mac. That Apple ID could then be added as a contact to the iOS Address Book as “Mac Home Camera” and added to favorites for quick access.

The only downside to FaceTime is the feed requires a wi-fi connection or to use Personal Hotspot to circumvent the FaceTime wi-fi limitation. You could probably use Skype to get around that limitation as well, but that’d be another article. Enjoy!

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in iPad, iPhone, Mac OS X, Security, Tips & Tricks

32 Comments

» Comments RSS Feed

  1. Chris says:

    Lioks good I will be trying to set this up when I get home. Do you know if it would be possible to do the same with an iPad or idevice? That would be cool.

    • Paul says:

      Haven’t found a way to auto-accept FaceTime calls on the iPhone or iPad yet, but if you established a connection and left it on all the time it would work.

  2. Benjam1n says:

    To remove all people from the auto accept:

    defaults delete com.apple.FaceTime AutoAcceptInvitesFrom

  3. cml0907 says:

    It keeps telling me that “my name” is unavailable. Any help with that? Thanks!

  4. Danny says:

    Will the Mac come out of sleep mode when you call it, and will it go back into sleep mode once you end the call (after the time you set to turn off the monitor/hard disk)??

  5. John says:

    What’s the command to undo this?

  6. Aaron says:

    I keep getting “Is busy at this time”. Any idea why it would be doing that?

  7. CJ says:

    tried this but keep getting a “__ is busy at this time” on my phone. Facetime opens on my macbook and attempts to connect. I am on a wireless network on both devices and have latest versions of ios & lion osx. Thanks

  8. chan says:

    THOSE CATS R FACETIMING

  9. Dukakis says:

    Create a unique apple id if you are getting the “busy” message

  10. Jason Law says:

    I just successfully set up the remote FaceTime connection. However, it would be much more useful and practical as a security camera if the connection can be established without FaceTime opens up and appears on the Mac screen. Can it be run secretly in the background? Thanks.

    • Alex says:

      Use something like LogMeIn or SplashTop on the iPhone or iPad to establish a remote desktop connection and hide the window.

      Some goes for the following comment about wanting to close Facetime after you are done using it.

  11. Jasper050 says:

    It works fine but is there a way to close Facetime on the Mac after you used it? The green light from the camera keeps burning.

  12. Alex says:

    Hurry up with that Skype article! haha

  13. sergio says:

    the big problem is that “… AutoAcceptInvites -bool YES” will accept ALL incoming calls
    and “… AutoAcceptInvitesFrom -array-add …” wont change anything about accepting incoming calls.

    And restarting from scratch (“defaults delete AutoAcceptInvites…”) and then executing only “… AutoAcceptInvitesFrom -array-add …” will accept NO incoming call.

    Finally you have 2 choices :
    - autoaccepting all incoming calls
    - autoaccepting no incoming call

    I tried with 2 iPhones 2 Mac and 1 iPad and I checked the ~/Library/Preferences/com.apple.FaceTime.plist : no way.

    not a great tip !
    Or I missed something ???

    • 911 says:

      Yeah, I don’t know about this.. I’m pretty sure I followed the steps correctly so it would ‘only accept calls from myself’ – and I found out today that it was immediately automatically connecting for everyone.. Lets just say, this could have been bad.

  14. Nesty says:

    Sadly, it does not work as expected. It will accept all the incoming Facetime calls. If you change the settings back to NO, Quit Facetime and open it again to use the new settings.

  15. Sam143 says:

    Can we done it with Iphone & Ipod touch

  16. Sam143 says:

    Can we do it with Iphone & Ipod touch??

  17. Jack says:

    Having difficulty entering the command to auto accept incoming FaceTime calls.

    defaults write com.apple.FaceTime AutoAcceptInvites -bool YES

    Tried to get help from Apple tech. Apparently they do not have this application in their database?

    Would appreciate someone help. Thanks

  18. Kevin says:

    I have it working. Interesting. But to “spy” on someone with out them knowing what your doing, you must turn on the screen saver by clicking “Test” in Sys Pref. This hides the FaceTime screen. The green light is still on though. I was hoping that would be off. But if all you want to do is see in your home from a far, this is pretty cool. I will have to test this on the dog, call her and make look for me in the house. :)

  19. Dave A says:

    Logging in with Logmein (pun intended) will significantly slow down framerate and image quality. This is a really basic solution. A better war would be to get a dvr that has an iapp and then allow traffic to come in and out of your network to view on your iphone/ipad. This will work but more a novelty. An alternative is a dvr with iphone support (http://www.a1securitycameras.com/A1-UDR-7004-5GB-Unitek-DVR.html). There are some at costco and sams too that are prepackaged which also have apps.

  20. wilner says:

    Why cannot this be done without having to use the Terminal application to enter the “default” commands in MacOS (Mach/Linux/Unix)? I thought the Mac was supposed to help people get away from arcane command line entries likes this, reminiscent of DOS and command-line Unix/Linux.

    • free says:

      lol wilner, auto accept would have been crafted into the program but then it would probably be something they’d have to charge you for

  21. [...] not interested in the video chatting aspect, FaceTime has a variety of other uses, including using the feature as a home security camera. stLight.options({ publisher:'fe5e0a84-1fac-40de-8014-9f89fc1cbe6a' [...]

  22. mb says:

    if you set this up using the “guest” login for the mac upon startup will it still work when the primary or administrator acct is chosen on the mac?

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates