Hi all, for the last few weeks I had a simple scene that played a small mp3 file whenever an armed door/window sensor was tripped. All of a sudden today, no sound! Instead, whatever the last song was that was played on this Sonos, starts playing. Here’s the code and the log entry.
local vol = 60 -- Sets volume on the sonos that message will be played
local son = 27 -- mast bdr =33, kitch=27
luup.log('A door or window was opened. Play the sound!')
luup.call_action("urn:micasaverde-com:serviceId:Sonos1", "PlayURI", {URIToPlay="//Nas1/Audio/verasoundfiles/bleepbeepquick.mp3", Volume=vol}, son)
50 05/30/14 20:52:45.687 luup_log:0: A door or window was opened. Play the sound! <0x2e249680>
08 05/30/14 20:52:45.687 JobHandler_LuaUPnP::HandleActionRequest device: 27 service: urn:micasaverde-com:serviceId:Sonos1 action: e[36;1mPlayURIe[0m <0x2e249680>
08 05/30/14 20:52:45.688 JobHandler_LuaUPnP::HandleActionRequest argument URIToPlay=//Nas1/Audio/verasoundfiles/bleepbeepquick.mp3 <0x2e249680>
08 05/30/14 20:52:45.688 JobHandler_LuaUPnP::HandleActionRequest argument Volume=60 <0x2e249680>
01 05/30/14 20:52:45.705 e[31;1mluup_log:27: Sonos: error: UPnP_request (SetAVTransportURI, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body><s:Fault>s:ClientUPnPError714</s:Fault></s:Body></s:Envelope>]e[0m <0x2e249680>
08 05/30/14 20:52:45.753 JobHandler_LuaUPnP::HandleActionRequest device: 27 service: urn:micasaverde-com:serviceId:Sonos1 action: e[36;1mNotifyRenderingChangee[0m <0x2ec76680>
08 05/30/14 20:52:45.753 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=27 <0x2ec76680>
08 05/30/14 20:52:45.754 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:Sonos1 <0x2ec76680>
08 05/30/14 20:52:45.754 JobHandler_LuaUPnP::HandleActionRequest argument action=NotifyRenderingChange <0x2ec76680>
08 05/30/14 20:52:45.754 JobHandler_LuaUPnP::HandleActionRequest argument LastChange= <0x2ec76680>
08 05/30/14 20:52:45.754 JobHandler_LuaUPnP::HandleActionRequest argument sid=uuid:RINCON_000E5822062A01400_sub0000008402 <0x2ec76680>
04 05/30/14 20:52:45.850 <0x2b916000>