Use Google Home to arm/disarm DSC alarm w/Envisalink

Hoping to get some help, I’ve been trying to muddle through various sites and searches for a couple hours and not really getting anywhere. I’m not the most knowledgeable but can usually figure stuff out, this is stumping me though.

What I’d like to do is be able to send basic arm/disarm commands for my alarm system by voice through Google Home.

I have a DSC 5010(832) alarm panel with several sensors, an envisalink 4, home assistant running on my rpi, and an IFTTT account with some basic knowledge of using webhooks, etc., to send commands to an IR blaster to control my home theater.

I’ve managed to get the envisalink working through home assistant, I can see sensor status for all zones, and arm/disarm from inside home assistant. I just can’t figure out how to get Google Home talking to it. I figured IFTTT applets with webhooks might be the easiest, but don’t know what json command to push to trigger the services. In my mind, it seems like it should be simple, but for me it obviously isn’t…

Edit: I figured it out… As I guessed, it was really kind of simple. I just needed to specify the domain and service I wanted to call on in the weblink I used in Webhooks, and then put the right entity ID.

  1. Create applet in IFTTT for Google Assistant for “If this”
  2. For “then that”, create Webhooks web link
  3. For address, put in your Home Assistant external web link (either your external IP with port 8123 forwarded to your Home Assistant server, or the DNS name if using DNS), then enter the domain, the service you want to call, and your API password. So, for Envisalink (and probably other alarm systems compatible with HA), it will look like: http://EXTERNALADDRESS:8123/api/services/alarm_control_panel/alarm_arm_home?api_password=YOURPASSWORD
  4. “POST” JSON method
  5. Enter your entity ID which contains the name of the partition you want to set, and your panel code: {“entity_id” : “alarm_control_panel.PARTITION” , “code” : “YOURCODE”}
  6. Done!

Hope this helps some other newbie

Can you use the script to call from google and alexa?

alarm_arm:
  sequence:
    service: alarm_control_panel.alarm_arm_away
    entity_id: alarm_control_panel.house
alarm_disarm:
  sequence:
    service: alarm_control_panel.alarm_disarm
    entity_id: alarm_control_panel.house
    data:
      code: 9999

Hi @Sunonline your solution looks good to me, can you provide more info please how to use it? My understanding, these scripts/services which has to be used with the “pfroo40” steps, except step 5, this is where I’m stuck a bit. Thanks a lot
PS: step 3, is the url same after "http://externaladdress:8123/api/services/ … " ?

If you already has google assistant component added to your ha. Then you create the script above and add them in your google assistant component.

To use the script.alarm_arm or the script.alarm_disarm . “Ok Google, (enable or activate) alarm arm / (enable or activate) alarm disarm”

Does anyone else think voice control of an alarm system is actually a REALLY BAD idea?

No, I don’t have GA added to HA, I am/was hoping doing it through IFTTT, cause it easy. Possible to use your example through IFTTT? Thanks

I’m still thinking about it, but you can always use “crypted” words, like “Hey Google, Lorem ipsum dolor sit amet” to arm/disarm your alarm :slight_smile: Plus, if I’m right, GA can recognise your voice only

You can use automation to alarm arm and alarm disarm.

With GA voice control?

If you want GA voice control you need GA component (manual install needed) or GA cloud ($5/mth). Both allows you to control via voice and google assistant app on ios, android.

For offline voice command. You can use voice from shopping list component (not support on ios).

You’re not right… mine listens to anyone… that may be a config option but still…

Hmmm, I’m missing you, why I need GA component or GA cloud to run the alarm, as I can see from pfroo40 post all I need are Google Home/GA, IFTTT account, Webhooks and HA service/scripts connected to EnvisaLink. I had setup everything already, just need to link IFTTT <=>webhooks and HA service/scripts with each other.

I think I saw this option, but as I said you can use “crypt” words or code

You can use ifttt follows @pfroo40 instruction. I didn’t use ifttt.

Since this seems to be the most recent thread about envisalink maybe someone here can help. I am not trying to take over this post and will create a new thread if necessary. I am trying to make an automation for HA to arm when all devices go from home to not_home and disarm when the opposite happens. Here is what I have and it does not seem to do anything. I can arm/disarm manually within HA. This is on a Honeywell Vista 20p with Envisaling evl4

- id: '1546056395676'
alias: Arm Away
trigger:
- entity_id: device_tracker.galaxynote9
from: 'home'
platform: state
to: 'not_home'
- entity_id: device_tracker.galaxynote9_2
from: 'home'
platform: state
to: 'not_home'
condition: []
action:
- data:
  code: '######'
service: alarm_control_panel.alarm_arm_away
- id: '1546056484624'
alias: Disarm
trigger:
- entity_id: device_tracker.galaxynote9
  from: 'not_home'
  platform: state
  to: 'home'
- entity_id: device_tracker.galaxynote9_2
  from: 'not_home'
  platform: state
  to: 'home'
condition: []
action:
- alias: ''
  data:
    code: '######'
    entity_id: sensor.home_key.pad
  service: alarm_control_panel.alarm_disarm