Alexa Google Panic Alarm
- 
					
					
					
					
 I got thinking about this last night. 
 My security system can be set to automaticaly arm/disarm at a specific time and I can do this via voice. The wireless keyflob have a Panic function as does the security remote. Neither of these I take to bed or even carry with me.
 What better use of Alexa/Google then to trigger a Panic Alarm?
- 
	 T tuicemen deleted this topic on T tuicemen deleted this topic on
- 
	 T tuicemen restored this topic on T tuicemen restored this topic on
- 
	 T tuicemen restored this topic on T tuicemen restored this topic on
- 
					
					
					
					
 Since creating a trigger script for Arming & Disarming via voice. I believe I'm come up with a way to do this via calling the demo door/window sensor that originally comes with HomeGenie using the API. 
 I may rename it to panic and see if I can get TRIGGERcmd to run it.
- 
					
					
					
					
 Ok I got this working using the demo Door/Window widget address included in a HomeGenie initial setup. 
 here is the line you'd need for the TRIGGERcmd command.json file.{"trigger":"Panic","command":"curl http://IP&Port/api/HomeAutomation.HomeGenie/Automation/Programs.Run/401","ground":"background","voice":"Panic","allowParams":"false"},Change the IP&Port to the IP & Port of your HG server seems the Security system has to have been in an Armed state for a bit for it to work maybe due the the Arm Away I was using to test things. 
- 
					
					
					
					
 @tuicemen said in Alexa Google Panic Alarm: The wireless keyflob have a Panic function as does the security remote. Neither of these I take to bed or even carry with me. Wait a min. I have a fitbit that has Alexa ability!  
 So in theory I always have a remote on me.  
- 
	 T tuicemen referenced this topic on T tuicemen referenced this topic on
- 
					
					
					
					
 Yesterday I did a clean up of my HomeGenie disabling things I thought I no longer needed. After this I tested my Panic Alarm and discovered there were a few things required that I had left out. These may have been set by default with the initial install of HomeGenie. - Besides the Demo-Toggle Door having to be enabled the Virtual Modules Demo program must also be enabled.
- As well the Automation.Demo 2 "DoorSensor" need to have the options to "Use as security sensor" and "Also trigger when armed Home" checked.
- The Automation.Demo 2 "DoorSensor" has to be in the closed condition prior to arming the security widget or you will need to send 2 panic calls