• 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-SleepWake not working

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 4 Posters 4.8k Views 4 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.
  • D Offline
    dazza120
    last edited by Jan 1, 2019, 10:10 AM

    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',
                    },
    
    Y 1 Reply Last reply Jan 1, 2019, 10:30 AM Reply Quote 0
    • Y Offline
      yawns Moderator @dazza120
      last edited by Jan 1, 2019, 10:30 AM

      The readme is wrong.

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

        @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 Offline
          sdetweil
          last edited by Jan 1, 2019, 1:31 PM

          thanks. updated the readme

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Jan 1, 2019, 2:06 PM Reply Quote 1
          • D Offline
            dazza120 @sdetweil
            last edited by Jan 1, 2019, 2:06 PM

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

            S 1 Reply Last reply Jan 1, 2019, 2:44 PM Reply Quote 0
            • S Offline
              sdetweil @dazza120
              last edited by Jan 1, 2019, 2:44 PM

              @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

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Jan 1, 2019, 6:10 PM Reply Quote 1
              • D Offline
                dazza120 @sdetweil
                last edited by yawns Jan 1, 2019, 6:13 PM Jan 1, 2019, 6:10 PM

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

                S 1 Reply Last reply Jan 1, 2019, 6:18 PM Reply Quote 0
                • S Offline
                  sdetweil @dazza120
                  last edited by sdetweil Jan 1, 2019, 6:19 PM Jan 1, 2019, 6:18 PM

                  @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

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 2
                  • S Offline
                    sdetweil
                    last edited by sdetweil Jan 2, 2019, 3:23 AM Jan 1, 2019, 6:45 PM

                    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

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Jan 2, 2019, 3:18 PM Reply Quote 1
                    • D Offline
                      dazza120 @sdetweil
                      last edited by Jan 2, 2019, 3:18 PM

                      @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
                      1 / 2
                      • First post
                        2/16
                        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