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

mm-pir-hide-all

Scheduled Pinned Locked Moved System
14 Posts 10 Posters 9.1k Views 10 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.
  • P Offline
    phrazelle
    last edited by Jan 27, 2017, 1:20 AM

    Agreed, I think altering the delay on the sensor would fix the issue.

    That being said, the microwave radar sensor sounds awesome! I’d like to see it in action as well.

    1 Reply Last reply Reply Quote 0
    • O Offline
      Oliver_Tooth
      last edited by May 7, 2017, 12:12 PM

      Hi,

      I’m struggling to get this working, i’m just receiving a black screen that doesn’t want to exit. I’ve tested the PIR sensor with a simple python script and it works fine, i’m just having trouble getting it to integrate with the mirror. Any advice?

      1 Reply Last reply Reply Quote 0
      • M Offline
        magicR
        last edited by Feb 6, 2018, 5:37 PM

        Hi,
        I did some changes because of the fading-effect.
        All Modules fades now In and Out correctly.
        Here is my repo: https://github.com/s72817/MMM-PIR-Fade-HIDE

        Greetings

        C M 2 Replies Last reply Sep 23, 2018, 4:37 PM Reply Quote 1
        • C Offline
          coltography @magicR
          last edited by Sep 23, 2018, 4:37 PM

          @magicr how do I implement your repo to get the fade working? Do I add it in as another module or merge your files within the mm-pir-hide-all module? I can’t get it working

          M S 2 Replies Last reply Feb 1, 2019, 4:50 PM Reply Quote 0
          • M Offline
            magicR @coltography
            last edited by Feb 1, 2019, 4:50 PM

            @coltography sorry for the late answer :/
            You need the MMM-PIR-Sensor Module.
            A config example:
            {
            module: “MMM-PIR-Sensor”,
            config: {
            sensorPin: 23,
            powerSaving: false
            }
            },
            {
            module: “MMM-PIR-Fade-HIDE”,
            position: “fullscreen_below”,
            config: {
            fadeInTime: 1000,
            fadeOutTime: 3000,
            }
            },

            cheers Richard

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @coltography
              last edited by sdetweil Feb 1, 2019, 4:54 PM Feb 1, 2019, 4:53 PM

              @coltography the hide() api, takes an optional amount of time

              search ‘hide’ in the development doc
              https://github.com/MichMich/MagicMirror/tree/master/modules

              this.hide(speed, callback, options)
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • D Offline
                dvbit @Nususu
                last edited by May 26, 2020, 10:23 PM

                @Nususu hi i have a microwave sensor too is the resistance mod needed? I do not want to reopen the mirror…

                1 Reply Last reply Reply Quote 0
                • M Offline
                  majik655 @magicR
                  last edited by Jun 24, 2020, 5:02 PM

                  @magicR Wondering if you can help me…
                  I have implemented your module on my magic mirror with PIR sensor.

                  The issue I seem to have with ALL hiding modules is it seems the PIR is initiating BOTH hiding AND unhiding.

                  I just can not seem to figure out what is going on. I can adjust the delay and sensitivity if I need to on the sensor but I dont think I need to mess with that at this moment…

                  I really just want the mirror to be on… say for 20 minutes… then if no trigger … hide.
                  Then turn on when triggered and stay on for 20 minutes… rinse and repeat.

                  Can you help me ?

                  My config is below:

                                  {
                                          module: 'MMM-PIR-Sensor',
                                          config: {
                                          sensorPin: '22',
                                          powerSaving: false,
                                          }
                                  },
                                          {
                                  module: "mm-pir-hide-all",
                                  position: "fullscreen_below",
                                  config: {
                                          fadeInTime: '1000',
                                          fadeOutTime: '300000',
                                          }
                                  },
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  • 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