Have Alexa play a sound when I enter my property

Well that is shit. That’s not what I’m looking for either.

1 Like

Two words: Google Home

1 Like

Can you wake google home with “alexa”, LOL. I’d hate to have to switch. My wife and I would be in shambles for 3 weeks trying to get things to work.

I also have Alexa … I pretty much use GH exclusively for spoken notifications. I think I picked up my mini for about $30.

Ah ok, that’s not a bad idea.

1 Like

Obviously everyone missed this posted earlier today that I referenced in my reply above then…

1 Like

“Alexa ask Google…” is a great DIY skill to have for when Alexa is being thick.

some news about playing Soundfiles on alexa ?

I’ve been looking into it also. Here’s my latest status:
When I try to force playing any mp3 I get Alexa telling me she won’t play local media.
Amazon USED TO allow you to play your own mp3’s on Alexa via your own Amazon personal music account but that has been discontinued.
There is a Plex skill for Alexa to let you play your mp3’s stored on your Plex server on Alexa (yes, I’ve tested it and it works via Alexa voice command).
Therefore;
I am waiting for an HA media-player that is able to select Plex for source (kinda like selecting Spotify or IHeart).

You can do this with the universal media player:

It’s basically a template media player.

My understanding is that the echo can only play sources that are accessible via the Amazon service.

How would you get the source on your local machine to be accessible to Amazon using that component?

I don’t know, I was actually responding to @Dixey. Not the entire thread.

I should have explained a bit better, I was replying to this sentence:

He would just have to build a script to execute when plex is selected.

I’d be willing to bet that you could get this done with haaska somehow…

Anyone has any update on this?

I’ve been trying to figure this out with this, but nothing happens:

- alias: "test audio"
  hide_entity: false
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.house
      to: 'triggered'
  action:
    - service: media_player.play_media
      data_template:
        entity_id:
          - media_player.it_room
        media_content_id: >
          https://192.168.3.9:8123/local/Real_Police_Siren.mp3
        media_content_type: music

try removing your ip.

- alias: "test audio"
  hide_entity: false
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: alarm_control_panel.house
      to: 'triggered'
  action:
    - service: media_player.play_media
      data_template:
        entity_id:
          - media_player.it_room
        media_content_id: "/local/Real_Police_Siren.mp3"
        media_content_type: music

if that doesn’t work, try using the actual location of the mp3 on the device.

I’ve already used the full path, with no luck. I’ll try removing my IP. Will check in when i’ve tested it. Thanks for you time.

edit: @petro So it does do more then it ever did using /local/… but it now complains about TTS, it can only be called with media_player.alexa_tts, but thats not really what i’m trying to do, right?
I’ve tried it also on my sonos but it doesn’t work and the logs dont show anything.

I’m not sure to be honest. Never used Alexa yo play local media.

No problem mate, thanks for helping so far. I now, have setup MyMedia Skill to play local media on my Hass server. Then I setup a routine (added a binary sensor for my alarm on/off) to play a police sound on my alexa’s, as a temp workaround.

1 Like

Yeah, that’s because you can’t…:wink:

:smile:

Hi,

You said that using MyMediaSkill you can play a mp3 from your media server? May you share how to do that?