Swap - Problem



  • Is there a way to see if a module is actually working ?
    Both modules ( to be swapped ) are shown on the screen - no swap.

    Here is my ‘swap’ related config :

                {
                  module: 'swap',   // as supplied by KirAsh4
                  config: {
                    showsecs: 30,   // seconds each module is shown (default =30)
                    fadems: 4000,   // fade time in ms (default = 4000)
                    modA: 'MMM-YrNow',  // both modules need to be listed NEXT
                    modB: 'MMM-YrThen' // they should be of similar size and in the same location
                  }
                },
    
                {
                module: 'MMM-YrNow',
                position: 'top_right',
                config: {
                        locationId: '1-24780',
                       showWeatherForecast: true
                        }
                },
    
                {
                module: 'MMM-YrThen',
                position: 'top_right',
                config: {
                        location: '1-24780',
                        numDetails: 1,
                        }
                },
    

    Thanks, Wolfgang



  • @howi42 This module was never released through github or similar, are you sure you didn’t made a copy paste mistake? Did you create the module? Is it named swap? Does it exist in the directory ~/MagicMirror/modules/swap/swap.js ? Does the file have this line Module.register("swap", {? …

    It’s probably easier to just use the official released module https://github.com/barnabycolby/MMM-Carousel



  • Thanks, you are right.
    Will do that.

    • Wolfgang

Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.