I just installed a 3 node system (utilizing 17 of the 18 zones) and configured Home Assistant for all of the sensors. What I don't know how to do though, is activate the piezo buzzer that I connected to the 5V OUT and GND pins on one of my konnected panels. I'd like it to chime whenever one of my binary sensors changes (door or window opens). Does anyone have a sample automation.yaml that has what I need?
Same issue for me. Love a sample on getting the buzzer to sound when a trigger occurs.
Thx in advance
Add me to the wish-list, too. I'm looking at the 18 zone system and would really appreciate example automation.yaml and configuration.yaml files for reference. I have one motion sensor and lots of window/door binary sensors. One alarm and want to make use of the Piezo buzzer for the "beep beep" when doors/windows, etc, open and maybe make a different sound when they close.
Not sure how others are handling arming the system, either. Would love to understand more about that, too.
Thanks!
- Mark
I got this figured out. I have most of my binary sensors do a triple-beep when each one opens, and a separate four-beep chime when the garage door(s) open. There might be a better way to do this (I tried groups but it didn't work the way I wanted), but this DOES do the trick.
Configuration.yaml:
konnected:
access_token: justsomething
devices:
- id: 807d3a663688
binary_sensors:
- zone: 1
type: door
name: 'Front Door'
- zone: 2
type: door
name: 'Garage Door'
- zone: 3
type: door
name: 'Back Sliding Door'
- zone: 4
type: door
name: 'Downstairs Bdrm Window'
- zone: 5
type: door
name: 'Downstairs Bath Window'
- zone: 6
type: door
name: 'Dining Room Window'
switches:
- zone: out
name: 'Alarm'
pause: 55
momentary: 65
repeat: 3
- id: 382b78059d0a
binary_sensors:
- zone: 1
type: door
name: 'Front Bedroom'
- zone: 2
type: door
name: 'Upstairs Laundry'
- zone: 3
type: door
name: 'Upstairs Bathroom'
- zone: 4
type: door
name: 'Corner Bdrm Windows'
- zone: 5
type: door
name: 'Empty'
- zone: 6
type: door
name: 'Middle Bedroom'
switches:
- zone: out
name: 'Door Chime'
pause: 55
momentary: 65
repeat: 3
- zone: out
name: 'Garage Chime'
pause: 255
momentary: 255
repeat: 4
- id: 382b78042710
binary_sensors:
- zone: 1
type: door
name: '2 Car Garage Door'
- zone: 2
type: door
name: '1 Car Garage Door'
- zone: 3
type: door
name: 'Master Bedroom Windows'
- zone: 4
type: door
name: 'Master Bathroom Toilet'
- zone: 5
type: door
name: 'Master Bathroom East'
- zone: 6
type: door
name: 'Back Door'
automation.yaml:
- id: '1538346095548'
alias: Opened Back Door
trigger:
- entity_id: binary_sensor.back_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095549'
alias: Opened Back Sliding Door
trigger:
- entity_id: binary_sensor.back_sliding_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095550'
alias: Opened Corner Bedroom South
trigger:
- entity_id: binary_sensor.corner_bdrm_south
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095551'
alias: Opened Corner Bedroom West
trigger:
- entity_id: binary_sensor.corner_bdrm_west
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095552'
alias: Opened Dining Room Window
trigger:
- entity_id: binary_sensor.dining_room_window
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095553'
alias: Opened Downstairs Bath Window
trigger:
- entity_id: binary_sensor.downstairs_bath_window
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095554'
alias: Opened Downstairs Bedroom Window
trigger:
- entity_id: binary_sensor.downstairs_bdrm_window
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095555'
alias: Opened Front Bedroom Window
trigger:
- entity_id: binary_sensor.front_bedroom
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095556'
alias: Opened Front Door
trigger:
- entity_id: binary_sensor.front_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095557'
alias: Opened Garage Door
trigger:
- entity_id: binary_sensor.garage_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095558'
alias: Opened Master Bathroom Window
trigger:
- entity_id: binary_sensor.master_bathroom_east
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095559'
alias: Opened Master Toilet Window
trigger:
- entity_id: binary_sensor.master_bathroom_toilet
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095560'
alias: Opened Master Bedroom Windows
trigger:
- entity_id: binary_sensor.master_bedroom_windows
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095561'
alias: Opened Middle Bedroom Window
trigger:
- entity_id: binary_sensor.middle_bedroom
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095562'
alias: Opened Upstairs Bathroom Window
trigger:
- entity_id: binary_sensor.upstairs_bathroom
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095563'
alias: Opened Laundry Window
trigger:
- entity_id: binary_sensor.upstairs_laundry
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.door_chime
- id: '1538346095563'
alias: Opened 1 Car Garage Door
trigger:
- entity_id: binary_sensor.1_car_garage_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.garage_chime
- id: '1538346095563'
alias: Opened 2 Car Garage Door
trigger:
- entity_id: binary_sensor.2_car_garage_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: switch.turn_on
data:
entity_id:
- switch.garage_chime
- id: '1538410947217'
alias: Close Doors
trigger:
- entity_id: group.intrusion
from: 'on'
platform: state
to: 'off'
condition: []
action:
- service: switch.turn_off
data:
entity_id:
- switch.door_chime
Hi, Thanks for sharing. Can I please ask a really basic question? - On the second Konnected board, should I connect the "piezo+" terminal to the "out" to the "+5v" and the other piezo terminal to "out" on the left of my picture (circled) or should I be using the "out" and "G" on the right (circled)?
I believe either will work. I used the "+5v" and "out" on the left, since the zone on the right can be used for multiple things and wanted to keep it available.
Thanks MarkHofmann, tried the out and G and it worked fine.