So I have a PTZ camera and a siren. What I'm trying to do is trigger the siren when the camera detects motion.
The camera hooks up via PoE, but the siren just has a 12 volt connection, so it has to be triggered by another device.
The camera has the ability to send out an SNMP trap when it detects motion. I have a raspberry pi set up that listens for that SNMP signal. When the camera tells the pi that motion has been detected, I want to trigger the siren via some intermediary device that the pi can talk to over its GPIO. My problem is that I know nothing about hardware and have no idea what sort of "power switch" device I'm even looking for on amazon.
To recap, I have a camera. When that camera detects motion, a signal is sent to a raspberry pi. When the pi gets that signal, I want it to activate a dumb siren that runs off 12v. What is the device that I need sitting between the pi and the siren to allow power to flow the siren only when a condition is met in a python program running on the pi?
My background is in programming and I know next to nothing about hardware so any info would be helpful!