View Single Post
  #304 (permalink)  
Old 05-21-2014, 2:17 PM
DC31 DC31 is offline
Join Date: Feb 2011
Location: Massachusetts
Posts: 967

Originally Posted by Laxplurr06 View Post
Is there anyway to activate a GPIO pin when a tone is detected? I would like to connect it to a relay and have it flash some lights and activate a siren.
I haven't attempted it but I believe you can use the alert_command or the post_alert_command parameter in the tones.cfg file to trigger a python script. Then if you know how to activate a GPIO pin, it should be pretty simple from there.
Reply With Quote