homeassistantcomponent_spotifyplus
homeassistantcomponent_spotifyplus copied to clipboard
No longer able to activate any of my Spotify Connect devices
System Health details
System Information
version | core-2024.7.1 |
---|---|
installation_type | Home Assistant Container |
dev | false |
hassio | false |
docker | true |
user | root |
virtualenv | false |
python_version | 3.12.4 |
os_name | Linux |
os_version | 6.6.31+rpt-rpi-v8 |
arch | aarch64 |
timezone | America/Los_Angeles |
config_dir | /config |
Home Assistant Community Store
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 4982 |
Installed Version | 1.34.0 |
Stage | running |
Available Repositories | 1392 |
Downloaded Repositories | 36 |
HACS Data | ok |
AccuWeather
can_reach_server | ok |
---|---|
remaining_requests | 12 |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Dashboards
dashboards | 3 |
---|---|
resources | 26 |
views | 5 |
mode | storage |
Recorder
oldest_recorder_run | August 16, 2024 at 5:16 AM |
---|---|
current_recorder_run | August 17, 2024 at 7:11 PM |
estimated_db_size | 237.19 MiB |
database_engine | sqlite |
database_version | 3.45.3 |
SpotifyPlus
integration_version | v1.0.49 |
---|---|
clients_configured | 1: K&M (premium) |
api_endpoint_reachable | ok |
Checklist
- [X] I have enabled SmartInspect debug logging for my installation.
- [X] I have filled out the issue template to the best of my ability.
- [X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- [X] This issue is not a duplicate issue of any previous issues..
Describe the issue
Since a few days ago, all my scripts stopped being able to activate my Spotify Connect devices.
Specifically, when I call this:
service: spotifyplus.player_resolve_device_id
data:
device_value: 1st Floor Speakers
entity_id: media_player.spotifyplus
verify_user_context: true
I get the expected response with a device ID, e.g.
result: 26195de030cfc972b3435a8c25026022988eb5e3
However, this device ID doesn't actually work. When I attempt to start a playback with this device ID, it doesn't recognize the device ID. Instead, I get this error:
Player command failed: No active device found
Moreover, when I go to https://developer.spotify.com/documentation/web-api/reference/get-a-users-available-devices and run the Get Available Devices API request, I don't see my device in the returned list. It looks like player_resolve_device_id
didn't login my account on the device at all.
I also tried calling spotifyplus.get_spotify_connect_device
instead (with verify_user_context: true), but the outcome was the same. I even tried calling spotifyplus.zeroconf_device_connect
directly with all the discovered device details. Still no luck.
I checked my Spotify Connect username and password in the SpotifyPlus integration options, and they are still correct. I confirmed that I can still log in via the Spotify desktop web UI with those same credentials. It's just not working through SpotifyPlus.
Not sure if this is relevant, but I did some web searches and noticed this thread on the librespot
project which indicated that Spotify just stopped supporting username/password based authentication for ZeroConf: https://github.com/librespot-org/librespot/issues/1308#issuecomment-2276196094. Could SpotifyPlus be affected by the same issue?
Reproduction steps
See above write-up for steps.
Debug logs
n/a
Diagnostics dump
No response