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

Scheduled Pinned Locked Moved System
51 Posts 8 Posters 18.0k Views 12 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 @MisterT
    last edited by Jun 24, 2019, 5:55 PM

    @MisterT
    0_1561398753466_GX90uKR.png
    If you get one similar with this (All address are shown), It would be something wrong.
    Only 73 should be shown. There might be dead pin or H/W failure.

    M 1 Reply Last reply Jun 25, 2019, 5:13 PM Reply Quote 0
    • M Offline
      MisterT @Guest
      last edited by Jun 25, 2019, 5:13 PM

      @Sean thanks for your answer it was a H/W failure I2C was not activate and i don’t know why ? I enabled I2c with raspi-config and shutdown the pi. I pluged my sensor again and it works

      1 Reply Last reply Reply Quote 0
      • J Offline
        jim.dw
        last edited by Jan 2, 2020, 11:27 AM

        @Sean Hi mate, just dipping my toe in to the whole Magic Mirror world and loving it. Was just wondering if there’s any way to control MMM-Carousel and MMM-CECControl using the output from MMM-GroveGestures?

        I’m thinking

        • Clockwise for next slide
        • Anti clockwise for previous slide
        • UP to send the wake up signal on HDMI
        • Down to send the sleep signal on HDMI
        ? 1 Reply Last reply Jan 2, 2020, 11:39 AM Reply Quote 0
        • ? Offline
          A Former User @jim.dw
          last edited by A Former User Jan 2, 2020, 11:40 AM Jan 2, 2020, 11:39 AM

          @jim-dw
          Well, I’m not the author of those modules, so Ask these to the creator of MMM-Carousel / MMM-CECControl ;(Or need to check by yourself)

          • Are there notifications for that purpose?
          • Or Are there method of module class for that purpose?
          • Or controllable by external shell script or HTTP API?

          At least one of them possible, it could.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jim.dw
            last edited by Jan 2, 2020, 12:20 PM

            @Sean lol. Good point.

            I guess what confused me is this code below. I understand ‘clock’ or ‘newsfeed’ can be swapped out for ‘mmm-ceccontrol’ or ‘mmm-carousel’ it’s just figuring out how I send the command.

            Is it “module.hide()” that needs to be replaced?

            Sorry for this. Still learning

            moduleExec: {
            module: [“clock”, “newsfeed”], // [] will be all modules.
            exec: (module, gestures) => {
            module.hide()
            }
            }

            ? 1 Reply Last reply Jan 2, 2020, 1:52 PM Reply Quote 0
            • ? Offline
              A Former User @jim.dw
              last edited by Jan 2, 2020, 1:52 PM

              @jim-dw
              right. “.hide()” is a common method of every module should have. Usually, module developer need to implement that method by his own or just leave it as inheritance from parent class. So, every module will have that “hide()” method definitely.
              Now, let’s see your needs.
              For example;
              If MMM-Carousel has specific method like “changePage(pageNo)”(IDK whether really it exists o not), you can call that method with “moduleExec”
              However I’m not the author of MMM-Carousel, so don’t know it supports or not. Ask to the author.

              S J 2 Replies Last reply Jan 2, 2020, 2:03 PM Reply Quote 0
              • S Away
                sdetweil @Guest
                last edited by Jan 2, 2020, 2:03 PM

                @Sean hide() technically turns into a suspend function call in the module
                show() turns into resume()

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jim.dw @Guest
                  last edited by Jan 2, 2020, 11:25 PM

                  @Sean You know what, I think I understood that mate. Thank you. I guess I’m gonna have to learn a little bit of python. Thank you

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    banbutcher
                    last edited by Sep 19, 2020, 9:49 AM

                    in the readme file it says it doesnt work behind spy glass, does that include regular glass with a reflective film?

                    im guessing that it wont work but hoping that it will! :)

                    thanks

                    ? 1 Reply Last reply Sep 20, 2020, 12:05 PM Reply Quote 0
                    • ? Offline
                      A Former User @banbutcher
                      last edited by Sep 20, 2020, 12:05 PM

                      @banbutcher
                      Not tested, so not sure. The issue relies on the thickness of the glass.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      • 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