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.

    Swap - Problem

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 1.5k Views 2 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.
    • ? Offline
      A Former User
      last edited by

      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

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @Guest
        last edited by

        @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

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          Thanks, you are right.
          Will do that.

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