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.
Create applet in IFTTT for Google Assistant for “If this”
For “then that”, create Webhooks web link
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
“POST” JSON method
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”}
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/ … " ?
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 Plus, if I’m right, GA can recognise your voice only
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).
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.
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