question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Expose Spotify Connect devices

See original GitHub issue

Thank you for this component, it’s extremely useful!

It would be helpful to have an exposed sensor.spotify_connect_devices entity, much like sensor.chromecast_devices. Having the ability to fetch this list, including each device’s Spotify unique ID would be useful.

My goal: to be able to fetch a combined list of all devices (Connect and Chromecast) with their Spotify unique IDs, and feed that back as data: spotify_unique_id: [] to an action call service.spotcast.

Thank you

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
LifeBandit666commented, Jun 1, 2021

I’ve gone back and tried again with device names, and managed to get it working no trouble.

It seems the Spotify device ID (the numbers referenced in my Reddit post and here) only work if they’re one of the last 3 devices used by Spotify. It must use the same developer API referenced in my post.

Device names on the other hand seem to work (so far) as long as Spotify can see them on the network. Mine drop in and out sometimes.

Not sure why the names didn’t work before but it seems a better method (so far anyway).

Thanks for this, it was pretty cool before with just my Chromecasts, but now I can cast Spotify anywhere with a Lovelace button or automation.

0reactions
fondbergcommented, Jun 13, 2021

Closing this as it works as wxpected

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow Spotify to play on specific device - Feature Requests
Hi, Unless I'm missing something, it seems there is no way to tell Spotify integration to play on specific devices from Spotify's own...
Read more >
Spotify Connect
When connecting to the speaker for the first time, all devices need to be on the same WiFi. Open Spotify and play something....
Read more >
Unknow devices in Connect
I was able to see some unknown devices linked in my Spotify Connect Devices List, also the app was playing some music wich...
Read more >
Zeroconf API
The Spotify Connect ZeroConf API is an HTTP interface used for announcing and securely logging in to a hardware device. It enables a...
Read more >
Web API Reference | Spotify for Developers
In order to make successful Web API requests your app will need a valid access token ... community forum to ask questions and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found