Howdy everyone. I'm new to Konnected and HA. I've already fouled up one install so I've re-imaged the Rasp. Pi and started from scratch.  Everything is hooked up and HA sees all the sensors. It also registers 'open' and 'closed" states almost instantly. While that all works fine and I can arm and disarm, it does not translate an open sensor (door or window) into a triggered alarm.   The Pi along with all 4 Konnected boards have static IPs and I've indicated that in the 

Do these automations look right?  Any suggestions are appreciated.  Thanks.

#################################
###Konnected Alarm Activations###
  - alias: 'Trigger alarm while armed away'
    trigger:
    - platform: state
      entity_id: binary_sensor.laundry_door
      to: 'open'
    - platform: state
      entity_id: binary_sensor.kitchen_1
      to: 'open'
    - platform: state
      entity_id: binary_sensor.kitchen_2
      to: 'open'
    - platform: state
      entity_id: binary_sensor.main_sliding_door
      to: 'open'
    - platform: state
      entity_id: binary_sensor.family_1
      to: 'open'
    - platform: state
      entity_id: binary_sensor.family_2
      to: 'open'
    - platform: state
      entity_id: binary_sensor.living_1
      to: 'open'
    - platform: state
      entity_id: binary_sensor.living_2
      to: 'open'
    - platform: state
      entity_id: binary_sensor.living_3
      to: 'open'
  condition:
    - condition: state
      entity_id: alarm_control_panel.home_alarm
      state: armed_home
    action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.home_alarm

    

###################################
###Konnected Alarm Siren On###
  - alias: 'Activate siren when alarm triggered'
    trigger:
      - platform: state
        entity_id: alarm_control_panel.home_alarm
        to: 'triggered'
    action:
      - service: switch.turn_on
        entity_id: switch.siren
        
############################
###Konnected Alarm Siren Off###
  - alias: 'Deactivate siren when alarm turned off'
    trigger:
      - platform: state
        entity_id: alarm_control_panel.home_alarm
        to: 'disarmed'
    action:
      - service: switch.turn_off
        entity_id: switch.siren

  Config:

  access_token: xxxxxxx
  devices:
    - id: xxxxxxxxxx
      host: xxx.xxx.xxx.xx
      port: xxxxx
      discovery: false
      binary_sensors:
        - zone: 1
          type: door
          name: 'Laundry Door'
        - zone: 2
          type: window
          name: 'Kitchen 1'
        - zone: 3
          type: window
          name: 'Kitchen 2'
        - zone: 4
          type: door
          name: 'Main Sliding Door'
        - zone: 5
          type: window
          name: 'Family 1'
        - zone: 6
          type: window
          name: 'Family 2'
      switches:
        - zone: out
          name: siren

 


Login or Signup to post a comment