I got a ring doorbell for Christmas. It was a very thoughtful gift and I gotta admit it is very slick. However, for some time, I have been using a home made security system based on the raspberry pi zero w and perl.
I designed it so that each node sends udp messages to a udp + LAMP server. I can view all the events on the server’s web interface.
The front-door node also has a TMP36 temperature sensor read by an MCP3008 adc, and a raspberry pi camera. When the door is opened, it takes a picture two seconds later, and uploads it to the LAMP server.
I set up port forwarding on my ISP router so I can view my LAMP server from anywhere.
The udp client and server scripts are incredibly simple.
I go into somewhat more detail on my hackster account. Off-the-shelf home security and automation products are fairly inexpensive and easy to set up nowadays, but for me, it’s just so much fun to build my own from scratch.