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-NewPIR

    Scheduled Pinned Locked Moved Utilities
    3 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.
    • ? Offline
      A Former User
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 1
      • D Offline
        DustinBryant
        last edited by

        @Bugsounet this looks pretty cool! My next project to work on is setting up motion detection using PIR. This looks like it is on the right track as to what I’m looking for. I don’t know anything about PIR yet and interfacing with pi so I need to get caught up with functionality first. What I do know is that I will be adding multiple PIR sensors (one on each side and a front facing one).

        Is it possible you could adapt this to allow multiple sensorPins that you monitor for?

        If not, whenever I get to buying the PIR’s and working with them I may just submit a merge request with that functionality change at that time if you’re open to contributions.

        1 Reply Last reply Reply Quote 0
        • uros76U Offline
          uros76
          last edited by

          Thanks for this module, it works great!

          Is there a way to make the countdown show only minute:second?
          I tried shortening counter.textContent inside MMM-NewPIR.js but that didn’t help. Any other way to make it show only 00:00 format? Maybe some config or css trick?

          My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

          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