Take picture of someone at your door

I use an indoor camera looking through an upstairs window.

I posted a device type here: A simple way to get alerts when your doorbell is rung. Do read the whole thread for simple doorbell ideas.