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.2k 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

      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 Reply Quote 0
      • T Offline
        tanvir586 @1BlauNitrox
        last edited by

        @1BlauNitrox try pin 22 and use this configuration.

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

          @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 Reply Quote 0
          • T Offline
            tanvir586 @1BlauNitrox
            last edited by

            @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 Reply Quote 0
            • S Offline
              sdetweil @tanvir586
              last edited by

              @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

                @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 Reply Quote 0
                • T Offline
                  tanvir586 @1BlauNitrox
                  last edited by

                  @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 Reply Quote 0
                  • S Offline
                    sdetweil @tanvir586
                    last edited by

                    @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

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

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tanvir586 @1BlauNitrox
                        last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • 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