Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Requests
    2
    4
    41
    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
      RomeWood last edited by RomeWood

      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
        RomeWood last edited by

        		{
        			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
          RomeWood last edited by

          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
            sdetweil last edited by

            see MMM-NEWPIR on github

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

            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy