Page 1 of 1

Sonos UPNP Error

PostPosted: Thu Apr 25, 2024 6:51 pm
by Eagleye
I have been successfully using the Sonos plugin for some time to make an announcement when trigger events occurs, but this has changed since apple system upgrade.
I have upgraded Sonos to version 2024.0.3, but it seems to still not work.
Please see log below that is generated when I trigger an associated event:

Trigger                         Kitchen - 2.1 Fridge off & TV on > Turn Fridge on & Announce on Kitchen Sonos & change to TV mode
   Sonos                           ZonePlayer: Kitchen - Sonos Sound Bar, Play
   Sonos Error                     UPNP Error: No Such Object
   Sonos Error                     Offending Command -> zoneIP: 10.0.0.87, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: Play
   Sonos Error                     Error Response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>701</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>

   Sonos                           Announcement: Fridge power just turned off & on again, Volume: 30
   Sonos                           remove zone from group: Kitchen - Sonos Sound Bar
   Sonos                           ZonePlayer: Kitchen - Sonos Sound Bar, Current Volume: 39, New Volume: 30
   Sonos                           Announcement Length: 2.4295
   Sonos                           ZonePlayer: Kitchen - Sonos Sound Bar, Play
   Sonos                           remove zone from group: Kitchen - Sonos Sound Bar
   Sonos                           ZonePlayer: Kitchen - Sonos Sound Bar, Clear Queue

It seems that I'm getting a Sonos UPNP error, which I'm not sure what it means.

Can anyone help?

Re: Sonos UPNP Error

PostPosted: Thu Apr 25, 2024 7:04 pm
by Eagleye
I have setup a number of triggers that changes the variable state of the Sonos playbar, so as the player can return to that state after each announcement.
When the relevant trigger condition is met, ie a radio station is playing on the Sonos player and the fridge turns off, the below action occurs: