Sonos binding - change playlist stops Spotify on phone

Apparently, if a rule starts a playlist on my Sonos Move, that action stops Spotify on my Android phone, even if I’m away from home, and Sonos wasn’t playing anything from Spotify (or anything related to my phone) (an internet radio station, initiated from the Windows Sonos app, for example).

The playlist initiated through openHAB is a Spotify playlist, but that shouldn’t be a reason, right? I can play different stuff on my phone and on the Sonos simultaneously.

This is what triggers this reaction (a Javascript rule):

items.getItem("Sonos_de_Beweeglijke_Playlist").sendCommand("A playlist defined in the Windows Sonos app")

This is the item:

label: Afspeellijst
type: String
category: ""
groupNames:
  - Sonos_de_Beweeglijke
tags:
  - Point

This item is linked to this channel:

Does anyone recognize this behavior? Or even better: know a solution?

If you are using the same account the music will stop. If you have something like Spotify family you can easily create more accounts. Set up a separate account for Sonos.

/S

1 Like

I’ll try this asap!