• 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.

Sonos Module

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 7 Posters 8.6k Views 6 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.
  • S Offline
    Snille Module Developer @Atreo
    last edited by Mar 7, 2017, 1:18 PM

    @Atreo Hehe, yes. But let’s keep it to English anyway. :)
    You are using my “fork” of the “MMM-Sonos” right, if not some of the config-stuff will not work. :)
    This is my fork: https://github.com/Snille/MMM-Sonos

    If you cant find it, make it and share it!
    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dicous
      last edited by Dicous Mar 28, 2017, 4:57 PM Mar 28, 2017, 4:52 PM

      Can someone please share a working config? Please ^^

      My following does not work:

      module: 'MMM-Sonos',
      	header: "Playing on SONOS",
      	position: "top_left", 
      	classes: "default everyone",
      	config: {
      				apiBase: "http://localhost",
      				apiPort: 5005,
      				showAlbumArt: true,
      				showRoomName: true,
      				showPausedZone: false,
      				showStoppedRoom: false,
      				preRoomText: 'Raum: ',
      				preArtistText: 'Artist: ',
      				preTrackText: 'Lied: ',
      				preTypeText: 'Quelle: ',
      				animationSpeed: 1000,
      				apiEndpoint: "zones",
      				exclude: []
      				}
      
      S 1 Reply Last reply Mar 29, 2017, 10:40 AM Reply Quote 0
      • S Offline
        Snille Module Developer @Dicous
        last edited by Mar 29, 2017, 10:40 AM

        @Dicous What happens, what does not work?

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dicous
          last edited by Mar 29, 2017, 1:30 PM

          There is always the “Loading music …”

          S 1 Reply Last reply Mar 29, 2017, 1:39 PM Reply Quote 0
          • S Offline
            Snille Module Developer @Dicous
            last edited by Mar 29, 2017, 1:39 PM

            @Dicous Do you get the “zones” when you check the sonos-web-api? If you have it on the mirror: http://the-ip-to-your-mirror:5005/zones
            You should get a list of all the zones and lot’s of data from the sonos-web-api.

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

            L 1 Reply Last reply Dec 26, 2023, 5:54 PM Reply Quote 0
            • T Offline
              thymon
              last edited by Jul 11, 2019, 3:22 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • L Offline
                luisestrada @Snille
                last edited by Dec 26, 2023, 5:54 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • T Offline
                  Thorn2910
                  last edited by Jan 13, 2024, 10:10 AM

                  I had exactly the same issue!

                  MMM-Sonos Version v.0.0.1 released beginning of 2024

                  Chnged in MMM-Sonos.js th following part
                  from

                  apiBase: 'http://localhost',
                  

                  to

                  apiBase: 'http://192.168.1.22',
                  

                  Obviously change the IP addess accordingly

                  For additional info my MMM-Sonos part config.js in /MagicMirror/config/config.js

                   {
                                          module: 'MMM-Sonos',
                                          //header: "Sonos",
                                          position: 'top_center', // you may choose any location
                                          config: {
                                                                  showStoppedRoom: false,
                                                                  albumArtLocation: "left",
                                                  }
                                  },
                  

                  then it worked! With http://localhost I always got

                  [ERROR] Failure: Error: connect ECONNREFUSED ::1:5005
                  

                  in the logs

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