I wrote a step-by-step tutorial on how to bring up a Home Assistant alarm panel

@Groutley


This is the automation I use. It doesn't arm automatically, it rather notifies me, in case there's someone else home (e.g., babysitter)

 

alias: 'Intrusion: reminder to arm when I leave'
trigger:
  - platform: state
    entity_id: group.family
    to: not_home
condition:
  - condition: state
    entity_id: alarm_control_panel.home_alarm
    state: disarmed
action:
  - service: notify.notify
    data:
      message: You left. Consider arming the alarm in away mode
mode: single

 

 @Groutley


- glad you got that sorted.  Since the last few HA upgrades my system stopped reporting status and I need to figure out what's going on.


Not sure if there is a section on these boards for automation examples for HA, but If there is we should start encouraging posters to drop their code there to help others.

Hello Daniele,

Thanks for your detailed setup instructions.  It certainly helped me going with Home Assistant + Konnected pro.

I also used the Alarmo custom card to set up scripts and automation for notifications, siren sound via Google home speaker group, etc.


If you like me were trying to figure out how to configure an alarm_control_panel to work with an interface kit so you can have a card in a dashboard, I found that using a template alarm_control_panel works better than a manual one. Since you basically just need it to react to input (arming/disarming) and show you the correct status, the manual panel has too much logic with timeouts and everything. Here’s what I came up with to provide triggered and armed/disarmed status and also tie the buttons to the momentary switches used to arm/disarm the Vista panel. Your entities may have different names based on what you called them when configuring the Konnected integration in HA.

alarm_control_panel:
  - platform: template
    panels:
      app_alarm_panel:
        code_format: no_code
        value_template: >
          {% if is_state('binary_sensor.alarm_triggered', 'on') %}
            triggered
          {% elif is_state('binary_sensor.armed_status', 'off') %}
            armed_away
          {% else %}
            disarmed
          {% endif %}
        arm_away:
          service: switch.turn_on
          target:
            entity_id: switch.arm_away
        arm_home:
          service: switch.turn_on
          target:
            entity_id: switch.arm_stay
        disarm:
          service: switch.turn_on
          target:
            entity_id: switch.disarm
2 Likes

@Dustin_Forster not sure if you’ll. See this but I thought I’d try. Your template code for the interface boards were super helpful, thank you!

There is one thing I’m confused on - I’m trying to toggle the disarm but I’m not sure how to do that. Does it require another zone to be set specifically for disarm? Or is there a way to toggle the specific zone that was previously set (I.e. arm away or arm stay) so that the toggle affects the alarm correclty?

Thanks in advance!