This is great.
One of our interns built something similar for warding off rabbits in his garden this summer (it triggers a bluetooth speaker to scare them off when it detects them): https://blog.roboflow.com/rabbit-deterrence-system/
He trained a custom model which would be a good next step if you need to detect something that's not in the list of pre-trained classes (or you're getting false positives/negatives with your camera/environment -- or at certain times of day/night).