Read the statement by Michael Teeuw here.
Sonos Module
-
@Atreo Do you get the “zones” up if you do: http://192.168.0.79:5005/zones ?
You should get a list of all the zones and stuff. :) -
@Snille Yes i can my kitchen zone and i hole lot information what the sonos is playing.
-
@Atreo Hmm… Then it should be all good. Can you post your “MMM-Sonos” part of the config?
-
@Atreo This is my “MMM-Sonos” config part…
{ module: "MMM-Sonos", header: "Spelas på SONOS", position: "top_center", classes: "", config: { // The API is not om my RPi. It's on another server... apiBase: "http://ip-of-the-api", apiPort: 5005, showAlbumArt: true, showRoomName: true, showPausedZone: false, showStoppedRoom: false, preRoomText: 'Rum: ', preArtistText: 'Artist: ', preTrackText: 'Spår: ', preTypeText: 'Källa: ', animationSpeed: 1000, apiEndpoint: "zones", exclude: ["Living-Room-SUB"] } },
-
@Snille Thx. I will check your setting vs my.
Trevligt att du har det på svenska = )
Tack återkommer strax -
@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 -
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: [] }
-
@Dicous What happens, what does not work?
-
There is always the “Loading music …”
-
@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.