I started playing with the IP Webcam app for an old Samsung cell phone that I no longer use and it turns it into an IP Cam. Currently I just have in pointing out a window to see how well it works. There is no reason you couldn’t enclose it in a waterproof box and put it outside. The picture is great and the app has been running for a few days now with no problems. I am also streaming it on-line and it works well for that too. You can password protect pages to restrict access. Overall, an easy and cheap way to setup a webcam.
It’s not fully integrated into my weather website, but I have a sample page for the live stream.
http://www.northfortmyersweather.com/weather/wxwebcam2.php