New Sonos integration


#42

A simple FOR loop will suffice, something like:

for $index = 1 to 10 step 1
with Sonos
setGroupVolume({$index});
Wait 10 seconds;
end with;
end for;


#43

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


#44

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?