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

Using an Ultrasonic sensor with MMM-PIR-Sensor power-saving functionality

Scheduled Pinned Locked Moved Unsolved Requests
3 Posts 2 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.
  • M Offline
    migg
    last edited by Dec 4, 2019, 5:00 PM

    I want to set a distance to turn on and off the display using an ultrasonic sensor. MMM-PIR-Sensor has that functionality, but it only works for a PIR motion sensor. MMM-Swipe uses 2 ultrasonic sensors, but it doesn’t have the power-saving mode that I need. MMM-NearCompliments also uses an ultrasonic sensor, but I don’t understand if MMM-PIR-Sensor needs to be installed to have the power-saving mode feature.

    Any help is appreciated, thank you!

    F 1 Reply Last reply Dec 4, 2019, 5:43 PM Reply Quote 0
    • F Offline
      Fozi Project Sponsor @migg
      last edited by Dec 4, 2019, 5:43 PM

      @migg although I’m not using an US sensor but a microwave sensor with MMM-PIR-Sensor I read out of curiosity the module description of MMM-Swipe. As I saw, it sends a notification when movement is detected. This notification can be received by MMM-Remote-Control, which can switch the display on. As said, I didn’t dig into this in depth but might be a possibility to achieve what you want.

      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

      1 Reply Last reply Reply Quote 1
      • F Offline
        Fozi Project Sponsor
        last edited by Dec 4, 2019, 7:36 PM

        Following the description of MMM-NearCompliments, MMM-PIR-Sensor has to be installed, too, if you intend to use the powersaving function. See the options ‘usePIR’ and ‘powerSavingDelay’

        usePIR Should we use PIR sensor to activate only distance measurment when USER_PRESENCE notification is sent by MMM-PIR-Sensor?
        Possible values: boolean
        Default value: false

        powerSavingDelay Power saving delay in seconds defined in MMM-PIR-Sensor. It gets overwritten by MMM-PIR-Sensore module and is only defined for backup purpose.
        Possible values: int
        Default value: 30

        HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

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