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 - Display what is currently playing on your Sonos network

    Scheduled Pinned Locked Moved Entertainment
    25 Posts 8 Posters 7.5k Views 9 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.
    • T Offline
      thchristensendk
      last edited by

      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:

      Do anyone have an idea to what is wrong?

      0|mm | at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_mod ules/axios/lib/core/createError.js:16:15)
      0|mm | at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/ axios/lib/core/settle.js:17:12)
      0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/module s/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11)
      0|mm | at IncomingMessage.emit (events.js:187:15)
      0|mm | at endReadableNT (_stream_readable.js:1090:12)
      0|mm | at process._tickCallback (internal/process/next_tick.js:63:19)
      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)
      0|mm | [15:26:19.373] [ERROR] (node:1174) UnhandledPromiseRejectionWarnin g: Error: Request failed with status code 405
      0|mm | at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_mod ules/axios/lib/core/createError.js:16:15)
      0|mm | at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/ axios/lib/core/settle.js:17:12)
      0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/module s/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11)
      0|mm | at IncomingMessage.emit (events.js:187:15)
      0|mm | at endReadableNT (_stream_readable.js:1090:12)
      0|mm | at process._tickCallback (internal/process/next_tick.js:63:19)
      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)

      1 Reply Last reply Reply Quote 0
      • P Offline
        PH1TCH @tbouron
        last edited by

        @tbouron 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:

        StoffbeuteluweS 1 Reply Last reply Reply Quote 0
        • T Offline
          tbouron Module Developer
          last edited by

          @PH1TCH I don’t want to have to support something that I don’t use so I’m afraid I’m going to decline.

          However, seems you are lucky as someone created a fork that includes the album cover: https://github.com/armybean/MMM-Sonos

          1 Reply Last reply Reply Quote 0
          • StoffbeuteluweS Offline
            Stoffbeuteluwe Project Sponsor @PH1TCH
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • DesaydroneD Offline
              Desaydrone
              last edited by

              Hello,

              I install this module but i got this error :

              0|mm  | Failed to get groups: No device found. Retrying in 1 seconds ...
              

              Did i made a mistake ?

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                tbouron Module Developer @Desaydrone
                last edited by

                @Desaydrone 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.

                Is there any other messages like this on the logs? Are you sure your speakers are on the same LAN?

                1 Reply Last reply Reply Quote 0
                • DesaydroneD Offline
                  Desaydrone
                  last edited by

                  @tbouron

                  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.

                  And i don’t have any other messages in log :(

                  Can i send so command line to have more information ?

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 3 / 3
                  • 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