Boost Your Home Assistant with Smart Speaker Switching

Тәжірибелік нұсқаулар және стиль

Do you remember these two videos where I explained how you can set up this awesome Radio and Spotify Player in Home Assistant? Many of you asked me if it was possible to switch between physical Smart Speakers using this media player. It's not possible by default, but I found a way so that you can control all your Smart Speakers using this media player! This is so great! Now you can control all your Smart Speakers in your house while you only see one Media Player on your dashboard! Let's do this!
⭐ You can download the code that I created for this video at: ko-fi.com/s/bd66bd443f ⭐
Links referred to in this video:
* This AWESOME Music Player Looks AMAZING On Your Dashboard: • This AWESOME Music Pla...
* This SPOTIFY Player Works Perfectly On Your Dashboard! Even with a FREE Spotify account!: • This SPOTIFY Player Wo...
* The custom layout card repository: github.com/thomasloven/lovela...
Blog version: www.smarthomejunkie.net/switc...
⭐⭐⭐
* Join this channel to get access to perks: 📺 / smarthomejunkie
* Please consider becoming my patron 🏅 at / smarthomejunkie
* Or please support me by buying me a ☕ at ko-fi.com/smarthomejunkie/
⭐⭐⭐
My Devices: github.com/smarthomejunkie/My...
Instagram: / smarthomejunkie
Twitter: / smarth0mejunkie
Facebook: / smarthomejunkie
TikTok: / smarthomejunkie
Discord: / discord
Music by:
* 2TECH-AUDIO: 2tech-audio.bandcamp.com/
00:00:00 Introduction
00:01:40 What we are going to implement today!
00:01:55 Set up the dropdown helper
00:02:46 Add our first media player
00:04:29 Add Dropdown field and Conditional Card
00:07:05 Add the other two media players
00:10:27 Conclusion
#homeassistant #mediaplayer #smartspeaker #audio #spotify #radio #tutorial #smarthome #homeautomation

Пікірлер: 78

  • @SmartHomeJunkie
    @SmartHomeJunkie Жыл бұрын

    What do you think about these media players? Let me know!

  • @tgf2004nl

    @tgf2004nl

    Жыл бұрын

    This is a great extra smart feature in the (already smart) media player. I've implemented your previous version, but this update does make it perfect!

  • @tgf2004nl

    @tgf2004nl

    Жыл бұрын

    And it's getting better each day. I've downloaded your code. Took me some cut&paste time, but now my speakers and the mini media player are smarter than ever, thanks again for your work. At the end the script wasn't that difficult, but I had trouble combine it all together in one yaml code. Missed the raw configuration method and was trying to put it all together in the card code...

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    @@tgf2004nl I'm glad it helped to create this perfect media player on your dashboard as well! 👍🏻

  • @nrpgamez5649

    @nrpgamez5649

    Жыл бұрын

    Your videos are very helpful for this media player! I am howver trying to use these methods of calling spotcast service to play on a group of home mini speakers, but service does not call. Any suggestions for this? Is there a way to play on all speakers with this method?

  • @lmorgan1509
    @lmorgan1509 Жыл бұрын

    Just what i needed. Thank You for another great tutorial.

  • @KielerInKanada
    @KielerInKanada Жыл бұрын

    Great implementation idea along with your usual easy to understand instructions! Works great with my Amazon Echo devices around the house.

  • @mizz-vixen
    @mizz-vixen Жыл бұрын

    Een fan van StuBru uit het Noorden. Cool! 🙂 Fijne uitleg. Zoals steeds informatief en duidelijk.

  • @Skydiss
    @Skydiss Жыл бұрын

    Thx for the great tutorial! Keep up the good work. Just a quick tip... In the code editor you can press ctrl+f to replace multiple lines of code at once instead of manually adjusting all your entities one by one.

  • @CiprianNitu
    @CiprianNitu Жыл бұрын

    Very good tutorials. Thank you!

  • @renatogabrielmaestrello2019
    @renatogabrielmaestrello2019 Жыл бұрын

    It's amazing!!!!!!! Your channel is the best. 😁

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    Wow, thanks!

  • @doylemcteller1335
    @doylemcteller1335 Жыл бұрын

    Great Video. In case you only want to use one card for managing all the media players, you could use the state-switch card from Thomas Loven in HACS too. But this works as well and only uses native components.

  • @ogutur
    @ogutur Жыл бұрын

    Hi sir. Thanks your explain, all about home assistant. 👍

  • @riesmoos
    @riesmoos Жыл бұрын

    I don't use HA for media playback (yet) but it's nice to see what's possible. Thanks for the video !

  • @SergioSalerno-ck5qu
    @SergioSalerno-ck5qu2 ай бұрын

    Thanks also for this super explanitory tutorial. I will surely use it in my dashboard. I look forward to more of your tutorial...it wolud be great with Audio Multiroom Arylic 😉

  • @sevagjb
    @sevagjb Жыл бұрын

    You are adamant to improving my dashboard😁, Very nice idea, i thing i will use this in so many different way especially i have 6 smart Speakers Thanks very useful Ed.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    You're welcome Sevag!

  • @MohannadFarhan
    @MohannadFarhan Жыл бұрын

    Very nice

  • @lancebenn1638
    @lancebenn1638 Жыл бұрын

    Great as always and a gig thank you. Please could you do a video on how to add standard bluetooth speakers to HA for media?

  • @koolkiwikat
    @koolkiwikat Жыл бұрын

    Thanks, Ill wait until a decent jukebox setup comes along :)

  • @blakebowden955
    @blakebowden955 Жыл бұрын

    Excellent tutorial! I've been looking for a way to consolidate the lights as well as my multiple smart speakers in the house for a clean mobile dashboard - used this "trickery" with a mushroom chips card for both and works perfectly! Coupled with your tutorial on the kiosk mode... very clean. Thanks so much!

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    I'm glad you like it.

  • @manfredzimmer1199
    @manfredzimmer1199 Жыл бұрын

    👍👍i like it

  • @georgepacheco5682
    @georgepacheco56827 ай бұрын

    Thanks!

  • @SmartHomeJunkie

    @SmartHomeJunkie

    7 ай бұрын

    Thank you so much for your support! It means a lot to me.

  • @LuckyLoek
    @LuckyLoek Жыл бұрын

    Thank you for another great video. Tip: if you place the media-cards and conditional card in a vertical stack you make sure the speaker-selector and media card are always together.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    Good tip!

  • @RoyPsb68
    @RoyPsb689 ай бұрын

    awesome 😁👍👍👍

  • @SmartHomeJunkie

    @SmartHomeJunkie

    9 ай бұрын

    Thanks

  • @hansdewael3976
    @hansdewael3976 Жыл бұрын

    Great solution. I use now a tab card or a swipe card for my mediaplayers. But this is a better solution. Thanks for the inspiration.

  • @oliverkuhl2

    @oliverkuhl2

    Жыл бұрын

    I would prefer a tabbed card because it saves one click compared to a dropdown. 😊

  • @ronzoot602
    @ronzoot602 Жыл бұрын

    Kijk iedere keer weer uit naar een nieuw filmpje van jou , Erg leerzaam en leer er veel van 👍Bedankt

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    Thx!

  • @glennmerckx3149
    @glennmerckx314910 ай бұрын

    Could we make a template so any new media devices load in automatically as well, but this works lovely already

  • @estebangarcia6092
    @estebangarcia60925 ай бұрын

    Excellent video, do you know any way to send music to a generic bluetooth speaker? I did several tests, with bluetooth dongles, esp32 and I can't find how to do it, greetings from Argentina

  • @gurkanyesilgun
    @gurkanyesilgun Жыл бұрын

    Hello, can I run the usb speakers that I use with vlc-player for tts messages with this method?

  • @avsantos76
    @avsantos768 ай бұрын

    I have diferent media_players, from ikea symfonisk, google nest, tv even a xiaomi gateway that has a small speaker. I want to do an automation that when I arrive home it start's to play in all the speaker an spotify playlist. Is possible to combine diferent media players in one?

  • @bat3332
    @bat3332 Жыл бұрын

    is there anything chepaer than audiocast m5 to convert my existing speakers to wifi speakers. i dont go to raspaudio because i dont want to spend dollars more than what my existing speaker are worth. I wish things were cheaper as the bluetooth adapter to the exiting speakers which is just couple of dollars and easy to install as well

  • @adammourad1873
    @adammourad1873 Жыл бұрын

    Thank you Lewis! for the information, Great video! well done i have some media issues and CCTV that i don't know they don't work for me is it possible to get you to have look at for me please much appreciated

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    I guess I sound Scottish… 😂

  • @RVnld
    @RVnld11 ай бұрын

    Hi, is it possible to select multiple speakers? Great vids, thnx

  • @SmartHomeJunkie

    @SmartHomeJunkie

    11 ай бұрын

    Yes sure, create a speaker group in Google Home and assign that speaker group.

  • @louisviciedo
    @louisviciedo Жыл бұрын

    great video, will this work with Alexa/echo media speakers? Thank you

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    According to the comments below the media player video for Spotify, it works on Echo devices.

  • @TejashryChandana
    @TejashryChandana Жыл бұрын

    can you create a Alexa skill using google sheet. like if we ask Alexa tell me the employees list with there details.

  • @fdksdk4843
    @fdksdk4843 Жыл бұрын

    How can you make your existing dumb speakers smart, like tv have roku or Google stick makes TV smart.

  • @RobertSeidler
    @RobertSeidler Жыл бұрын

    Hi Ed, great video! I use Alexa Echo speakers throughout my house. Is there a way to select "everywhere" so that the music streams on all the echo devices at the same time? I can do this in the Alexa app by telling it to "play on everywhere", but have not been able to figure it out in HA.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    Hi Robert, unfortunately I do not own an Echo myself, so I cannot test it myself 😔

  • @pedrofernandez6391

    @pedrofernandez6391

    Жыл бұрын

    Hi Robert, you can create a group of speakers in home assistant in helpers.It's in helpers, new helper, group and group of media players and add all the player than you want. Per example call 'house speakers' and create the group and sound all at the same time.

  • @RobertSeidler

    @RobertSeidler

    Жыл бұрын

    @@pedrofernandez6391 thank you Pedro!

  • @nahuysen
    @nahuysen Жыл бұрын

    Super handig, is het ook mogelijk om een knop/link te maken naar de media browser zodat je eigen muziek kan kiezen van b.v lokale media ?

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    You can do this with Music Assistant.

  • @nahuysen

    @nahuysen

    Жыл бұрын

    @@SmartHomeJunkie Music Assistant is ongeveer zelfde als de Mediaknop , deze werkt ook goed voor Plex en opgeslagen bestanden , dank je wel !!

  • @kevindesaeger3059
    @kevindesaeger30599 ай бұрын

    Hi Ed, i just want to thank you for your amazing work and very good documented vidz. I really love your chanel! I 've also bought the downloadable files and implemented them in my own dashboard and adapted it to my wishes. Still, i have a question. Do you know what could be the reason why i can play spotify playlist on my google nest, but when trying to play to my google mini, i keep getting error: kan service spotcast/start niet aanroepen: could not find device with name XXX. I"ve tried it with friendly name, and also did it with entity_id but keep getting this error... so when in dropdown menu i choose the google nest, everything works fine, and when choosing google mini in dropdown, i keep getting this errors.. while radio stations still keep working on all devices and speaker groups.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    9 ай бұрын

    Hey Kevin, thank you for your support! Can you try the name that your Google mini has in your Google Home app? I believe that's the name that you need to use. I have this running on my Google Mini without any problems, so it should be able to get it to work.

  • @kevindesaeger3059

    @kevindesaeger3059

    9 ай бұрын

    Woow thank you very much Ed now it is working!! Even creating multiroom group in google home and then playing the playlist from spotify now works, and before it was impossible with the HA speaker group. With multiroom it seems impossible to display the artwork from spotify, but for all the other situations its working so i am happy! The artwork is just a detail i have to figure out. Thank you very much! Have just bought you another 5 coffees to thank u ;)

  • @SmartHomeJunkie

    @SmartHomeJunkie

    9 ай бұрын

    @@kevindesaeger3059 Great to hear and thank you for your support. This really helps to keep the channel going! 👍🏻🙏🏻🙏🏻🙏🏻

  • @xwired3985
    @xwired3985 Жыл бұрын

    Greetings, just wanted to drop you a note that I was unable to find your Mikrotik setup video. Wasn't shown in searches here or on your own web site. Also there was no open channel to chat with you on Discord. That last one might be attributed to my not warming up to the overly busy Discord platform.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    Hi! I didn't create a Mikrotik video. You might have mistaken me for somebody else? My Discord is open. Just go to the welcome channel and tick the green checkmark to see the other channels.

  • @leecurcio6132
    @leecurcio6132 Жыл бұрын

    I get this message: Failed to call service spotcast/start. Connection lost. Any reasons why? Thanks

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    I must say that I've seen this error a couple of days back as well, but it's no longer there. Not sure why, but it might have been an issue in the Spotify connection.

  • @vincenzobrogna7637

    @vincenzobrogna7637

    10 ай бұрын

    yes, same issue. It works when I call it using the service, but I see your same message when I click the button on the dashbord.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    10 ай бұрын

    @@vincenzobrogna7637 The issue was solved after the latest update of Spotcast, but it's back since today. Hopefully it's a temporary hickup.

  • @WesMaerdock
    @WesMaerdock Жыл бұрын

    I don't think you explained how to better maintain the scripts. Right now my issue is that I have to create 1 script per device per radio station. Meaning I've got 3 scripts for the same radio station with different speakers in them. How do you prevent that?

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    See the updated downloadable code. I do not use scripts in there anymore.

  • @WesMaerdock

    @WesMaerdock

    Жыл бұрын

    @@SmartHomeJunkie I can't, it's behind a paywall (?). Thanks though, will look somewhere else.

  • @Badg0r
    @Badg0r Жыл бұрын

    I see that you've switched back to Zigbee to MQTT am I right?

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    I use Zigbee2MQTT for quite a while now. Not entirely happy, but it works.

  • @jonnymin.speranza6854
    @jonnymin.speranza6854 Жыл бұрын

    i would change volume for each speaker...

  • @christian1603
    @christian1603 Жыл бұрын

    Uh... there were copyrights on that solution, you know 😉

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Жыл бұрын

    🤷🏼

  • @tamara9179
    @tamara91795 ай бұрын

    tricky: the original radio player had scripts for each station... here it is big quiet about the current solution

  • @SmartHomeJunkie

    @SmartHomeJunkie

    5 ай бұрын

    The code on Ko-Fi contains the solution, but scripts still work.

  • @henkschepers5137

    @henkschepers5137

    Ай бұрын

    @@SmartHomeJunkie Gedownload, Maar je hebt voor iedere zender nog steeds een aparte script volgens mij.

  • @SmartHomeJunkie

    @SmartHomeJunkie

    Ай бұрын

    @@henkschepers5137 Als het goed is niet.

  • @marlerman111
    @marlerman1119 ай бұрын

    Thanks!

  • @SmartHomeJunkie

    @SmartHomeJunkie

    9 ай бұрын

    Wow, thank you for your support! 🙏🏻 🙏🏻 🙏🏻

Келесі