New Sonos integration


A simple FOR loop will suffice, something like:

for $index = 1 to 10 step 1
with Sonos
Wait 10 seconds;
end with;
end for;


cool, thanks for the example, works like a charme!


It looks like the TrackDescription property is now gone (March 4 was the last time I could trigger off of it).

I was using it as trigger every time the song changed to execute a routine. The only thing I think we can use now is the JSON from audioTrackDescription but I can’t evaluate a change on that JSON string.

I could set up a timer to periodically grab the track info, but that seems wasteful Would rather trigger off an event. Anyone have any thoughts?