• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Alexa Google Panic Alarm

Raspberry Pi
google assistan alexa x10 homegenie raspberry pi
1
5
633
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tuicemen
    last edited by tuicemen Jan 15, 2022, 9:35 PM Jan 14, 2022, 6:28 PM

    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 2 Replies Last reply Jan 15, 2022, 2:15 PM Reply Quote 0
    • T tuicemen deleted this topic on Jan 14, 2022, 6:54 PM
    • T tuicemen restored this topic on Jan 15, 2022, 12:52 PM
    • T tuicemen restored this topic on Jan 15, 2022, 12:57 PM
    • T
      tuicemen @tuicemen
      last edited by Jan 15, 2022, 2:15 PM

      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.

      T 1 Reply Last reply Jan 15, 2022, 7:51 PM Reply Quote 0
      • T
        tuicemen @tuicemen
        last edited by tuicemen Jan 22, 2022, 11:32 PM Jan 15, 2022, 7:51 PM

        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.

        1 Reply Last reply Reply Quote 0
        • T
          tuicemen @tuicemen
          last edited by Jan 16, 2022, 1:05 PM

          @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 1 Reply Last reply Jan 23, 2022, 3:15 PM Reply Quote 0
          • T tuicemen referenced this topic on Jan 16, 2022, 2:46 PM
          • T
            tuicemen @tuicemen
            last edited by Jan 23, 2022, 3:15 PM

            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
            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post