Cant figure out how to get Sonos to act on 2 independent events

To all

Brand new to this - I am starting with 2 Ecolink On/Off Sensors. The first I did to a Window - and was able to get my Sonos Speakers Linked - it plays a sound “Window Opened”

Then - I added another sensor to the Front Door . For the life of me I can’t figure out how to make Sonos work on just that sensor. There are no “Smart Apps” assigned to that sensor - and I can’t see how I create something independent of the first sensor …

I am about to delete the Sonos speakers and try again - but I don’t think I should have to do that …

Thoughts / Suggestions ?

@keeppace - so, did you use the “Sonos Notify with Sound” smartapp to trigger on the first sensor?

The key to understanding SmartThings is realising that, unlike apps on a phone, smartapps can be installed multiple times (you can have multiple instances), each with a different configuration.

Want you want to do is install another instance of “Sonos Notify with Sound” smartapp but this time hook it up to your second sensor and, presumably, give it a different sound or message to play or a different Sonos player to play on - whatever it is you want different from the first setup.

  1. On your phone, in the SmartThings app, go to the Dashboard.
  2. Scroll all the way to the bottom and press the “+” button.
  3. At the top, scroll horizontally (where it says “Things”) across to
    "Other"
  4. Select “SmartThings Labs
  5. Scroll down to find “Sonos Notify with Sound” and select it
  6. Press the “Install” button
  7. Configure it with the appropriate sensor, Sonos player, what you
    want to play, etc. Down near the bottom you can also assign this
    instance a name - this will let you differentiate it from the other,
    previously installed instance. I usually assign a name along the
    lines of “<Action> on <Noun> <Verb>”, e.g. “Message Me on
    Office Motion” or “Dogs Bark on Front Door Open

All done.

That’s it !! Thanks !

So if I want the sound to play on multiple Sonos Speakers, do I have to keep installing new instances of the Sonos Notify with Sound and assign the event to another speaker ? ( if so, there has to be a better way to do that )

I also notice a delay from sensor to sound, but have read this seems to be the way the system currently works …

The short answer is yes. This is because of the way the current Sonos smartapps are written. They could, however, with a bit of effort, be modified or re-written to allow you to specify multiple Sonos players. This is one of the great aspects of SmartThings - if something doesn’t quite suit what you need, you can always write your own variant.

e.g. See this thread for details where I modified this same SmartApp to add a configurable delay between the trigger and the sound playing - Sonos Play Custom Message Question - delay playing?

There will always be a bit of latency but it has been worse over the last few days with problems at the SmartThings backend ( http://status.smartthings.com/ ). When operating normally I find it quite quick - and I’m in Australia.

I know this is an old thread. But i have a similar question regarding Sonos Notify. if i want two triggers to happen before the the sound plays, is there a way to do that? ie if i want the arrival of my phone “and” door opening to play a sound etc. Basically my question is by selecting multiple triggers is the code written as an “and” or “or” command.
Thanks,
Dani

Thank you so much, I have been struggling with this for days!!! Nice to have someone explain things in a not so technical way, that us newbies can understand. A BIG THANK YOU!!!