A security camera outdoors (connected to another webcam outdoor), when there is motion it will send a request to another indoor raspberry (node server) connected to a speaker and will play the sound of an angry dog. The system is working fine for more than a year without breaks. Raspberry is robust.
Interesting. Would you recommend some brand of security cameras that work well for this kind of projects. Where I live the more popular brands are Dahua and Hikvision. Maybe I have to look for a certain communication protocol, rather than for a special brand.
In my case the security camera is also a raspberry pi with the camera module (it could have night vision), connected with a webcam logitech c170 (really cheap) and the motion software to detect movement (https://github.com/Motion-Project).
I made the exact same thing with a Raspberry Pi in 2013. For the outdoors part I used a motion detector attached to an Electric Imp that uploads the message to the Raspberry Pi indoors, which is connected to speakers.