<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-Sonos not displaying]]></title><description><![CDATA[<p dir="auto">I have set up the MMM-Sonos module by <a class="plugin-mentions-user plugin-mentions-a" href="/user/snille" aria-label="Profile: Snille">@<bdi>Snille</bdi></a> , following <a class="plugin-mentions-user plugin-mentions-a" href="/user/cohron" aria-label="Profile: cohron">@<bdi>cohron</bdi></a>’s instructions in this post: <a href="https://forum.magicmirror.builders/topic/1567/mmm-sonos-to-show-what-your-sonos-is-playing/10?page=1">MMM-Sonos - To show what your SONOS is playing.</a>.</p>
<p dir="auto">Also, I modified <em>sonos-http-api.js</em> as suggested in case this was a CORS issue.</p>
<p dir="auto">The issue I’m having is this: When Sonos is playing, the module will show itself, but will not retrieve the now playing info. All that appears is: “Loading music…”.</p>
<p dir="auto">I’m able to retrieve info when I look at <a href="http://192.168.1.xxx:5005/zones" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.xxx:5005/zones</a>. The info looks like this:</p>
<pre><code>[{"uuid":"RINCON_949F3E7458A001400","coordinator":{"uuid":"RINCON_949F3E7458A001400","state":{"volume":16,"mute":false,"equalizer":{"bass":0,"treble":4,"loudness":true},"currentTrack":{"artist":"","title":"","album":"","albumArtUri":"","duration":0,"uri":"x-sonosapi-radio:ST%3a3884443120794727150?sid=236&amp;flags=8300&amp;sn=2","type":"radio","stationName":"Miles Davis Radio"},"nextTrack":{"artist":"","title":"","album":"","albumArtUri":"","duration":0,"uri":""},"trackNo":0,"elapsedTime":0,"elapsedTimeFormatted":"00:00:00","playbackState":"STOPPED","playMode":{"repeat":"none","shuffle":false,"crossfade":false}},"roomName":"Living Room","coordinator":"RINCON_949F3E7458A001400","groupState":{"volume":16,"mute":false}},"members":[{"uuid":"RINCON_949F3E7458A001400","state":{"volume":16,"mute":false,"equalizer":{"bass":0,"treble":4,"loudness":true},"currentTrack":{"artist":"","title":"","album":"","albumArtUri":"","duration":0,"uri":"x-sonosapi-radio:ST%3a3884443120794727150?sid=236&amp;flags=8300&amp;sn=2","type":"radio","stationName":"Miles Davis Radio"},"nextTrack":{"artist":"","title":"","album":"","albumArtUri":"","duration":0,"uri":""},"trackNo":0,"elapsedTime":0,"elapsedTimeFormatted":"00:00:00","playbackState":"STOPPED","playMode":{"repeat":"none","shuffle":false,"crossfade":false}},"roomName":"Living Room","coordinator":"RINCON_949F3E7458A001400","groupState":{"volume":16,"mute":false}}]},{"uuid":"RINCON_949F3EF6E88801400","coordinator":{"uuid":"RINCON_949F3EF6E88801400","state":{"volume":8,"mute":false,"equalizer":{"bass":-2,"treble":4,"loudness":true},"currentTrack":{"artist":"Ratatat","title":"One","album":"9 Beats","albumArtUri":"/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJPlQepCmmlOPLag0OEDVysofgVDhWO_dbwFdUyzypA43A3qZswL_CkB.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1","duration":162,"uri":"x-sonos-http:_dklxfo-EJPlQepCmmlOPLag0OEDVysofgVDhWO_dbwFdUyzypA43A3qZswL_CkB.mp3?sid=151&amp;flags=8192&amp;sn=1","type":"track","stationName":"","absoluteAlbumArtUri":"http://192.168.1.6:1400/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJPlQepCmmlOPLag0OEDVysofgVDhWO_dbwFdUyzypA43A3qZswL_CkB.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1"},"nextTrack":{"artist":"Ratatat","title":"Two","album":"9 Beats","albumArtUri":"/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJN2rKe7xOc42oFmb88-Mp1hhk_TFXSosX6gpCzOdTGQYBAX9hQGy_mZ.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1","duration":129,"uri":"x-sonos-http:_dklxfo-EJN2rKe7xOc42oFmb88-Mp1hhk_TFXSosX6gpCzOdTGQYBAX9hQGy_mZ.mp3?sid=151&amp;flags=8192&amp;sn=1","absoluteAlbumArtUri":"http://192.168.1.6:1400/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJN2rKe7xOc42oFmb88-Mp1hhk_TFXSosX6gpCzOdTGQYBAX9hQGy_mZ.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1"},"trackNo":1,"elapsedTime":38,"elapsedTimeFormatted":"00:00:38","playbackState":"PLAYING","playMode":{"repeat":"none","shuffle":false,"crossfade":false}},"roomName":"Kitchen","coordinator":"RINCON_949F3EF6E88801400","groupState":{"volume":8,"mute":false}},"members":[{"uuid":"RINCON_949F3EF6E88801400","state":{"volume":8,"mute":false,"equalizer":{"bass":-2,"treble":4,"loudness":true},"currentTrack":{"artist":"Ratatat","title":"One","album":"9 Beats","albumArtUri":"/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJPlQepCmmlOPLag0OEDVysofgVDhWO_dbwFdUyzypA43A3qZswL_CkB.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1","duration":162,"uri":"x-sonos-http:_dklxfo-EJPlQepCmmlOPLag0OEDVysofgVDhWO_dbwFdUyzypA43A3qZswL_CkB.mp3?sid=151&amp;flags=8192&amp;sn=1","type":"track","stationName":"","absoluteAlbumArtUri":"http://192.168.1.6:1400/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJPlQepCmmlOPLag0OEDVysofgVDhWO_dbwFdUyzypA43A3qZswL_CkB.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1"},"nextTrack":{"artist":"Ratatat","title":"Two","album":"9 Beats","albumArtUri":"/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJN2rKe7xOc42oFmb88-Mp1hhk_TFXSosX6gpCzOdTGQYBAX9hQGy_mZ.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1","duration":129,"uri":"x-sonos-http:_dklxfo-EJN2rKe7xOc42oFmb88-Mp1hhk_TFXSosX6gpCzOdTGQYBAX9hQGy_mZ.mp3?sid=151&amp;flags=8192&amp;sn=1","absoluteAlbumArtUri":"http://192.168.1.6:1400/getaa?s=1&amp;u=x-sonos-http%3a_dklxfo-EJN2rKe7xOc42oFmb88-Mp1hhk_TFXSosX6gpCzOdTGQYBAX9hQGy_mZ.mp3%3fsid%3d151%26flags%3d8192%26sn%3d1"},"trackNo":1,"elapsedTime":38,"elapsedTimeFormatted":"00:00:38","playbackState":"PLAYING","playMode":{"repeat":"none","shuffle":false,"crossfade":false}},"roomName":"Kitchen","coordinator":"RINCON_949F3EF6E88801400","groupState":{"volume":8,"mute":false}}]}]

</code></pre>
<p dir="auto">How do I determine where the problem is? It seems like perhaps the module isn’t receiving the information it needs about the track being played. The state of my Sonos players is being transmitted, as the module will hide/unhide when the the state of a Sonos changes.</p>
<p dir="auto">Thanks for your input; I’m learning this as I go.</p>
]]></description><link>https://forum.magicmirror.builders/topic/7602/mmm-sonos-not-displaying</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 20:42:22 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/7602.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Jul 2018 19:28:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Sonos not displaying on Tue, 17 Jul 2018 17:36:37 GMT]]></title><description><![CDATA[<p dir="auto">I’ve been messing with this off and on for the last few days. Perhaps I should clarify that I’m trying to get this working on a Pi Zero W. MM runs on the Pi Zero W just fine, but this module doesn’t. I installed MM and MMM-Sonos on a Pi 3b, and both work just fine. I’m wondering if this couldn’t be an issue with node being an older versionon the Zero W?</p>
]]></description><link>https://forum.magicmirror.builders/post/42330</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42330</guid><dc:creator><![CDATA[jkindelspire]]></dc:creator><pubDate>Tue, 17 Jul 2018 17:36:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos not displaying on Thu, 12 Jul 2018 21:15:14 GMT]]></title><description><![CDATA[<p dir="auto">The service is running and I did create an auto start with pm2. It’s very strange to me, as I can even control my Sonos from my Chrome on my laptop with the commands for node-sonos-http-api (e.g, <a href="http://192.168.1.xxx:5005/pauseall" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.xxx:5005/pauseall</a>).</p>
]]></description><link>https://forum.magicmirror.builders/post/42216</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42216</guid><dc:creator><![CDATA[jkindelspire]]></dc:creator><pubDate>Thu, 12 Jul 2018 21:15:14 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos not displaying on Wed, 11 Jul 2018 17:50:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">maybe a stupid advice, but did you run the service ?</p>
<blockquote>
<p dir="auto">How to Install Sonos-API</p>
<p dir="auto">To install the Sonos-API just clone the repository to your PI.</p>
<p dir="auto">git clone <a href="https://github.com/jishi/node-sonos-http-api.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/jishi/node-sonos-http-api.git</a></p>
<p dir="auto">Navigate to the new node-sonos-http-api folder and install the node dependencies.</p>
<p dir="auto">cd node-sonos-http-api &amp;&amp; npm install --production</p>
<p dir="auto">Now you can run the service with:</p>
<p dir="auto">npm start</p>
</blockquote>
<p dir="auto">and it has to be run each time your restart, so the advice of the dev is to create and auto start with pm2.</p>
<p dir="auto">good luck !</p>
]]></description><link>https://forum.magicmirror.builders/post/42190</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42190</guid><dc:creator><![CDATA[AgP42]]></dc:creator><pubDate>Wed, 11 Jul 2018 17:50:31 GMT</pubDate></item></channel></rss>