Looking for some advice on a device that can make different sounds for the following situation examples… intermittent beeps for when my alarm system has been triggered to give a time period to turn the alarm off if it’s been activated by mistake, also be able to make a kind of chirp similar to what cars do when you unlock and lock them to signify the alarm has been activated or deactivated. I’m mounting the alarm panel using a fire tablet running tileboard.
A perfect option would be able to push the sounds through to all my Alexa devices but I understand this isnt possible ?
I have the Xiaomi Aqara hub which makes all the sounds I’m looking for but it’s the latest model that doesn’t integrate with home assistant and I now use Zigbee2mqtt for my Xiaomi devices anyway
Currently I have the following hassio connectivity options
No I’m afraid not, its such a shame there isn’t a way to push any sound you like to alexa speakers, this would work great for us because we have them all over
You can configure pins on the NodeMCU to control a piezo buzzer with continuous or intermittent beeps for door chimes or pending alarms. I have mine set up with an intermittent beep when the alarm is in the pending state - it switches off when the alarm disarms. You could easily set a similar automation to chirp when a door opens.
Thanks for your automations… The Alexa devices don’t work using local files but I have mine now saying “Alarm arming” and Alarm on/off" and when it detects and intruder etc
This creates 5 switches for hassio to turn on/off. I have a buzzer on pin 8 of their development kit board. I have dry contact relays connected to the other pins and can use those to turn anything on or off.
I’m working on this same setup… You can add the event part to your tileboard config, and it’ll play right on the fire tablets:
events: [
/* Example: Play a sound file
* Include sound_url in the event_data from Home Assistant
*/
{
command: 'play_sound',
action: function(e) {
playSound(e.sound_url);
}
},
],
Then create an event caller automation - beeps every 2s (/2) while alarm is pending (as you arm or disarm the state is pending).
This is the main alarm automation that puts the alarm panel in pending before it triggers.
- id: '123123123123'
alias: Trigger alarm while armed away
trigger:
- platform: state
entity_id: binary_sensor.dining_room_door
to: 'on'
- platform: state
entity_id: binary_sensor.front_door
to: 'on'
- platform: state
entity_id: binary_sensor.patio_door
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.home_alarm
state: armed_away
action:
service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.home_alarm
Only other thing to do is setup the siren if the alarm panel state goes to triggered. I also trigger a beep when a door gets opened (not on a loop), just for an indication a door was opened.
Not sure this works for you but I have used Spotify to play on my alexa with the custom component for Alexa mentioned above. For example I play this via Node Red below if the alarm is triggered.
If your referring to the config I posted above, when the state switches off pending, it’ll stop beeping (providing it’s not a long media file). So when you disarm, it switches states and the repeating automation beeps stop.
Is there much lag when getting a short sound to play on a cloud device? For example, it wouldn’t work well for a click or key press confirmation, would it?
I use manual alarm as well. I will remove the old alarm system and put a simple buzzer.
Since I use Modbus for my sensors (curtain, door switch etc. ) the transformation is very simple.
Now simply add a buzzer to a DO (Relay Out or Open Darin output depending on the unit) and control the off on duty cycle.
Very simple and the wires are there from the old alarm panel so only put the buzzer flat in the wall and you are done.
I have Google home all around the house but when my daughter is arming the alarm system at 2:00 AM when she is back from her date, I do not want the Google Home to wake me up.