Sonos app stopped working a few weeks ago in that I can no longer use the Device controls to play or stop the device. The mute and volume controls work but none of the others controls.
I have now tried uninstalling the Sonos and uPNP apps and reinstalling them in every different sequences rebooting the controller between each action and deleting all the Sonos files in the /etc/chm-ludl directory just in case this made a difference. It didn’t matter what I did apart from there always seemed to be two of six devices highlighted as “Can’t detect Device” but it wasn’t always the same 2. Although 2 of the devices are marked as such I can still mute these devices and if I change what’s playing on them using one of the old CR100 Controllers the update is displayed by the vera device. The unit is a Vera Plus running the latest firmware which is 1.7.4970 (7.31). When I click on the Play button for a sonos device the log error message is:
01 08/13/20 17:01:02.859 LuaInterface::CallFunction_Job device 171 function SMediaNavigation1_MediaNavigation1_Play_job failed [string “–[[…”]:1436: attempt to index field ‘?’ (a nil value) <0x775f8320>
Unfortunately that didn’t fix it. I uploaded the two files, rebooted vera and checked the timestamps in the directory /etc/cmh-ludl to make sure they had been updated. Clicking on the “Play” button gives the following log:
I am able to use Device Spy to play and stop a Sonos device so wouldn’t have expected to see such errors in the vera log. Please ignore if these are related to the uPNP app and nothing to do with the Sonos app.
No, I mean did you upgrade your Sonos devices to their new S2 firmware?
Let’s do this:
Run the following two lines in Apps > Develop apps > Test Luup code: os.execute("/usr/bin/Rotate_Logs.sh 1") luup.reload()
Wait 120 seconds.
Open the LuaUPnP log file (insert your local IP address: http://your-vera-ip/cgi-bin/cmh/log.sh?Device=LuaUPnP
Right-click in the displayed log and choose “Save As…”. Save the log to a file in HTML format. Do not print it to PDF or copy-paste or try to save it in any other way. “Save As…” is what is needed here.
Email the log to me as an attachment at the email address I’m going to PM to you under separate cover. You can ZIP it before you attach it if you wish, but don’t modify it otherwise.
I can no longer see correct status (TransportState) for my 3 Sonos devices. I applied the hotfix and followed all steps. That didn’t change anything. If I push “Play” or “Pause” it responds accordingly - but with no update in Vera UI. Since I use the TransportState as a trigger in a few Reactors, it’s kind of a problem. Does anyone know what’s wrong?
Best regards,
/Fanan
Best Home Automation shopping experience. Shop at Ezlo!