Skip to content
MagicMirror module that displays playing tracks on your Sonos network
JavaScript CSS
Branch: master
Clone or download
Latest commit c7eec7c Jan 11, 2020

README.md

MagicMirror Module: Sonos

MMM-Sonos is a module for MagicMirror that allows you to display playing tracks on your Sonos network. It support the display of different rooms and track information.

Screenshot of the Sonos module

Usage

Setup

Clone this module into your MagicMirror's modules directory and install dependencies:

cd modules
git clone https://github.com/tbouron/MMM-Sonos
cd MMM-Sonos
npm i

then add the module to your MagicMirror's configuration. Here is an example:

/* MagicMirror/config/config.js */
{
    /* ...your other config here */

    modules: [

        /* ...your other modules here */

        {
            module: 'MMM-Sonos',
            header: 'Now playing',
            position: 'top_left',
            config: {
                animationSpeed: Number,
                showArtist: Boolean,
                showAlbum: Boolean,
                showMetadata: Boolean
            }
        }
    ]
}

Configuration options

Configuration key Description Default Required
animationSpeed Animation speed to display/hide the module when tracks change. This value is in milliseconds 1000 No
showArtist Whether or not display the artist name true No
showAlbum Whether or not display the album name true No
showMetadata Whether or not display the track metadata, i.e. room where it's played, length, volume true No
You can’t perform that action at this time.