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 7.0k 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.
    • yawnsY Offline
      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 Offline
        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 Do not disturb
          sdetweil
          last edited by

          thanks. updated the readme

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            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 Do not disturb
              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

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                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 Do not disturb
                  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

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 2
                  • S Do not disturb
                    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

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Reply Quote 1
                    • D Offline
                      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
                      • S Do not disturb
                        sdetweil
                        last edited by

                        thanks… fixed

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          note that the default motion delay from start to end of motion is 60 seconds… WAY too long, I have mine set at 20 seconds.

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            costascontis
                            last edited by

                            is there an install tutorial for motion so i can use it with this module?

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @costascontis
                              last edited by

                              @costascontis I do not supply it. There are lots of config options.

                              See https://motion-project.github.io/motion_guide.html

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                My readme provides the config info needed to get motion detection reported to my module

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  costascontis
                                  last edited by

                                  thnx,its just too much reading for me at this time of year,i just need to on/off my display when motion detect.I ll skip that feature for now :)

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 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