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

PIR Sensor doesnt detect movement

Scheduled Pinned Locked Moved Development
10 Posts 3 Posters 1.1k 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.
  • 1 Offline
    1BlauNitrox
    last edited by 1BlauNitrox Apr 1, 2022, 12:14 PM Apr 1, 2022, 12:06 PM

    Hey guys,
    I am currently working on my Magic Mirror and want to add an PIR Sensor to it.
    I use the MMM-PIRModule to turn the monitor off and on.

    When I run the program by npm run start the mirror starts but the minotor instantly turns off and never on again. I dont`t know if the sensor is broken or if I just configured something wrong.

    The config looks like this:

    {
    	module: 'MMM-PIR-Sensor',
    	config: {
    		sensorPIN: 14,
    		powerSaving: true,
    		offDelay: 30000,
    	}
    }
    

    If you need more information tell me.

    T 1 Reply Last reply Apr 1, 2022, 12:18 PM Reply Quote 0
    • T Offline
      tanvir586 @1BlauNitrox
      last edited by Apr 1, 2022, 12:18 PM

      @1BlauNitrox try pin 22 and use this configuration.

           	{
          		module: 'MMM-PIR-Sensor',
          		config: {
          			sensorPin: 22,
                                  powerSaving: true,
                                  powerSavingDelay: 30,
          		}
          	},
      
      1 1 Reply Last reply Apr 1, 2022, 12:25 PM Reply Quote 0
      • 1 Offline
        1BlauNitrox @tanvir586
        last edited by Apr 1, 2022, 12:25 PM

        @tanvir586 Yeah, I worked. Thank you.

        But there is one issue. When the monitor turns off, there is a blue screen for about 5 seconds…
        How can I fix this?

        T 1 Reply Last reply Apr 1, 2022, 2:01 PM Reply Quote 0
        • T Offline
          tanvir586 @1BlauNitrox
          last edited by Apr 1, 2022, 2:01 PM

          @1BlauNitrox I don’t think you can fix it. Looks like it’s monitor settings. After 30 seconds raspberry cut the hdmi power then your monitor should go to sleep straight away. But it’s delaying 5 ses. Try the monitor settings if you can find a option that goes to sleep straight away.

          S 1 2 Replies Last reply Apr 1, 2022, 2:26 PM Reply Quote 0
          • S Away
            sdetweil @tanvir586
            last edited by Apr 1, 2022, 2:26 PM

            @tanvir586 my monitors (multiple brands) put up the no input panel for 15 minutes (the energystar spec defined timeout)
            not able to change it…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1 Offline
              1BlauNitrox @tanvir586
              last edited by Apr 1, 2022, 2:48 PM

              @tanvir586 I think every monitor has the same behaviour. When you cut the hdmi signal there will be a blue screen “No input signal”.

              T 1 Reply Last reply Apr 1, 2022, 2:52 PM Reply Quote 0
              • T Offline
                tanvir586 @1BlauNitrox
                last edited by Apr 1, 2022, 2:52 PM

                @1BlauNitrox I used AOC monitor and it doesn’t do it. After hdmi power cut it shows no signal and go to sleep straight away. No blue screen.

                S 1 2 Replies Last reply Apr 1, 2022, 2:53 PM Reply Quote 0
                • S Away
                  sdetweil @tanvir586
                  last edited by Apr 1, 2022, 2:53 PM

                  @tanvir586 lucky… pre-energystar

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    1BlauNitrox @tanvir586
                    last edited by Apr 1, 2022, 3:45 PM

                    @tanvir586 can you send me a link to your monitor?

                    T 1 Reply Last reply Apr 1, 2022, 4:05 PM Reply Quote 0
                    • T Offline
                      tanvir586 @1BlauNitrox
                      last edited by Apr 1, 2022, 4:05 PM

                      @1BlauNitrox it’s 28 inch lcd monitor. Few years old. Don’t know the model

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        1/10
                        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