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-GroveGesture to control MMM-Carousel & MMM-CECControl

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 567 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.
    • J Offline
      jim.dw
      last edited by

      Hi All, new to this whole thing and I’ve muddled my way towards a nice little selection of modules on my MM2. My plan is to run it on a 40" LED behind a full height mirror in the hallway.

      I think I’ve reached my limit from a technical standpoint so was wondering if anyone could tell me how to control MMM-Carousel and MMM-CECControl from MMM-GroveGestures?

      1. Currently Carousel works on a timed loop and I can’t seem to figure out a way to fire a change slide command.

      2. In MMM-CECControl I can’t see how to send the ON / OFF command, let alone trigger it in GroveGesture.

      Ideally I want to do

      • Up - TV On
      • Down - TV Off
      • Clockwise - Next slide
      • Anti-clockwise - Previous Slide

      I might mess around with combinations like UP UP to display the Wifi Password, but I’m sure once I figure out the above I’ll be sorted.

      Can anyone lend an assist?

      1 Reply Last reply Reply Quote 0
      • J Offline
        jim.dw
        last edited by

        @nischi , @barnabycolby apologies if this is a netiquette faux pas to tag you in as the authors of the modules. I’m still not sure what’s acceptable practice on forums

        1 Reply Last reply Reply Quote 0
        • B Offline
          banbutcher
          last edited by

          Hi,

          Not sure if you got your ideas sorted or not but ive just been tru the same process and i came up with these solutions to my problems, hopefuly you or someone else can find them usefull.

                  "UP": {
                    notificationExec: {
                      notification: "CAROUSEL_GOTO",
                      payload: 4,
                    }
                  },
          
                  "DOWN": {
                    notificationExec: {
                      notification: "CAROUSEL_GOTO",
                      payload: 5,
                    }
                  },
          
                  "LEFT": {
                    notificationExec: {
                      notification: "CAROUSEL_PREVIOUS",
                      payload: null,
                    }
                  },
          
                  "RIGHT": {
                    notificationExec: {
                      notification: "CAROUSEL_NEXT",
                      payload: null,
                    }
                  },
          
          

          I use MONITORON and MONITOROFF for the onIdle and onDetected

              onIdle: {  
          //      shellExec: "vcgencmd display_power 0",
                    notificationExec: {
                      notification: "REMOTE_ACTION",
                      payload: { action: "MONITOROFF", },                      
                                      }
                      },
          
              onDetected: {
          //      shellExec: "vcgencmd display_power 1",
                    notificationExec: {
                      notification: "REMOTE_ACTION",
                      payload: { action: "MONITORON", },                      
                    		    }
              	    },
          

          i also found that if i use MONITOROFF then the shellExec: "vcgencmd display_power 1" command will not work.

          Richie

          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