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.4k 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

      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

        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

          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

            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

              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
              • First post
                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