Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ISY944i, Sonos, IFTTT - Playing a favorite or queue (alarm recording)

Featured Replies

Posted

I've recorded an MP3 audio file I'd like to play on my Sonos speakers based on a trigger (motion sensor for instance).  I've configured a Program Event in the ISY portal, have it working with IFTTT which calls a simple program that calls a Network Resourse.  I know the networking is working as when I run the ELSE loop, I can see my Sonos speaker volume change (to 75% as you'll see below) but I can't figure out how to determine the queue ID or how to identify a Sonos Favorite.

Any help would be much appreciated.  Below is what's defined as the Network Resourse my program calls.

POST /MediaRenderer/AVTransport/Control HTTP/1.1
Host: 192.168.1.215:1400
Connection: Close
Content-Type: text/xml; charset="utf-8"
Content-Length: 802
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#StartAutoplay"

<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <u:StartAutoplay xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
         <InstanceID>0</InstanceID>
         <ProgramURI>file:///jffs/settings/savedqueues.rsq#1</ProgramURI>
         <ProgramMetaData>&lt;DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upup="urn:schemas-upnp.org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"&gt;&lt;itemid="SD:1" parentID="SD"</ProgramMetaData>
         <Volume>75</Volume>
         <IncludeLinkedZones>0</IncludeLinkedZones>
         <ResetVolumeAfter>1</ResetVolumeAfter>
      </u:StartAutoplay>
   </s:Body>
</s:Envelope>

Edited by RLSinRFV

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.