How do I get a script to turn on a strobe light via USB

Hello,

I am really at a loss how to do this so would appreciate any advice. I use Splunk and within it you can set for a script to run when an alert happens, so what I want to do is when an alert happens for a strobe light and a siren to sound.

I haven't got a clue what kit is needed or the spec to do this? I suspect it will be some kind of a USB relay and obviously a strobe light and siren. Not sure how it should be wired up, I guess mains power (240v) to the strobe/siren positive and the negative connections to the USB relay? Then the scripting is there any free/sample scripts anywhere that can be used?

Thanks for reading
Guy

Then the scripting is there any free/sample scripts anywhere that can be used?

Yes, there are. Plenty of them are supplied with the Arduino IDE, and more are available on the playground.

I suspect it will be some kind of a USB relay

What is a USB relay?

I use Splunk

What is Splunk?
do you have a link?

robtillaart:
What is Splunk?
do you have a link?

Here you go
http://bit.ly/GAdBBf