• 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-PIR - off delay

Scheduled Pinned Locked Moved Development
11 Posts 5 Posters 8.7k Views 6 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.
  • J Offline
    JamesMM
    last edited by Oct 22, 2016, 10:10 AM

    Sorry I didn’t quote the code properly.

    B 1 Reply Last reply Oct 29, 2016, 11:07 PM Reply Quote 0
    • B Offline
      bibi @JamesMM
      last edited by Oct 29, 2016, 11:07 PM

      @JamesMM hi! i also have pain to setup the PIR in hardware way and i would prefer your way. Is the code stated above working? thx

      J 1 Reply Last reply Oct 31, 2016, 9:59 PM Reply Quote 0
      • L Offline
        lsfourwheeler
        last edited by Oct 31, 2016, 8:50 PM

        @JamesMM Where is the “Config” section where you added the delay configuration? I’ve changed my node_helper.js file but I can’t find the configuration file you referenced.

        L 1 Reply Last reply Oct 31, 2016, 9:12 PM Reply Quote 0
        • L Offline
          lsfourwheeler @lsfourwheeler
          last edited by Oct 31, 2016, 9:12 PM

          @lsfourwheeler @JamesMM Actually, I see that you are referencing the Magic Mirror config for the delay setting. So where are you replacing the deactivateMonitor with timerID?

          J 1 Reply Last reply Oct 31, 2016, 10:02 PM Reply Quote 0
          • J Offline
            JamesMM @bibi
            last edited by Oct 31, 2016, 9:59 PM

            @bibi it does. Perfectly.

            B 1 Reply Last reply Oct 31, 2016, 10:10 PM Reply Quote 0
            • J Offline
              JamesMM @lsfourwheeler
              last edited by Oct 31, 2016, 10:02 PM

              @lsfourwheeler yes passed it in. Assumed that was how it was supposed to be done.

              1 Reply Last reply Reply Quote 0
              • B Offline
                bibi @JamesMM
                last edited by Oct 31, 2016, 10:10 PM

                @JamesMM ok thx! i don’t really get where exactly your code above should be placed :( can you give me a hint pls?

                1 Reply Last reply Reply Quote 0
                • T Offline
                  troelsbugge
                  last edited by Feb 28, 2017, 7:27 AM

                  Thank you for sharing @JamesMM - it works perfectly!

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