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

{HowTo} turn on/off your monitor using ultrasonic sensor with MMM-NearCompliments

Scheduled Pinned Locked Moved Requests
4 Posts 2 Posters 756 Views 2 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.
  • R Offline
    RomeWood
    last edited by RomeWood Nov 18, 2020, 6:59 PM Nov 18, 2020, 6:44 PM

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

    I’m having this same issue currently and the problem wasn’t solved. It seems to go into Powersave mode with no signal and then tv doesn’t come back on when I am within range of the distance sensor. Also, the distance sensor seems to lag, so I can’t always tell what it is reading.

    1 Reply Last reply Reply Quote 0
    • R Offline
      RomeWood
      last edited by Nov 19, 2020, 4:29 AM

      		{
      			module: 'MMM-NearCompliments',
      			position: "top_right",
      			config: {
      				echoPin: 23,
      				triggerPin: 25,
      				distance: 400,
      				measuringInterval: 100,
      				autoStart: true,
      				usePIR: false,
      				calibrate: true,
      			}
      		},
      		{
      			module: "MMM-PIR-Sensor",
      			config: {
      				sensorState: 0,
      				powerSaving: true,
      				powerSavingDelay: 30,
      				preventHDMITimeout:1 ,
      				supportCEC: true,
      			}
      		},
      
      1 Reply Last reply Reply Quote 0
      • R Offline
        RomeWood
        last edited by Nov 19, 2020, 4:32 AM

        this is my config. Any changes I should make? First trying to get the sensor to work properly monitoring distance, then make it turn on the display when presence is detected.

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil
          last edited by Nov 19, 2020, 4:44 AM

          see MMM-NEWPIR on github

          https://forum.magicmirror.builders/topic/13320/best-pir-strategy-for-rpi4?_=1605706510392

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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