• 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-voice ugly hdmi banner

Scheduled Pinned Locked Moved Feature Requests
42 Posts 3 Posters 14.6k Views 3 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.
  • S Away
    sdetweil @dazza120
    last edited by Jan 2, 2019, 2:55 PM

    @dazza120 from github project page
    Motion, a software motion detector. Home page: https://motion-project.github.io/

    click documentation and then
    https://motion-project.github.io/motion_guide.html

    Sam

    How to add modules

    learning how to use browser developers window for css changes

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

      @sdetweil i have followed it as best as i could i have the package installed and have located the motion folder in my user directory but for the life of me i cant find this motion.conf file to insert your script.

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil
        last edited by sdetweil Jan 2, 2019, 4:07 PM Jan 2, 2019, 4:04 PM

        motion config is done in /etc/motion/motion.conf
        i just added a line in the readme about that

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 2 Replies Last reply Jan 2, 2019, 4:08 PM Reply Quote 0
        • D Offline
          dazza120 @sdetweil
          last edited by Jan 2, 2019, 4:08 PM

          @sdetweil thank you, i have located it with your help, ill work on this when im not at work thanks, so its just a case of adding one of your scripts? think ill just use the start one

          S 1 Reply Last reply Jan 2, 2019, 4:10 PM Reply Quote 0
          • S Away
            sdetweil @dazza120
            last edited by sdetweil Jan 2, 2019, 4:18 PM Jan 2, 2019, 4:10 PM

            @dazza120 its just one script… external_motion… you pass it a parm, started or ended
            you need to configue both started and ended, else it can’t sleep thinking motion is still going on

            note that because it is in the /etc folder tree, you must use sudo in front of your editor to get write permission

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil motion.conf won’t let me edit it, or rather the pi won’t any way around this?

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil
                last edited by Jan 2, 2019, 4:20 PM

                sudo nano /etc/motion/motion.conf

                nano or whatever editor you choose…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • S Away
                  sdetweil
                  last edited by Jan 2, 2019, 4:26 PM

                  also just noticed that the execute bit is not set on the script… SO

                  cd modules/MMM-SleepWake
                  chmod +x external_motion

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil so is it just this part i need to put on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started

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

                      @dazza120 correct… and right below it the same with ended as the parm for the motion ended notice

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Jan 2, 2019, 6:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      2 / 5
                      • First post
                        17/42
                        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