How can I change Alexa’s current profile remotely?
With alexa, you log into HA via whatever you’re logged into on the alexa app. So, just log into your other profile on alexa and hook up HA.
Here’s the challenge: When my daughter plays music via spotify on alexa while I am away and this Alexa is in my profile, then she switches music in my car while I am driving. She needs to change profile, but she is nine and forgets.
So I need to tell Alex to switch profile remotely.
I don’t think that’s possible with any version of alexa that’s connected to HA.
I ended up having htis problem with my wife, we just got a 3rd spotify account. 1 for alexa, 1 for each of us.
The other thing you could do is build an automation that stops the action. i.e. if you’re streaming spotify in your car and spotify swaps to another device. Pause the other device and swap back to you.
It can be done with the spotify integration, possibly music assistant too.
My wife an me do have two separate accounts for Spotify and different profiles on Alexa, but our daughter hasn’t. I will have a look at the spotify integration, thanks!
I recently added Amazon Echo Dot support to the SpotifyPlus Integration; I’m not sure if it will handle Alexa account switching or not, as I only have 1 Echo Dot and account to test with currently. Worth a shot though, if you have the time.
Hope it helps!
The official sales pitch …
You might have a look at the SpotifyPlus Integration; it can do everything that the HA Spotify integration can do, supports Spotify Connect enabled devices (Bose, Sonos, Chromecast, Amazon Alexa, Denon, JBL, and more), and provides 95+ custom services that can be used in HA automations and scripts.
There is also a SpotifyPlus Card user-interface that allows you to control the player, manage your Spotify favorites, as well as search the Spotify catalog. You have to install the SpotifyPlus integration first though, and get it configured before you can use the SpotifyPlus Card.
Both are easily installed via HACS.
I’m the author of both, as well as the underlying spotifywebapipython
package; feel free to reach out with questions.