• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-SONOS showing then not showing

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 2 Posters 1.3k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    frogywill Project Sponsor
    last edited by Apr 12, 2019, 6:15 AM

    Hi!
    So I have MMM-Sonos mostly working. ‘Mostly’ because it works normally for a few hours but then, when music has been stopped for a while, it won’t re-appear once music starts playing again. If I restart MM it shows up fine again.

    When it is not showing, the Sonos API server is still working and I can see the correct tracks on the web page (http://ip:5005/zones).

    The logs don’t show any errors so I don’t know where to start looking to troubleshoot it…

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • S Away
      sdetweil
      last edited by Apr 12, 2019, 12:34 PM

      open the developers window

      ctrl-shift-i
      select the console tab
      and scroll up to find any errors (usually red text)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • F Offline
        frogywill Project Sponsor
        last edited by Apr 12, 2019, 3:17 PM

        Interestingly, when the dev window opens, it cause the MM screen to be re-drawn and it makes the Sonos modules appear.

        The console shows no errors…

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil
          last edited by Apr 12, 2019, 4:00 PM

          Can u show your config for this module?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • F Offline
            frogywill Project Sponsor
            last edited by Apr 13, 2019, 3:51 AM

            This is my config. But I think I may have solved it. I was using CSS to hide the “Zone” and “Type” info. If I remove the “visibility hidden” it works. So let’s see after a full day…

            		{
            			module: 'MMM-Sonos',
            			//header: "Now Playing",
            			position: "bottom_bar", // This can be any of the regions, best results in center regions
            			classes: 'daytime_scheduler',
            			config: {
            				// See 'Configuration options' for more information.
            				showStoppedRoom: false,
            				showAlbumArt: true,
            				showRoomName: false,
            				exclude: ["Garden", "Living Room", "Bedroom"],
            			}
            		},
            
            
            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy