Piezo Buzzer - Home Assistant

I received my 24 zone kit yesterday, and have it installed and connected to Home Assistant.  All of the zones are working, including my two Piezo Buzzer's.  I only have three issues :).  I am focusing on this issue for now.

I can't figure out how to change the tone of the Piezo Buzzer, the instructions say to use the Smart Lighting control, however I believe that is in SmartThings.  Is there a way to do it in Home Assistant?


I have built an automation that turns on the buzzers when any of the doors are then turns off the sound a few seconds later.  Is there any way to make that more of a chime instead of a single tone?


Thanks.

Ditto for me.

I was wondering the same thing.

Could you share the automation for the buzzer? 

Could you share the automation for the buzzer? 

Will be adding native support for the buzzer and configuration of the pulses soon.

Paul - Would you mind sharing your automation for your buzzer. I am having issues getting the automation to stop buzzing after a few seconds.

Sorry for the delay.


The automation used a delay step between turning on and then off.  However, it started to be unreliable, and I was having to manually turn off the chimes.  My wife was getting pretty annoyed.


So I changed the automation to  turn on the chimes when one of the doors open (if the chimes were off).  Then a different automation to turn them off when the doors close (if the chimes were on).  This seems to have solved the stability problem, plus it forces the family to close the damn doors.  If is really hot here in Texas right now, and it is better to keep the doors closed.  :)



- id: '1531025654050'

  alias: Opened Door

  trigger:

  - entity_id: group.doors

    from: 'off'

    platform: state

    to: 'on'

  condition:

  - condition: state

    entity_id: group.alarm_chimes

    state: 'off'

  action:

  - data:

      entity_id: group.alarm_chimes

    service: switch.turn_on


- id: '1532484217019'

  alias: Close Doors

  trigger:

  - entity_id: group.doors

    from: 'on'

    platform: state

    to: 'off'

  condition:

  - condition: state

    entity_id: group.alarm_chimes

    state: 'on'

  action:

  - data:

      entity_id: group.alarm_chimes

    service: switch.turn_off

Nate, any update on the native configuration?



Thanks.

Yes, it will be included in the Home Assistant 0.77 release which is scheduled for this Friday. I'll have a post with details soon.

https://konnected.io/blogs/news/home-assistant-0-77-update


Also, the documentation is updated on help.konnected.io.

Thank Nate!


In the future will there be an option to control the pitch of the buzzer?

Thanks Paul! that worked great!!! Here is my modified version that includes a constant beeping for the entry/exit delay if anyone is still looking for this.

I have my alarm set for two modes, Away and Home. However, it will go from various versions of "disarmed", "pending", "armed", "warning". Also a separate switch for a door/window sensor


 

- id: '1531025654050'
  alias: Opened Door
  trigger:
  - entity_id: group.alarmbuzz
    from: 'off'
    platform: state
    to: 'on'
  condition:
  - condition: state
    entity_id: switch.beep_beep
    state: 'off'
  action:
  - data:
      entity_id: switch.beep_beep
    service: switch.turn_on
  • id: ‘1532484217019’
    alias: Close Doors
    trigger:

    • entity_id: group.alarmbuzz
      from: ‘on’
      platform: state
      to: ‘off’
      condition:
    • condition: state
      entity_id: switch.beep_beep
      state: ‘on’
      action:
    • data:
      entity_id: switch.beep_beep
      service: switch.turn_off
  • id: ‘1531025654022’
    alias: Disarm - Pending
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘disarmed’
      platform: state
      to: ‘pending’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘off’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_on
  • id: ‘1531025654028’
    alias: Pending - Armed Away
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘pending’
      platform: state
      to: ‘armed_away’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘on’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_off
  • id: ‘1532484212229’
    alias: Armed Away - Warning
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘armed_away’
      platform: state
      to: ‘warning’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘off’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_on
  • id: ‘1531985654028’
    alias: Pending - Armed Home
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘pending’
      platform: state
      to: ‘armed_home’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘on’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_off
  • id: ‘1538484212229’
    alias: Armed Home - Warning
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘armed_home’
      platform: state
      to: ‘warning’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘off’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_on
  • id: ‘1531455654028’
    alias: Pending - Disarmed
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘pending’
      platform: state
      to: ‘disarmed’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘on’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_off
  • id: ‘1531455654028’
    alias: Warning - Disarmed
    trigger:

    • entity_id: alarm_control_panel.house
      from: ‘warning’
      platform: state
      to: ‘disarmed’
      condition:
    • condition: state
      entity_id: switch.warning
      state: ‘on’
      action:
    • data:
      entity_id: switch.warning
      service: switch.turn_off