• 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.
  • B Offline
    Benjaminh86 @bolish
    last edited by Mar 26, 2019, 10:46 AM

    @bolish

    Great!
    I will try tonight the adaptation I made of your script.
    I put the action “MONITOROFF” in the “Default_Mode” part of Grove Gestures, that’s it?

    1 Reply Last reply Reply Quote 0
    • B Offline
      Benjaminh86 @bolish
      last edited by Mar 27, 2019, 7:55 AM

      Hello @bolish,

      thanks to you! everything is working!
      however, I thought Grove Gestures would activate automatically, but I have to make the command line for the sensor to be active:
      cd ~ / MagicMirror / modules / MMM-GroveGestures / py
      cp grove_gesture_sensor.py.RPI grove_gesture_sensor.py
      Is this normal?
      Another question about MMM-Pages; I would like to display the Google Calendar calendar on page 1 and the holiday calendar on page 2, but I do not know how to differentiate and name them on MMM-Pages …
      Do you have an idea?

      ? 1 Reply Last reply Mar 27, 2019, 8:08 AM Reply Quote 0
      • ? Offline
        A Former User @Benjaminh86
        last edited by Mar 27, 2019, 8:08 AM

        @Benjaminh86 said in MMM-GroveGestures:

        cd ~ / MagicMirror / modules / MMM-GroveGestures / py
        cp grove_gesture_sensor.py.RPI grove_gesture_sensor.py

        It is described on instruction for installation. And that command is not for activation. I provide 2 scripts for each of Raspberry Pi and Asus TinkerBoard. you need to select one for your device. You don’t need to do that job again after once you did.

        The real activation would be performed in the module itself on every running of MM.

        B 2 Replies Last reply Mar 27, 2019, 8:29 AM Reply Quote 0
        • B Offline
          bolish
          last edited by Mar 27, 2019, 8:22 AM

          @Benjaminh86
          You have to search a bit on the forum.
          One idea could be to create 2 calendars instances.
          See below post extract :

          well… I believe it’s far from being perfect…but at least it seems to do the job…
          
          I created a “new” module which does exactly same / has the same code as the one I want to use, but has a different name (folder named “MMM-Calendar2” -> file named “MMM-Calendar2.js” -> within the line Module.register(‘MMM_Calendar2’)).
          Not in the default module folder but into the 3rd party module folder…
          

          And put instance 1 on page 1 and isntance 2 on page 2.

          B 2 Replies Last reply Mar 27, 2019, 8:35 AM Reply Quote 0
          • B Offline
            Benjaminh86 @Guest
            last edited by Mar 27, 2019, 8:29 AM

            Hello @Sean,
            I will look at this in more detail in the module.
            Thank you again for your work.

            1 Reply Last reply Reply Quote 0
            • B Offline
              Benjaminh86 @bolish
              last edited by Mar 27, 2019, 8:35 AM

              @bolish
              I will explore this track.
              Thanks to you ; you already helped me a lot!

              1 Reply Last reply Reply Quote 0
              • B Offline
                Benjaminh86 @Guest
                last edited by Mar 28, 2019, 10:17 AM

                @Sean
                it’s weird; the sensor is not active if I do not order:

                cd ~ / MagicMirror / modules / MMM-GroveGestures / py
                cp grove_gesture_sensor.py.RPI grove_gesture_sensor.py

                would not it come from “chmod + x * .sh” where I hurt something? …

                ? 1 Reply Last reply Mar 28, 2019, 10:23 AM Reply Quote 0
                • B Offline
                  Benjaminh86 @bolish
                  last edited by Mar 28, 2019, 10:23 AM

                  @bolish
                  it works!
                  thanks for your help

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Benjaminh86
                    last edited by Mar 28, 2019, 10:23 AM

                    @Benjaminh86
                    Can’t understand.
                    Do you need to do that shell command per every execution of MM? Have you reinstalled it?
                    That commands just need to be done once when you install this module.

                    And that command isn’t related with chmod + x .sh at all.

                    Check this.

                    ls ~/MagicMirror/modules/MMM-GroveGestures/py
                    

                    There should be grove_gesture_sensor.py besides grove_gesture_sensor.py.RPI and grove_gesture_sensor.py.ATB.
                    Are those files there?

                    B 2 Replies Last reply Mar 28, 2019, 10:27 AM Reply Quote 0
                    • B Offline
                      Benjaminh86 @Guest
                      last edited by Mar 28, 2019, 10:27 AM

                      @Sean
                      I have to make this command every start of the pi, knowing that I do not start the MM automatically (pmm2) time to set everything (npm start).
                      I’ll be watching tonight with
                      ls ~ / MagicMirror / modules / MMM-GroveGestures / py

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