Hi everyone! I’m trying to get my Sonos automated and I want to run a scene when I go to bed that plays a certain playlist and configures Sonos to play for 15 minutes.
I believe there is a “ConfigureSleepTimer” luup action but I can’t seem to make it work. This is the code I’m trying:
luup.call_action("urn:upnp-org:serviceId:AVTransport","ConfigureSleepTimer",{InstanceID=1,NewSleepTimerDuration=15})
Eventually I’m using the incorrect InstanceID. Should this be always 1 (in case I have just one Sonos device)? Should it be the Device id?
I’m lost at this. Can someone please help? Thank you so much!