I am looking for a security camera that I can use to view what's going on in my apartment, without having to use a third party website/app. I am currently using one that requires me to connect to a website based in China, and I don't really trust the parent company not to snoop.

  • I don't have much experience in this... but I once tested an Axis camera (with a price tag of 300$) which was working nicely even without internet access. It offered various output formats (mp4, mjpeg and others) viewable in most webbrowsers or media players (e.g. VLC). If you want to access the camera from anywhere, you need to setup port forwarding and possibly also some dynDNS service. Choose a good password if you plan to do expose your cam to the internet ;-)
    – Lukas
    May 7, 2016 at 17:45
  • 2
    Do note that many security cameras (specially cheap ones) have insecure firmware (eg. it may be possible to view the footage without the password). Rather than directly opening the port in the router to the camera, I'd open it to an intermediate server, which verifies the credentials before proxying to the camera (it may also be a ssh server, vpn, etc.).
    – Ángel
    May 7, 2016 at 23:15

2 Answers 2


You can always use an IP camera. Ex: http://foscam.us/

Not the best quality but it usually does the trick.

IP cameras usually run their own web server so you can just open up a browser tab and type in the camera's IP ex: or something and you will be able to see what the camera sees. And if you get a camera that can move than you will also be able to Zoom and tilt from the browser tab.

The next step would be to set up a VPN in your apartment. I like to use OpenVPN, it has worked well for me. there are a ton of tutorials how to set one up on a RasPi 2-3. Just connect to your VPN and then go to your IP camera's page and you should be good to go.


If you only need one camera than you can use: https://www.milestonesys.com/our-products/

One camera License is free. Thats what i use and its pretty robust. Do note that you will need a computer for this. A NUC or Brix should do well, I understand that might be expensive. Thats why its not totally needed.

  • Please remember that even if a camera can move, it doesnt mean it should. Some cameras have an internal motor for finetuning its position but the gears inside wear out fast if it is used for continual or even occasional wide range motion.
    – Zachiel
    Aug 12, 2018 at 14:43

Not sure if there are 100% open source commercial products out there, but here is an alternative.

Would you consider to set up for example a Raspberry Pi + USB webcam combo? I've had one running for about two years now, capturing and saving a JPG image once / minute. That would cost 50 - 100 USD depending on what components are used. However the system has not been 100% reliable and every now and then I've had to re-plug the USB camera in (YMMV).

I have published bash + PHP based scripts at Github, utilizing v4l-utils. I have also blogged about it. It is internet-accessible with authentication and HTTPS encryption online on my "private" domain (just storing it on hosts files). I understand this takes some engineering effort, NAT port forwarding etc. but nothing that complex.

This doesn't provide video but it might not be needed to observe "what's going on in my apartment". I'm sure there are other solutions out there but I like building my own stuff and customize for my preferences.

  • 1
    While this type of project works for small scale projects, it's important for users to know that this is not a security system. One image per minute leaves a lot of time for stuff to be missed and not captured by the camera. This particular project sounds use for so something like a time lapse video, not a security system.
    – Andy
    May 14, 2016 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.