Use Alexa Sound Effects Library in Home Assistant

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 51

  • @Dennis-qm4rd
    @Dennis-qm4rd 2 года назад +6

    Can I use the Alexa media files in HA, playing on my other media players (Nest Hub/Mini), like I can with for example Azure or Amazon?

  • @MattFacer
    @MattFacer 2 года назад +5

    Love this, thanks! I was hoping to hear some of the sounds as you were coding them! Press the call service button… PRESS IT!! 😂😂

    • @MarkWattTech
      @MarkWattTech  2 года назад +1

      Haha that would have been a better idea 🤣.
      Also if your after more custom sounds, check the custom mp3 video 👍🏻. You can have the echo play any mp3. Great for movie quotes 🤣

    • @drharis
      @drharis Год назад

      @@MarkWattTech Hi Mark, Any way to loop these sounds? Want to use it as a siren on Alarm.

    • @MarkWattTech
      @MarkWattTech  Год назад +1

      @@drharis You can write a loop to keep calling the sound. However using the custom Mp3s would probably be easiest as you can just start an mp3 track (siren etc) and then stop it after a set time or when the disarm is triggered.

    • @drharis
      @drharis Год назад

      @@MarkWattTech Thanks Mark! So good of you to reply. When using MP3 again how do I loop it as we can only use 240 seconds on 1 track.? And do I use notify service or play media service?

  • @chrisbenefield9889
    @chrisbenefield9889 7 месяцев назад

    Is all this predicated on Nabu Casa/ Cloudfare etc being present?

  • @kloakovalimonada
    @kloakovalimonada 2 года назад

    Very cool, will implement that soon!

  • @makeitworktech
    @makeitworktech 2 года назад +1

    Great intro!
    Also great video - this should come in handy!

    • @MarkWattTech
      @MarkWattTech  2 года назад +1

      Prefer it to the other 2 I recently tried? 🤣

    • @makeitworktech
      @makeitworktech 2 года назад

      @@MarkWattTech Yes, the best of the three (in my humble opinion) haha

    • @MarkWattTech
      @MarkWattTech  2 года назад +1

      @@makeitworktech appreciate the feedback 👊🏻

    • @AlexBoltonKing
      @AlexBoltonKing 2 года назад

      @@MarkWattTech 100%

    • @MarkWattTech
      @MarkWattTech  2 года назад

      @@AlexBoltonKing I was waiting for your comment 😉. Hows the combo of both?

  • @EricTheMagician61
    @EricTheMagician61 2 года назад

    Thanks a lot for this video. Just a question: is it possible to repeat the same sound again, for instance for four time?

  • @aryelinux9676
    @aryelinux9676 2 года назад

    Thanks Matt fro your videos - everytime new stuff. I was wondering if you have any plan soon to work with Tuya and NodeRED that we can use API with it - Cheers!

  • @iainhay2823
    @iainhay2823 2 года назад

    Excellent as always :)

  • @owenwhitehead8938
    @owenwhitehead8938 2 года назад +1

    Hey mark.
    Thanks for the Video. I’ve been trying to implement a door bell announcement for a long time. Using Sonos but it would always interrupt my airplay groups! This works over the top using Alexa so great! Anyway to set the volume in the automation?

    • @MarkWattTech
      @MarkWattTech  2 года назад

      Glad it helped! You can manually set the volume of a tts notification :) (there are some example in the documentation).

  • @mrteausaable
    @mrteausaable 2 года назад

    I am trying to have Alexa announce the current time and weather using automation. How do you do that?

  • @dmk1802
    @dmk1802 2 года назад

    Thankyou for the great video, what is the best way to use alexa in home assistant between emulated hue and alexa play media?

    • @MarkWattTech
      @MarkWattTech  2 года назад

      Im not sure with emulated hue as I haven't really touched it. I thought emulated hue only allowed devices to be detected as lights?
      I will actually be using emulated hue in an upcoming project so If I figure it out I will let you know :)

    • @dmk1802
      @dmk1802 2 года назад

      @@MarkWattTech thanks for the great job you're doing for the community!

  • @masterpenky
    @masterpenky 2 года назад

    hey Mark, I have been using Alexa Media for 2 months now (inspired by your videos) and I am getting logged out of the integration once a week. So Basically all my routines stop working after roughly a week without any notification. Re-Authenticating Alexa Media with a "new" 2FA code does not work unless I restart the whole HA instance. Is this something you are NOT experiencing? Or do you just deal with it? Thanks!

    • @mariusdill3373
      @mariusdill3373 2 года назад

      I have the same problem, didnt find any way to fix this yet...

  • @ronraymond
    @ronraymond 2 года назад

    Got this to work, but strangely only some of the sounds on the Amazon Sound Library page will play through the echo for some reason

    • @MarkWattTech
      @MarkWattTech  2 года назад

      Oh really? Is it any particular ones? Ive not tried all of them.

  • @stijnmoke6184
    @stijnmoke6184 2 года назад

    Oh nice, curious if google has this too...

    • @MarkWattTech
      @MarkWattTech  2 года назад +1

      I have a few Google based tutorials in the works and it will be something I look into :)

    • @stijnmoke6184
      @stijnmoke6184 2 года назад +1

      @@MarkWattTech Cool looking forward to

    • @stijnmoke6184
      @stijnmoke6184 2 года назад

      @@MarkWattTech any update on it? Waiting patiently for it :)

  • @manosioa
    @manosioa 2 года назад

    Great video! Is there a way to use any of these sounds repeatedly, lets say for a security alarm for example?

    • @MattFacer
      @MattFacer 2 года назад

      Could you create a script to play the sound, then add a delay for the duration of the sound.. then just copy and paste the play & delay code to keep playing the sound as many times as needed? You’d need a way to stop it somehow though?

    • @MarkWattTech
      @MarkWattTech  2 года назад +2

      I think there’s a limit on the calls for the alexa skills sound effects (as in you can only call so many a second).
      I personally use the custom mp3s (link in description). Create your mp3 and hae a script call the service. Then on your alarm activated have it trigger that script (with delays if needed) untill the alarm is switched off. You can do this with a while condition.
      I use something similar to have glados say the backdooor is open. But the script calls random phrases so you just keep hearing her complain till its shut 🤣. Then she thanks you for complying.
      I may cover this in the next Alexa video 👍🏻

    • @MattFacer
      @MattFacer 2 года назад

      @@MarkWattTech I like that idea! I might use that for the kids bedroom lights. If no motion detected and the light is on after xx minutes, play a reminder over and over again. Or I could just use the motion to switch it off. But they’ll never learn! 🤷🏻‍♂️😂

    • @MarkWattTech
      @MarkWattTech  2 года назад +1

      @@MattFacer even with the automations they still don’t learn 🥲🤣

    • @MAMDAVEM
      @MAMDAVEM 2 года назад

      a barking dog triggered by by front door motion detector would be handy

  • @alejandrolazaroZS09011386
    @alejandrolazaroZS09011386 2 года назад

    Este tipo de cosas me hacen pensar que es mejor usar alexa como asistente de voz // This kind of thing makes me think that it is better to use alexa as a voice assistant.

  • @KaleoMgmt
    @KaleoMgmt 2 года назад

    I love when Creators say "Echo" to avoid triggering with "Alexa". We have to use "Echo" as our word since my daughter's name is too similar to "Alexa". 🤦‍♂️
    🤣
    Great video. Thanks!

    • @MarkWattTech
      @MarkWattTech  2 года назад +1

      Haha! Yeah its so much easier than beeping it out

  • @uditsharma9280
    @uditsharma9280 2 года назад

    I am new to home assistant learning from you
    I have a problem
    My wifi tuya 3+1 generic smart switch is showing no entity and is not supported
    Its device type is tdq i posted for help at git hub and frenck closed my request saying its a duplicate request of devicd type tgq
    What is the next step

    • @MarkWattTech
      @MarkWattTech  2 года назад

      Are you able to find the ticket Franck is referring too? You could add additional notes to that ticket. The more popular a ticket is (e.g. the more requested it is) the more likely it is to be worked on.

  • @groto27
    @groto27 2 года назад

    need more room assistant videos :(

    • @MarkWattTech
      @MarkWattTech  2 года назад

      I will be rebooting the whole RA series when I move house and have stuff setup.

    • @groto27
      @groto27 2 года назад

      @@MarkWattTech 🎉

  • @Take5Instead4
    @Take5Instead4 2 года назад

    The Alexa Media Player component doesn't Work anymore. Reauth necessary once a day, seems, that Amazon doesn't Like the unofficial usage of the API. Hope , Things get better with Matter..;)