Konnected Alarm Not Triggering

I have spent the entire day on google trying to find out what I am doing wrong and embarrassed to ask for help but I am throwing in the towel.

I have my Hass.io setup and talking with my konnected.io board. Siren sounds and doors are showing open when open.

I have tried setting up the automations.yaml file a 100 different ways.

Can someone help guide me into how to finish off my install.

Here is my configuration.yaml setup for the konnected

# Konnected.io
konnected:
  access_token: !secret access_token
  devices:
    - id: "REMOVED"
      binary_sensors:
        - zone: 1
          type: motion
          name: 'Motion Main'
        - zone: 2
          type: door
          name: 'Front Door'
        - zone: 3
          type: door
          name: 'Garage Door'
        - zone: 4
          type: door
          name: 'Deck Door'
        - zone: 5
          type: door
          name: 'Patio Door'
        - zone: 6
          type: motion
          name: 'Basement Motion'
      switches:
        - zone: out
          name: Siren

# Alarm Control Panel
alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: "REMOVED"
    pending_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0

Check out this video tutorial by DrZzs. This should set you on the right track:

Boom! Why I couldn’t find that video I have no idea :smiley: hopefully someone else can find this helpful now.

1 Like

I am starting to fee like a slow learner. Can someone check to tell me what I am doing wrong here.

This is my automations.yaml

  - alias: Trigger alarm while armed home or away
    trigger:
      - platform: state
        entity_id: binary_sensor.basement_motion
        to: 'on'    
      - platform: state
        entity_id: binary_sensor.motion_main
        to: 'on'
      - platform: state
        entity_id: binary_sensor.deck_door
        to: 'on'
      - platform: state
        entity_id: binary_sensor.front_door
        to: 'on'
      - platform: state
        entity_id: binary_sensor.garage_door
        to: 'on'
      - platform: state
        entity_id: binary_sensor.patio_door
        to: 'on'
    condition:
      condition: or
      conditions: 
      - condition: state
        entity_id: alarm_control_panel.alarm
        state: armed_away
      - condition: state
        entity_id: alarm_control_panel.alarm
        state: armed_home
    action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.alarm

  - alias: Alarm Triggered
    trigger:
      - platform: state
        entity_id: alarm_control_panel.alarm
        to: 'triggered'
    action:
      - service: notify.notify
        data:
          message: "!Alarm Triggered!"

I’m fairly new to this space siraustin, but I’ll see if I can help.

The automation seems to be fine. What’s not working for you?

I am happy to update my config and share with everyone my new working config. Hopefully this can save some people some time and effort. I did end up using groups for triggers so all take note of the groups as the trigger.

This is my Automations.yaml

Alarm Armed Away

  • alias: Alarm Away
    hide_entity: True
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: group.all_sensors
      to: ‘on’
      condition:
    • condition: state
      entity_id: alarm_control_panel.alarm
      state: ‘armed_away’
      action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.alarm

Alarm Armed Home

  • alias: Alarm Home
    hide_entity: True
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: group.doors
      to: ‘on’
    • platform: state
      entity_id: group.sound
      to: ‘on’
      condition:
    • condition: state
      entity_id: alarm_control_panel.alarm
      state: ‘armed_home’
      action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.alarm

Alarm Disarmed

  • alias: Alarm Disarmed
    hide_entity: True
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: alarm_control_panel.alarm
      to: ‘disarmed’
      action:
    • service: notify.notify
      data:
      message: “Alarm Disarmed”
    • service: switch.turn_off
      entity_id: switch.siren
    • service: switch.turn_off
      entity_id: switch.strobe

Alarm Triggered

  • alias: Alarm Triggered
    hide_entity: True
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: alarm_control_panel.alarm
      to: ‘triggered’
      action:
    • service: notify.notify
      data:
      message: “Alarm Triggered!”
    • service: notify.notify
      data:
      message: “Alarm Triggered!”
    • service: notify.notify
      data:
      message: “Alarm Triggered!”
    • service: notify.notify
      data:
      message: “Alarm Triggered!”
    • service: switch.turn_on
      entity_id: switch.siren
    • service: switch.turn_on
      entity_id: switch.strobe

This is my configuration.yaml

Konnected.io

konnected:
access_token: !secret access_token
devices:
- id: 807d3a44640e
binary_sensors:
- zone: 1
type: motion
name: ‘Motion Main’
- zone: 2
type: door
name: ‘Front Door’
- zone: 3
type: door
name: ‘Garage Door’
- zone: 4
type: door
name: ‘Deck Door’
- zone: 5
type: door
name: ‘Patio Door’
- zone: 6
type: motion
name: ‘Basement Motion’
switches:
- zone: out
name: Siren
- id: 807d3a42fa24
binary_sensors:
- zone: 1
type: smoke
name: ‘Smoke Alarm’
inverse: false
- zone: 2
type: sound
name: ‘Glass Break Basement’
- zone: 3
type: sound
name: ‘Glass Break Main Floor’
switches:
- zone: 5
name: ‘Beep Beep’
momentary: 65
pause: 55
repeat: 4
- zone: 5
name: Warning
momentary: 65
pause: 55
repeat: -1
- zone: out
name: Strobe

Alarm Control Panel

alarm_control_panel:

  • platform: manual
    name: Alarm
    code: !secret alarm_code
    trigger_time: 300
    disarmed:
    trigger_time: 0
    armed_home:
    delay_time: 0
    pending_time: 0
    armed_away:
    delay_time: 60
    pending_time: 30
    triggered:
    pending_time: 0

This is my groups.yaml

doors:
name: Doors
view: true
icon: mdi:robot
entities:
- binary_sensor.deck_door
- binary_sensor.front_door
- binary_sensor.garage_door
- binary_sensor.patio_door

motion_sensors:
name: Motion Sensors
view: true
icon: mdi:robot
entities:
- binary_sensor.basement_motion
- binary_sensor.motion_main

sound:
- binary_sensor.glass_break_basement
- binary_sensor.glass_break_mainfloor

all_sensors:
name: All Sensors
view: true
icon: mdi:robot
entities:
- binary_sensor.deck_door
- binary_sensor.front_door
- binary_sensor.garage_door
- binary_sensor.patio_door
- binary_sensor.basement_motion
- binary_sensor.motion_main
- binary_sensor.smoke_alarm
- binary_sensor.glass_break_basement
- binary_sensor.glass_break_main_floor

Just saw the warning code have not figured that one out yet but threw it in for now.

HELP! I am having an issue whereby everything seems to work: 1) Alarm keypad shows the different states - Arm Away, Arm Home, Triggered, Disarmed 2) in my Overview page, I have the Automation card that shows all of these states and I can manually trigger each with no issues. What I can’t seem to get working no matter what I try is the “action” in the Disarmed and Triggered section. When Armed Home, for example, and I open a door, it immediately goes into the Triggered state but nothing happens…which in the below, is to turn on a light. Any ideas what I may be doing wrong?

Alarm Armed Away

  • alias: Armed Away
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: binary_sensor.front_door
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.side_door
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.back_windows
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.basement_windows
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.front_windows
      to: ‘on’
      condition:
    • condition: state
      entity_id: alarm_control_panel.alarm
      state: armed_away
      action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.alarm

Alarm Armed Home

  • alias: Armed Home
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: binary_sensor.front_door
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.side_door
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.back_windows
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.basement_windows
      to: ‘on’
    • platform: state
      entity_id: binary_sensor.front_windows
      to: ‘on’
      condition:
    • condition: state
      entity_id: alarm_control_panel.alarm
      state: armed_home
      action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.alarm

Alarm Disarmed

  • alias: Disarmed
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: alarm_control_panel.alarm
      to: ‘disarmed’
      action:
    • service: switch.turn_off
      entity_id: switch.hockey_light_switch_21

Alarm Triggered

  • alias: Triggered
    initial_state: ‘on’
    trigger:
    • platform: state
      entity_id: alarm_control_panel.alarm
      to: ‘triggered’
      action:
    • service: switch.turn_on
      entity_id: switch.hockey_light_switch_21

Solved: after going over and over the code and seeing nothing wrong, I re-wrote it from scratch and recreated the automation.yaml file and it worked.

1 Like