MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. dinkybluebug245
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 46
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 That doesnt work. Kitchen is the only room NOT excluded in my config.js

      Kitchen, then group in Living room - shows info.

      Living room, then grouping in Kitchen - doesnt show.

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 I love how you think I know what that means. Ha! I’ll take your word on that and give it a go

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 shouldnt the first line have ‘function’ in it?

      	$.each(data, function (i, item) {
      
      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 Yes I think so.

      Excluding all rooms but ‘Kitchen’,

      Nested rooms "Living rioom, Kitchen’ - shows nothing
      Nested rooms "Kitchen, Living room’ shows info

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 Thanks for all your help.

      Really appreciate it.

      Marc

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 There might be a reason why this hasnt been done before.

      If you exclude all rooms in your house leaving ‘Kitchen’ the only one included in your config file,

      If Kitchen plays music, and then Living room is grouped in with Kitchen the code works
      the name of the rooms displayed would be Kitchen, Living room (the order of the rooms if the order they were grouped)

      but if you have living room playing music and then group in kitchen, then the order is different, :
      Living room, Kitchen

      and then the code doesnt work.

      Im guesing the code you wrote see’s Living room is excluded and then doesnt show the rest?

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 Can I clarify then… would config file under the sonos module be:

      exclude: ‘Bedroom’,‘Living room’,‘Bathroom’,

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 said in Limit Sonos module to only show a specific speaker:

      if(item.coordinator.roomName === ‘Kitchen’){

      It works! hurrah! Thanks. much appreciated.

      not sure how to fork the repository - but I can research this bit.

      Thank again.

      posted in Development
      D
      dinkybluebug245
    • 1 / 1