Front Door is a mobile application that I created for me and my family, which tracks when our front door has been opened and closed. If it detects that it has been open for a longer time, it sends out Push Notifications to all of us.
It uses a Raspberry Pi, which has an input signal attached to it for when the door changes its state, and using a .NET Core server, it tracks the door state in a database and sends an appropriate notification.
There's also a WebSocket layer for immediate info when the door has been opened.
Finally, I also have an old iPhone set up as a security camera which can be accessed from the app. It is connected to a computer that using OBS, streams to my self-hosted OvenMediaEngine, which provides two streams: a WebRTC one for sub-second latency viewing of the camera, and an HLS stream for rewinding the footage.