Matt, over at Raspberry Pi Spy, has written a great tutorial that shows you how to set-up your Raspberry Pi with the motionEyeOS operating system. It lets you create yourself a CCTV camera that works over IP on your network. He’s used the ZeroView mount from The Pi Hut to stick it to a window and then installed the software. He’s even documented some of the software preferences he uses to get the best results. Take a look at the tutorial here.