What is the working principle of motion detection?. It also allows multiple users to share the device, making it perfect for family use.