@marccie appreciate it but that’s ok - I’m a tea guy anyway
The gesture is more than enough for me, I enjoy doing this! In case you need any help with a website, domain or e-mail I’d happy to assist you with my company https://pendo.nl. Cheers! 
New release has just been approved (v1.3.1) compared to the latest version in the app store, these features can be used now:
- v1.3.1 2025/12/14
Added an “Add to queue” flow chart that adds a song to the active queue rather than instantly playing it (like the play card does)
- v1.3.0 2025/12/14
Adds a currently playing flow card that returns tokens with the current album, artist, trackname, total length (secs), progress (secs), progress (percentage) and an isPlaying boolean
- v1.2.0 2025/12/14
Adds a widget that allows you to search songs, artists, playlists and albums and start playback instantly (by pushing the song to the top of the queue)
- v1.1.0 2025/12/14
Adds flowcharts to start playback of a selected song, artist, album or user playlist.
TL;DR
I’m trying to get this to work: “Play song […] on speaker [Spotify Connect Speaker]” and if that failed due to a “Device not found” error I want to activate a “Wakeup [Spotify Connect Speaker] via LAN” card that loops back to playing the song after awaking the device.
So far I have had a good result on waking up a Librespot (Raspberry pi Spotify Connect speaker) but haven’t been able to switch playback to that device after.
Long version:
So I’ve been testing a way to wake up a Spotify Connect device inspired by the HomeAssistant plugin and Librespot (software to turn a Raspberry Pi into a Spotify Connect device). I’m not fully aware of what happens exactly but so far I managed to follow what Claude (AI) told me.
Right now I have an option to discover local Spotify Connect devices on my network. It finds my laptop, my Sonos (still unsupported via the API), my Librespot speaker and my phone. Claude also setup javascript code to reverse engineer the network handshake that happens when Spotify wakes up a device and that works with the Librespot speaker but not yet with my laptop client. And while it says it woke up the Librespot speaker I cannot get it to play yet, not via the Homey app nor via the Spotify client itself.
I get the idea that there is a working solution in this method and it’s slowly progression with tiny steps each time.
Yesterday I had good success with porting the HomeAssistant Danfoss plug-in and I’m trying to get Claude to use that plug-in as basis for Homey now. It seems that trying to dismantle the exact handshake/technique from just Librespot isn’t working and Claude has to guess to many things.
I’ll keep you updated on this.
Enough for today and probably for the next few days too unfortunately.
I have a semi-working example with my Librespot device where the “Play song” card does an underwater check if the device is available. If not it tries to activate it and if that fails it tries to awake it. The activation works, but that’s kind of expected since that means the device is listed under my active devices.
Awaking it works… a bit? I’ve had it happen a few times that the device was connected to my friends phone (another spotify account) and running the code would in fact take over the speaker and disconnect her phone. I even noticed the song changing but playback didn’t start yet. None of the follow up tests worked, but it turns out that my Librespot speaked has a dynamic port to be discovered on. Right now I have device settings where the host+port can be set for a device but I need discovery and activation based of the mDNS data to bypass dynamic ports.
At least I’m still at a point where I believe Claude and I can get this to work!
1 Like