Create an Alarm on Alexa Device

Yes, it is still working. Not all sounds in the Alexa sound library work, but AFAIK all the one’s listed on the AMP wiki link above are working.

I know this is an old thread, however one of the projects I’ve been working on is an alarm system that notifies the entire house if a specific camera detects motion for 5 seconds or more during a specific time when the system is armed (nighttime/sleepy time). Whereas I’m not a real big fan of Alexa (she who should not be named) and will eventually move to a more ‘off cloud’ solution. This particular YAML does a pretty good job and could be of use to some. I have it Max out the volume on all Alexa’s and run the sound sequence twice and then revert back to a 75% volume level. Again I hope this of some use to those who seek it.

alias: Armed Garage Camera at NIGHT
description: ""
trigger:
  - type: motion
    platform: device
    device_id: eebadcca005965d4b80e92330fdd464f
    entity_id: 3656bfa8d80695601c41d1703708cf5c
    domain: binary_sensor
    for:
      hours: 0
      minutes: 0
      seconds: 5
condition:
  - condition: and
    conditions:
      - type: is_on
        condition: device
        device_id: eebadcca005965d4b80e92330fdd464f
        entity_id: bfb5269d20cba36c3f504196ca389f7e
        domain: binary_sensor
      - condition: time
        after: "22:00:00"
        before: "05:00:00"
        weekday:
          - sun
          - mon
          - tue
          - wed
          - thu
          - fri
          - sat
action:
  - service: media_player.volume_set
    metadata: {}
    data:
      volume_level: 1
    target:
      entity_id:
        - media_player.office
        - media_player.scott_s_2nd_echo_pop
        - media_player.kitchen
        - media_player.livingroom
        - media_player.studio_alexa
        - media_player.paige_s_bedroom
        - media_player.scotts_bedroom
    alias: Volume MAX on Alexa
  - service: media_player.play_media
    target:
      entity_id:
        - media_player.office
        - media_player.scott_s_2nd_echo_pop
        - media_player.kitchen
        - media_player.livingroom
        - media_player.studio_alexa
        - media_player.scotts_bedroom
        - media_player.paige_s_bedroom
    data:
      media_content_type: sound
      media_content_id: amzn_sfx_scifi_alarm_04
    alias: Sound Alarm on Alexa
  - service: media_player.play_media
    target:
      entity_id:
        - media_player.office
        - media_player.scott_s_2nd_echo_pop
        - media_player.kitchen
        - media_player.livingroom
        - media_player.studio_alexa
        - media_player.scotts_bedroom
        - media_player.paige_s_bedroom
    data:
      media_content_type: sound
      media_content_id: amzn_sfx_scifi_alarm_04
    alias: Sound Alarm on Alexa
  - service: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.75
    target:
      entity_id:
        - media_player.office
        - media_player.scott_s_2nd_echo_pop
        - media_player.kitchen
        - media_player.livingroom
        - media_player.paige_s_bedroom
        - media_player.studio_alexa
        - media_player.scotts_bedroom
    alias: Volume 75% on Alexa
mode: single