• 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.

Motion Detector

Scheduled Pinned Locked Moved Utilities
213 Posts 38 Posters 437.0k Views 39 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
    bhepler Module Developer
    last edited by Oct 25, 2016, 4:00 PM

    Check the console log. I suspect you’ll see a security error preventing the browser from accessing the monitor. Either launch your mirror in dev mode (modify your mm.sh script to read DISPLAY=:0 npm start dev and then restart via pm2 restart 0) or browse to your mirror’s address via a web browser and enter developere mode.

    1 Reply Last reply Reply Quote 0
    • D Offline
      DirkS
      last edited by Oct 25, 2016, 8:16 PM

      i don’t have a mm.sh script. Where should it be located?

      B 1 Reply Last reply Oct 25, 2016, 9:26 PM Reply Quote 0
      • B Offline
        bhepler Module Developer @DirkS
        last edited by Oct 25, 2016, 9:26 PM

        @DirkS Aha. You probably haven’t set it up yet. No worries. You normally start your mirror by going into ~/MagicMirror and entering npm start, right? Just append the dev switch and you should see both the mirror UI and the browser console on your mirror: npm start dev

        If you’re starting your mirror via SSH, prepend the command to send the output to the mirror’s display: DISPLAY=:0 npm start dev

        1 Reply Last reply Reply Quote 1
        • D Offline
          DirkS
          last edited by DirkS Oct 26, 2016, 9:04 AM Oct 26, 2016, 9:02 AM

          The mirror is starting at reboot. So maybe there is a script, i installed it a few month ago, i don’t remember :D

          If i’m testing new settings i use pm2 restart mm for example. npm i’m just using to install new modules.

          B 1 Reply Last reply Oct 26, 2016, 2:15 PM Reply Quote 0
          • B Offline
            bhepler Module Developer @DirkS
            last edited by Oct 26, 2016, 2:15 PM

            @DirkS Interesting. Following the instructions I found via the GitHub MagicMirror repository, the pm2 should be using /home/pi/mm.sh to start the magic mirror process. Editing this file and appending DEV should give you the web browser console with log.

            1 Reply Last reply Reply Quote 0
            • D Offline
              done @cpramhofer
              last edited by Oct 26, 2016, 6:37 PM

              Hi and thanks to everybody making this module work!

              @cpramhofer Did your solution solve the issue that the monitor did not switch on again after a longer period of time?

              B 1 Reply Last reply Oct 27, 2016, 12:55 AM Reply Quote 0
              • B Offline
                bhepler Module Developer @done
                last edited by Oct 27, 2016, 12:55 AM

                @done Wait, does it work for you? Because it’s not working for me and this is the last thing I need before my mirror is done.

                D 1 Reply Last reply Oct 27, 2016, 7:58 AM Reply Quote 0
                • D Offline
                  done @bhepler
                  last edited by Oct 27, 2016, 7:58 AM

                  @bhepler Sorry, I haven’t tried yet. :)
                  I installed the cam and the module yesterday and motion detection worked.
                  But I experienced the same issue this morning. Wake up problem is not solved.

                  S 1 Reply Last reply Oct 27, 2016, 10:26 AM Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer @done
                    last edited by Oct 27, 2016, 10:26 AM

                    @done propably everything is working for you guys and you can just see the screensaver, be sure to disable the screensaver

                    Please create a github issue if you need help, so I can keep track

                    D B 2 Replies Last reply Oct 27, 2016, 4:19 PM Reply Quote 1
                    • D Offline
                      done @strawberry 3.141
                      last edited by Oct 27, 2016, 4:19 PM

                      Hi @strawberry-3.141
                      Thanks for your answer
                      I disabled the screensaver by editing (found here
                      Is that what you had in mind?

                      sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

                      @lxpanel --profile LXDE-pi
                      @pcmanfm --desktop --profile LXDE-pi
                      #@xscreensaver -no-splash

                      @xset s off
                      @xset -dpms
                      @xset s noblank
                      @unclutter

                      Strange that my camera driver was not working today.
                      I had to activate the cam in the pi config again.

                      In the morning the cam led was on but when I tried to wake up the monitor the led just turned off.

                      I use a v1.3 cam on a rpi3.

                      S 1 Reply Last reply Oct 27, 2016, 4:22 PM Reply Quote 0
                      • 1
                      • 2
                      • 8
                      • 9
                      • 10
                      • 11
                      • 12
                      • 21
                      • 22
                      • 10 / 22
                      10 / 22
                      • First post
                        91/213
                        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