MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-SleepWake not working

    Troubleshooting
    4
    16
    1842
    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.
    • D
      dazza120 last edited by

      Well I’ve got the the module installed, and it puts the display to sleep but doesn’t wake the mirror up via motion I have the PS3eye! This is how I have my config file for the module, what have I not done?

      {
                              module: 'MMM-SleepWake',
                              delay:  15,      
                              source: 'external',
                              mode:  'PI',
                      },
      
      yawns 1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator @dazza120 last edited by

        The readme is wrong.

        {
        module: 'MMM-SleepWake',
        config:
           {
           delay:  15,      
           source: 'external',
           mode:  'pi'
           }
        },
        
        D 1 Reply Last reply Reply Quote 2
        • D
          dazza120 @yawns last edited by

          @yawns thanks just got to wait till it sleeps now to test it and then find out where I’m going to install it lol

          1 Reply Last reply Reply Quote 0
          • S
            sdetweil last edited by

            thanks. updated the readme

            Sam

            Create a working config
            How to add modules

            D 1 Reply Last reply Reply Quote 1
            • D
              dazza120 @sdetweil last edited by

              @sdetweil @yawns is there a script that I have to run to make this work?

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @dazza120 last edited by

                @dazza120 u need to install the github motion project, and change its config to execute the sample script i provide. see the readme. my project does not detect the motion itself (some others read the camera data and determine motion), but uses an external (to MagicMirror) source

                Sam

                Create a working config
                How to add modules

                D 1 Reply Last reply Reply Quote 1
                • D
                  dazza120 @sdetweil last edited by yawns

                  Thanks, Do I just install it like a module? Ie in the magic mirror module location

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @dazza120 last edited by sdetweil

                    @dazza120 no. Motion is not related to MM. It can do all sorts of things. Record video, take snapshots, and a lot more. Supports just about every camera.

                    And has exits which can be used to inform others of motion, video files, …

                    So, follow it’s install instructions. Then edit /etc/motion/motion.conf, and update the lines I documented in the readme. This will call the script I provided to inform my module of motion(start and end)

                    U also customize the motion app on sensitivity, delay, etc etc. All things I have seen people ask about.

                    Sam

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 2
                    • S
                      sdetweil last edited by sdetweil

                      When I started working on my mirror project a few years ago, I had all I could do to learn node, angular, JavaScript, a no SQL database, and a ton of other stuff. I was using a pi, but didn’t have a PIR sensor, only a webcam.and the mirror was voice based, so i needed a mic

                      I found motion. And since have changed hardware, running on an odroid single board computer to get network and image display speed up.
                      Motion works on lots of platforms.

                      Sam

                      Create a working config
                      How to add modules

                      D 1 Reply Last reply Reply Quote 1
                      • D
                        dazza120 @sdetweil last edited by

                        @sdetweil hi just to let you know the read me is missing the : by config. i really hope i can get this working as it could sort alot of my screen on problems

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy