<?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 - Display what is currently playing on your Sonos network]]></title><description><![CDATA[<p dir="auto">Hi there.</p>
<p dir="auto">I realised there is already a couple of modules for Sonos, but they didn’t really worked for me. I wanted something more minimalist, and easier to install: all sonos modules right now require to install and run a proxy sonos API server along side MagicMirror. My module doesn’t: clone it, install it and there you go!</p>
<p dir="auto">All necessary information (configuration, screenshot) is available on the GitHub repository: <a href="https://github.com/tbouron/MMM-Sonos" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/tbouron/MMM-Sonos</a></p>
<p dir="auto">Hope you’ll enjoy!</p>
<p dir="auto"><img src="/assets/uploads/files/1577188816292-screenshot.png" alt="0_1577188815998_screenshot.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/11849/mmm-sonos-display-what-is-currently-playing-on-your-sonos-network</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 00:16:53 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11849.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Dec 2019 12:01:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 16 Jul 2020 08:48:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a></p>
<p dir="auto">Yes my sonos are on the same lan, i let it all the night and didn’t find them. I can ping them from my magic mirror.</p>
<p dir="auto">And i don’t have any other messages in log :(</p>
<p dir="auto">Can i send so command line to have more information ?</p>
]]></description><link>https://forum.magicmirror.builders/post/78592</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78592</guid><dc:creator><![CDATA[Desaydrone]]></dc:creator><pubDate>Thu, 16 Jul 2020 08:48:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 16 Jul 2020 08:05:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/desaydrone" aria-label="Profile: Desaydrone">@<bdi>Desaydrone</bdi></a> The error message suggest the plugin is not able to find a Sonos device on the network. Although, it automatically retries until it finds one.</p>
<p dir="auto">Is there any other messages like this on the logs? Are you sure your speakers are on the same LAN?</p>
]]></description><link>https://forum.magicmirror.builders/post/78591</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78591</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Thu, 16 Jul 2020 08:05:46 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Wed, 15 Jul 2020 16:44:39 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I install this module but i got this error :</p>
<pre><code>0|mm  | Failed to get groups: No device found. Retrying in 1 seconds ...
</code></pre>
<p dir="auto">Did i made a mistake ?</p>
]]></description><link>https://forum.magicmirror.builders/post/78551</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78551</guid><dc:creator><![CDATA[Desaydrone]]></dc:creator><pubDate>Wed, 15 Jul 2020 16:44:39 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Fri, 29 May 2020 05:29:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ph1tch" aria-label="Profile: PH1TCH">@<bdi>PH1TCH</bdi></a> I don’t want to have to support something that I don’t use so I’m afraid I’m going to decline.</p>
<p dir="auto">However, seems you are lucky as someone created a fork that includes the album cover: <a href="https://github.com/armybean/MMM-Sonos" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/armybean/MMM-Sonos</a></p>
]]></description><link>https://forum.magicmirror.builders/post/76051</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76051</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Fri, 29 May 2020 05:29:16 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 28 May 2020 20:55:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a> I totally understand your concept and I think you created a really cool and good looking MMM! However, the albumart would be a really nice addition. Is there really no chance of adding it to the module? Sorry for nagging :winking_face:</p>
]]></description><link>https://forum.magicmirror.builders/post/76038</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76038</guid><dc:creator><![CDATA[PH1TCH]]></dc:creator><pubDate>Thu, 28 May 2020 20:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 12 Mar 2020 14:38:18 GMT]]></title><description><![CDATA[<p dir="auto">I am not able to get the module on the screen it is just blank when i play music on my Sonos units. My error log looks as below:</p>
<p dir="auto">Do anyone have an idea to what is wrong?</p>
<p dir="auto">0|mm       |     at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_mod                                                                                                                                                             ules/axios/lib/core/createError.js:16:15)<br />
0|mm       |     at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/                                                                                                                                                             axios/lib/core/settle.js:17:12)<br />
0|mm       |     at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/module                                                                                                                                                             s/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11)<br />
0|mm       |     at IncomingMessage.emit (events.js:187:15)<br />
0|mm       |     at endReadableNT (_stream_readable.js:1090:12)<br />
0|mm       |     at process._tickCallback (internal/process/next_tick.js:63:19)<br />
0|mm       | [15:26:18.931] [ERROR]  (node:1174) UnhandledPromiseRejectionWarnin                                                                                                                                                             g: Unhandled promise rejection. This error originated either by throwing inside                                                                                                                                                              of an async function without a catch block, or by rejecting a promise which was                                                                                                                                                              not handled with .catch(). (rejection id: 26)<br />
0|mm       | [15:26:19.373] [ERROR]  (node:1174) UnhandledPromiseRejectionWarnin                                                                                                                                                             g: Error: Request failed with status code 405<br />
0|mm       |     at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_mod                                                                                                                                                             ules/axios/lib/core/createError.js:16:15)<br />
0|mm       |     at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/                                                                                                                                                             axios/lib/core/settle.js:17:12)<br />
0|mm       |     at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/module                                                                                                                                                             s/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11)<br />
0|mm       |     at IncomingMessage.emit (events.js:187:15)<br />
0|mm       |     at endReadableNT (_stream_readable.js:1090:12)<br />
0|mm       |     at process._tickCallback (internal/process/next_tick.js:63:19)<br />
0|mm       | [15:26:19.380] [ERROR]  (node:1174) UnhandledPromiseRejectionWarnin                                                                                                                                                             g: Unhandled promise rejection. This error originated either by throwing inside                                                                                                                                                              of an async function without a catch block, or by rejecting a promise which was                                                                                                                                                              not handled with .catch(). (rejection id: 31)</p>
]]></description><link>https://forum.magicmirror.builders/post/70521</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70521</guid><dc:creator><![CDATA[thchristensendk]]></dc:creator><pubDate>Thu, 12 Mar 2020 14:38:18 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Sat, 25 Jan 2020 09:38:46 GMT]]></title><description><![CDATA[<p dir="auto">Alright, so I took a deeper look and it turns out that my code to display groups had a bug which made devices reappear even though they were part of a group. That should be fixed now with version <code>1.2.0</code>.</p>
<p dir="auto">I also added a new config flag to display the group’s full name, see <a href="https://github.com/tbouron/MMM-Sonos#configuration-options" target="_blank" rel="noopener noreferrer nofollow ugc">README.md</a></p>
<p dir="auto">Regarding your comment <a class="plugin-mentions-user plugin-mentions-a" href="/user/eliah" aria-label="Profile: eliah">@<bdi>eliah</bdi></a> on group volume, I disagree. The volume displayed is the global volume of group, which is exactly what the sonos app displays. Displaying volume of all members wouldn’t make sense here as this module doesn’t control the speakers (again, the sonos app does exactly this, it displays the group volume, then display individual speaker volume when, and only when, you change the volume)<br />
That’s why I’m going to skip your request. However if you strongly feel it should be there, the code is open source on GitHub so feel free to fork the repo and implement it :)</p>
<p dir="auto">And finally, simply <code>git fetch origin &amp;&amp; git pull origin master</code> within <code>MMM-Sonos</code> folder to update the module. Enjoy!</p>
]]></description><link>https://forum.magicmirror.builders/post/68604</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68604</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Sat, 25 Jan 2020 09:38:46 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Tue, 14 Jan 2020 23:57:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hweigel" aria-label="Profile: hweigel">@<bdi>hweigel</bdi></a> Thanks, that’s very much appreciated!</p>
<p dir="auto">The module specifies classes for each element, <a href="https://github.com/tbouron/MMM-Sonos/blob/master/MMM-Sonos.js#L94" target="_blank" rel="noopener noreferrer nofollow ugc">like this one for the track</a> so you can customise the font size via your <code>custom.css</code></p>
]]></description><link>https://forum.magicmirror.builders/post/68024</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68024</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Tue, 14 Jan 2020 23:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Tue, 14 Jan 2020 22:15:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a>: first of all, very noice module, chapeau! Now the inevitable nag: is there any means of reducing the font size (especially the track)? Any hint/idea appreciated!</p>
]]></description><link>https://forum.magicmirror.builders/post/68016</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68016</guid><dc:creator><![CDATA[hweigel]]></dc:creator><pubDate>Tue, 14 Jan 2020 22:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Sat, 25 Jan 2020 11:17:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eliah" aria-label="Profile: eliah">@<bdi>eliah</bdi></a> I’ll see what I can do. But in the meantime, feel free to open issues and/or PRs on the GitHub repo for potential fixes</p>
]]></description><link>https://forum.magicmirror.builders/post/67875</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67875</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Sat, 25 Jan 2020 11:17:09 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Sat, 11 Jan 2020 19:53:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a> said in <a href="/post/67639">MMM-Sonos - Display what is currently playing on your Sonos network</a>:</p>
<blockquote>
<p dir="auto">I assume you are talking about the second line for <code>artist</code> and <code>album</code> right? I already have sort of partial fix for that (not displaying the album if <code>null</code>). I could do the same thing for the <code>artist</code>. When you are using airplay, is the first line displayed correctly? What does it say? I unfortunately cannot know if something comes through airplay or not, it’s all unified through the Sonos library.</p>
</blockquote>
<p dir="auto">I checked that more. And it looks if I share a song from iTunes via AirPlay, it provides all necessary information, so the data is correct. But if I use YouTube, then it is empty. Song name is just empty, and both singer and album names are displayed as (null).</p>
<blockquote>
<p dir="auto">That would be a bug in the underlying Sonos library. I just listening for events and display whatever comes from there.</p>
</blockquote>
<p dir="auto">That’s bad. :( As I can see, sometimes it just gets crazy. Shows me up instances of the same, when only one group plays. Looks like the library behind node-http-sonos-api required for another modules of the same type is more stable currently.</p>
<blockquote>
<p dir="auto">The Sonos library doesn’t give me this information unfortunately so that won’t be possible to do for now.</p>
</blockquote>
<p dir="auto">I believe it gives in fact. As I can see from Sonos module, its class SonosGroup contains Members. I believe it can be used to count number of members in the current group, and if there is more than one, not output the volume. Alternatively, I believe it should be possible to extract exact names of members from the Group to construct a more user-friendly custom name to use in metadata  (i.e. not “Kitchen+2”, but “Kitchen, Corridor, Bathroom”).</p>
]]></description><link>https://forum.magicmirror.builders/post/67872</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67872</guid><dc:creator><![CDATA[eliah]]></dc:creator><pubDate>Sat, 11 Jan 2020 19:53:14 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Wed, 08 Jan 2020 16:30:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eliah" aria-label="Profile: eliah">@<bdi>eliah</bdi></a> Awesome! Thanks for the feedback, I’ll cleanup and push the changes as soon as possible :)</p>
<p dir="auto">Regarding the other issues:</p>
<blockquote>
<p dir="auto">Value for song length minutes has no leading zero, so when a song’s length is 2:04 it shows 2:4.</p>
</blockquote>
<p dir="auto">I already fixed that, it’s in a branch since Christmas but I was waiting for your feedback on the group scan issue to release it.</p>
<blockquote>
<p dir="auto">any of speakers are used directly by AirPlay, it shows (null) (null). Maybe it’s better to ignore AirPlay mode if no information is available for it?</p>
</blockquote>
<p dir="auto">I assume you are talking about the second line for <code>artist</code> and <code>album</code> right? I already have sort of partial fix for that (not displaying the album if <code>null</code>). I could do the same thing for the <code>artist</code>. When you are using airplay, is the first line displayed correctly? What does it say? I unfortunately cannot know if something comes through airplay or not, it’s all unified through the Sonos library.</p>
<blockquote>
<p dir="auto">Not sure if it is a bug of a module or Sonos library behind it, but for some reason the group names are sometimes become incorrect. For example, if I start a playlist on three speakers in the same group, first it shows something like “Kitchen+2” (and that’s correct), but after some time it becomes just “Kitchen” (same 3 speakers are playing).</p>
</blockquote>
<p dir="auto">That would be a bug in the underlying Sonos library. I just listening for events and display whatever comes from there.</p>
<blockquote>
<p dir="auto">And additionally, if more than one speaker is playing in the same group, each of them can have its own volume. In this case the single volume indicator that your module outputs to the screen becomes useless.</p>
</blockquote>
<p dir="auto">The Sonos library doesn’t give me this information unfortunately so that won’t be possible to do for now.</p>
]]></description><link>https://forum.magicmirror.builders/post/67639</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67639</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Wed, 08 Jan 2020 16:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Wed, 08 Jan 2020 15:18:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a> It looks like the issue is now fixed, no constant updates anymore! Thank you. :)<br />
Some more issues I noticed:</p>
<ol>
<li>Value for song length minutes has no leading zero, so when a song’s length is 2:04 it shows 2:4.</li>
<li>If any of speakers are used directly by AirPlay, it shows (null) (null). Maybe it’s better to ignore AirPlay mode if no information is available for it?</li>
<li>Not sure if it is a bug of a module or Sonos library behind it, but for some reason the group names are sometimes become incorrect. For example, if I start a playlist on three speakers in the same group, first it shows something like “Kitchen+2” (and that’s correct), but after some time it becomes just “Kitchen” (same 3 speakers are playing).<br />
And additionally, if more than one speaker is playing in the same group, each of them can have its own volume. In this case the single volume indicator that your module outputs to the screen becomes useless.</li>
</ol>
]]></description><link>https://forum.magicmirror.builders/post/67617</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67617</guid><dc:creator><![CDATA[eliah]]></dc:creator><pubDate>Wed, 08 Jan 2020 15:18:41 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Tue, 07 Jan 2020 15:19:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jas" aria-label="Profile: Jas">@<bdi>Jas</bdi></a> No problem. Feel free to add an issue on <a href="https://github.com/tbouron/MMM-Sonos/issues" target="_blank" rel="noopener noreferrer nofollow ugc">GitHub</a>. If enough people really want it and +1 the issue, I’ll consider doing it ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/67527</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67527</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Tue, 07 Jan 2020 15:19:30 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Tue, 07 Jan 2020 15:17:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a> Got it!  Thank you for the quick response.  Looks great!</p>
]]></description><link>https://forum.magicmirror.builders/post/67525</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67525</guid><dc:creator><![CDATA[Jas]]></dc:creator><pubDate>Tue, 07 Jan 2020 15:17:18 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Tue, 07 Jan 2020 15:09:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/jas" aria-label="Profile: Jas">@<bdi>Jas</bdi></a> and thanks!</p>
<p dir="auto">Both of these are not supported. The concept of the module was to have a <code>Sonos now playing...</code> module with minimalist design hence:</p>
<ul>
<li>only vital information: title, artist, album (can be toggled), metadata: room, volume and track length (can be toggled)</li>
<li>no album artwork</li>
<li>show only rooms where music is playing, otherwise show nothing to avoid clutter</li>
</ul>
<p dir="auto">It would not be too hard to do all the above, but I don’t plan to do it anytime soon because of the concept.</p>
]]></description><link>https://forum.magicmirror.builders/post/67524</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67524</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Tue, 07 Jan 2020 15:09:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Tue, 07 Jan 2020 14:54:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a>  Beautiful module.  How can I get the album art and Rooms that are stopped to also show up?  What other info can I display?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/67523</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67523</guid><dc:creator><![CDATA[Jas]]></dc:creator><pubDate>Tue, 07 Jan 2020 14:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Sun, 05 Jan 2020 10:49:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/eliah" aria-label="Profile: eliah">@<bdi>eliah</bdi></a>. Can you try the version on the branch <code>fix/group-scan</code> and tell me how it goes ?</p>
<p dir="auto">You would just need to go into the <code>MMM-Sonos</code> folder and do:</p>
<pre><code>git fetch &amp;&amp; git checkout fix/group-scan
</code></pre>
<p dir="auto">Thanks :)</p>
]]></description><link>https://forum.magicmirror.builders/post/67228</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67228</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Sun, 05 Jan 2020 10:49:16 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Fri, 03 Jan 2020 17:41:19 GMT]]></title><description><![CDATA[<p dir="auto">sure, I can test if you have any ideas why it is happening.</p>
]]></description><link>https://forum.magicmirror.builders/post/67143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67143</guid><dc:creator><![CDATA[eliah]]></dc:creator><pubDate>Fri, 03 Jan 2020 17:41:19 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 02 Jan 2020 20:43:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eliah" aria-label="Profile: eliah">@<bdi>eliah</bdi></a> That’s interesting, it would suggest that the group IDs are not consistent (as groups are cached by IDs) which obviously shouldn’t happen. I’m also wondering if targeting a random device on every scan has any implications on this (but it shouldn’t, at least I cannot reproduce this on my own network)</p>
<p dir="auto">Would it possible for you to test a different version? I would like to see how it can be mitigated.</p>
]]></description><link>https://forum.magicmirror.builders/post/67039</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67039</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Thu, 02 Jan 2020 20:43:38 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 02 Jan 2020 19:38:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a>,<br />
In my case it seems that the script always consider that groups have changed, but that’s not true in fact. The log is full of repeating lines like that:</p>
<pre><code>[14:18:03.026] [LOG]    Found new (or updated) group "Kitchen + 1" on host "x.x.x.34"
[14:18:03.029] [LOG]    Registering listeners on group "Kitchen + 1" (host "x.x.x.34")
[14:18:03.281] [LOG]    [Group Kitchen + 1 - x.x.x.34] Track changed to "Pokerface" by "The Baseballs"
[14:18:03.289] [LOG]    [Group Kitchen + 1 - x.x.x.34] Play state change to "paused"
[14:18:03.353] [LOG]    [Group Kitchen + 1 - x.x.x.34] Volume changed to "13"
[14:18:03.361] [LOG]    [Group Kitchen + 1 - x.x.x.34] Group is unmuted
[14:18:07.847] [LOG]    Found new (or updated) group "Bathroom" on host "x.x.x.39"
[14:18:07.849] [LOG]    Registering listeners on group "Bathroom" (host "x.x.x.39")
[14:18:07.852] [LOG]    Found new (or updated) group "Kids’ Room" on host "x.x.x.40"
[14:18:07.854] [LOG]    Registering listeners on group "Kids’ Room" (host "x.x.x.40")
[14:18:08.045] [LOG]    [Group Kids’ Room - x.x.x.40] Track changed to "Durch den Monsun" by "Annett Louisan"
[14:18:08.053] [LOG]    [Group Kids’ Room - x.x.x.40] Play state change to "paused"
[14:18:08.081] [LOG]    [Group Bathroom - x.x.x.39] Track changed to "Umbrella" by "The Baseballs"
[14:18:08.088] [LOG]    [Group Bathroom - x.x.x.39] Play state change to "paused"
[14:18:08.157] [LOG]    [Group Kids’ Room - x.x.x.40] Volume changed to "22"
[14:18:08.163] [LOG]    [Group Kids’ Room - x.x.x.40] Group is unmuted
[14:18:08.213] [LOG]    [Group Bathroom - x.x.x.39] Volume changed to "15"
[14:18:08.216] [LOG]    [Group Bathroom - x.x.x.39] Group is unmuted
[14:18:13.066] [LOG]    Found new (or updated) group "Kitchen + 1" on host "x.x.x.34"
[14:18:13.069] [LOG]    Registering listeners on group "Kitchen + 1" (host "x.x.x.34")
[14:18:13.507] [LOG]    [Group Kitchen + 1 - x.x.x.34] Track changed to "Pokerface" by "The Baseballs"
[14:18:13.514] [LOG]    [Group Kitchen + 1 - x.x.x.34] Play state change to "paused"
[14:18:13.593] [LOG]    [Group Kitchen + 1 - x.x.x.34] Volume changed to "13"
[14:18:13.597] [LOG]    [Group Kitchen + 1 - x.x.x.34] Group is unmuted
[14:18:18.029] [LOG]    Found new (or updated) group "Kids’ Room" on host "x.x.x.40"
[14:18:18.032] [LOG]    Registering listeners on group "Kids’ Room" (host "x.x.x.40")
[14:18:18.036] [LOG]    Found new (or updated) group "Bathroom" on host "x.x.x.39"
[14:18:18.040] [LOG]    Registering listeners on group "Bathroom" (host "x.x.x.39")
[14:18:18.277] [LOG]    [Group Kids’ Room - x.x.x.40] Track changed to "Durch den Monsun" by "Annett Louisan"
[14:18:18.285] [LOG]    [Group Kids’ Room - x.x.x.40] Play state change to "paused"
[14:18:18.309] [LOG]    [Group Bathroom - x.x.x.39] Track changed to "Umbrella" by "The Baseballs"
[14:18:18.318] [LOG]    [Group Bathroom - x.x.x.39] Play state change to "paused"
[14:18:18.408] [LOG]    [Group Kids’ Room - x.x.x.40] Volume changed to "22"
[14:18:18.414] [LOG]    [Group Kids’ Room - x.x.x.40] Group is unmuted
[14:18:18.434] [LOG]    [Group Bathroom - x.x.x.39] Volume changed to "15"
[14:18:18.437] [LOG]    [Group Bathroom - x.x.x.39] Group is unmuted
[14:18:23.059] [LOG]    Found new (or updated) group "Kitchen + 1" on host "x.x.x.34"
[14:18:23.063] [LOG]    Registering listeners on group "Kitchen + 1" (host "x.x.x.34")
[14:18:23.248] [LOG]    [Group Kitchen + 1 - x.x.x.34] Track changed to "Pokerface" by "The Baseballs"
[14:18:23.255] [LOG]    [Group Kitchen + 1 - x.x.x.34] Play state change to "paused"
[14:18:23.353] [LOG]    [Group Kitchen + 1 - x.x.x.34] Volume changed to "13"
[14:18:23.359] [LOG]    [Group Kitchen + 1 - x.x.x.34] Group is unmuted
[14:18:27.955] [LOG]    Found new (or updated) group "Kids’ Room" on host "x.x.x.40"
[14:18:27.959] [LOG]    Registering listeners on group "Kids’ Room" (host "x.x.x.40")
[14:18:27.965] [LOG]    Found new (or updated) group "Bathroom" on host "x.x.x.39"
[14:18:27.969] [LOG]    Registering listeners on group "Bathroom" (host "x.x.x.39")
[14:18:28.311] [LOG]    [Group Kids’ Room - x.x.x.40] Track changed to "Durch den Monsun" by "Annett Louisan"
[14:18:28.316] [LOG]    [Group Kids’ Room - x.x.x.40] Play state change to "paused"
[14:18:28.343] [LOG]    [Group Bathroom - x.x.x.39] Track changed to "Umbrella" by "The Baseballs"
[14:18:28.351] [LOG]    [Group Bathroom - x.x.x.39] Play state change to "paused"
[14:18:28.430] [LOG]    [Group Kids’ Room - x.x.x.40] Volume changed to "22"
[14:18:28.434] [LOG]    [Group Kids’ Room - x.x.x.40] Group is unmuted
[14:18:28.471] [LOG]    [Group Bathroom - x.x.x.39] Volume changed to "15"
[14:18:28.474] [LOG]    [Group Bathroom - x.x.x.39] Group is unmuted

</code></pre>
<p dir="auto">And as I said before, actually all speakers are paused so nothing is really playing.</p>
]]></description><link>https://forum.magicmirror.builders/post/67036</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67036</guid><dc:creator><![CDATA[eliah]]></dc:creator><pubDate>Thu, 02 Jan 2020 19:38:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 02 Jan 2020 18:02:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/eliah" aria-label="Profile: eliah">@<bdi>eliah</bdi></a>, thanks for your comment!<br />
The module looking for groups regularly is by design: there is unfortunately no event when groups changes therefore they are pulled every 5 seconds. The listeners are set <strong>only when groups have changed</strong>.</p>
<p dir="auto">I checked on my mirror and cannot see a difference of CPU usage with or without the module enabled. How “bad” is the CPU hog on yours?</p>
]]></description><link>https://forum.magicmirror.builders/post/67017</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67017</guid><dc:creator><![CDATA[tbouron]]></dc:creator><pubDate>Thu, 02 Jan 2020 18:02:57 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Sonos - Display what is currently playing on your Sonos network on Thu, 02 Jan 2020 11:35:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/tbouron" aria-label="Profile: tbouron">@<bdi>tbouron</bdi></a>,<br />
Great idea to simplify SONOS integration installation!<br />
Your module works for me, and I like that it updates the data almost instantly comparing to other modules that do it on schedule.<br />
But in my case your module constantly thinks that something have updated in SONOS groups, even if nothing is currently being played. So it constantly updates the groups, sets listener, causing high CPU utilization by Electron.</p>
]]></description><link>https://forum.magicmirror.builders/post/66972</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66972</guid><dc:creator><![CDATA[eliah]]></dc:creator><pubDate>Thu, 02 Jan 2020 11:35:09 GMT</pubDate></item></channel></rss>