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

MMM-Carousel & basic KeyBindings not working

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 2 Posters 929 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.
  • B Offline
    brentmatthews
    last edited by Aug 28, 2024, 2:17 PM

    Hi all,

    I had set up MMM-Carousel and MMM-KeyBindings with the default suggestions on the module pages for running these two together with a regular keyboard, however the arrow keys are not changing the slides. Please see below, any help would be great.

    		{
    			module: "MMM-KeyBindings",
    			config: {
    			evdev: {enabled: false},
    			enableKeyboard: true,
    			}
    		},
    		{
    			module: "MMM-Carousel",
    			disabled: false,
          			position: "bottom_bar", // Required only for navigation controls
          			config: {
            			transitionInterval: 10000, //20000,
            			ignoreModules: ['alert', 'updatenotification', 'MMM-KeyBindings'],
    				mode: "slides",				
                    		showPageIndicators: true,
                    		showPageControls: true,				
    				slides: {
              				main: ['clock', 'MMM-OpenWeatherForecast', 'MMM-WOTD', 'MMM-BackgroundSlideshow'],
              				"Slide 2": ['clock', 'MMM-OpenWeatherForecast', 'MMM-MyCalendar', 'MMM-TomTomCalculateRouteTraffic', 'MMM-MyWastePickup', 'MMM-BackgroundSlideshow'],
    					"Slide 3": ['clock', 'MMM-OpenWeatherForecast', 'MMM-WOTD', 'MMM-BackgroundSlideshow'],
    				},
    				keyBindings: {
    					enabled: true,
    					map: {
    						NextSlide: "ArrowRight",
    						PrevSlide: "ArrowLeft",
    						Pause: "ArrowDown",
    						Slide0: "Home"
    						},
    						mode: "DEFAULT"
    	        			}
    				},
    
    S 1 Reply Last reply Aug 28, 2024, 2:24 PM Reply Quote 0
    • S Offline
      sdetweil @brentmatthews
      last edited by Aug 28, 2024, 2:24 PM

      @brentmatthews can you install mmm-ViewNotifications

      so you can tell if keybindings is sending the notification

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Aug 28, 2024, 2:34 PM Reply Quote 0
      • B Offline
        brentmatthews @sdetweil
        last edited by Aug 28, 2024, 2:34 PM

        @sdetweil There are no notifications being sent when I hit the keyboard buttons.

        S 2 Replies Last reply Aug 28, 2024, 3:10 PM Reply Quote 0
        • S Offline
          sdetweil @brentmatthews
          last edited by Aug 28, 2024, 3:10 PM

          @brentmatthews so keybindings is having trouble

          can you open the developers window, ctrl-shift-i
          and select the console tab, and scroll to the top to see if there are any errors reported.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @brentmatthews
            last edited by Aug 28, 2024, 3:53 PM

            @brentmatthews I installed keybindings and viewnotifications
            and I see the keypress for left/right arrow (in the notifications window)

            but looking any Carousel it says

            if (notification === "KEYPRESS") Log.log(`${this.config.name}: notification ${notification} from ${sender.name}`);
            

            ok… but that doesn’t DO anything except report the keypress…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 2 Replies Last reply Aug 28, 2024, 9:29 PM Reply Quote 0
            • B Offline
              brentmatthews @sdetweil
              last edited by Aug 28, 2024, 9:29 PM

              @sdetweil I will check it out tonight and see if I can find any errors.

              1 Reply Last reply Reply Quote 1
              • B Offline
                brentmatthews @sdetweil
                last edited by Aug 29, 2024, 12:15 PM

                @sdetweil I am unable to jump on the computer tonight.

                Would the pages module work with keybindings to move through the pages? Or to the hidden page. Essentially want the main page and a second or hidden page that only comes up with a button click.

                Also considering the remote module to have the toggle switch to just turn on the extra modules I have shown on the second page when needed.

                S 1 Reply Last reply Aug 29, 2024, 12:40 PM Reply Quote 0
                • S Offline
                  sdetweil @brentmatthews
                  last edited by Aug 29, 2024, 12:40 PM

                  @brentmatthews i think the default config for keybindings is not correct

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 2 Replies Last reply Aug 29, 2024, 1:35 PM Reply Quote 0
                  • B Offline
                    brentmatthews @sdetweil
                    last edited by Aug 29, 2024, 1:35 PM

                    @sdetweil I just managed to jump on. I may have to upgrade my mirror as I saw a minimum requirements and my current version of MM was under that. I am trying to find your update scripts at the moment.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      brentmatthews @sdetweil
                      last edited by Aug 29, 2024, 2:13 PM

                      @sdetweil I have switched back to MMM-pages as it is much cleaner. I will see what other options I have in the notification sending arena to suit me.

                      Any simple suggestions welcome.

                      S 1 Reply Last reply Aug 29, 2024, 2:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/13
                        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