I have an old Logitech web camera from pre-skype days, and finally had a chance to put it to good use. I connected the usb based camera to a Raspberry Pi, installed motion
software, configured and integrated with MQTT and Home Assistant, so that I can get alerts and automation capabilities when the camera detects motion. It also saves the images, of all the motion, even creates a video out of the frames.
Great fun project for a rainy day. Coincidentally, it was raining yesterday at our place