Are you referring to DoorJam? - There is an entire guide on how to do so on a raspberry pi =D
You can see more details at ideas.redpepper.land/doorjam-47f1a...
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.