PIR Sensor - Sleep LCD monitor



  • Hi,

    I want to sleep my LCD Monitor with the plugin MMM-PlR-Sensor.
    But I don’t cut my front panel LCD, can you validate my schema, please ?

    0_1489582610690_MagicMirror PIR.jpg



  • Hi,

    I think that you may be trying to achieve the same thing as me. Is your aim to have the Pi send a signal to the power button of the tv screen so that it enters sleep mode? Personally, I think that this is a good solution since it should avoid the “no signal” issue which occurs when the module cuts the HDMI signal.

    I assume that you plan to use “relayPIN” option to set the output pin to the tele but how do you determine the correct voltage and signal to send or is it a standard?

    As I say, I think that this could be a great way of allowing the mirror to switch the monitor on or off neatly (ie. avoiding splash screens or “no signal” messages). Happy to offer my help in this but, regrettably, I have very little experience or knowledge.

    Let me know how you get on,
    Steve



  • Thank you for your help, I spent part of my weekend on the project.
    I change my mind, I do not think it’s good to put the 5v on the front panel !!
    So I went through a relay and it works.
    I just have to find the best way for the relay to trigger only when a person triggers the PIR and after a delay, triggers to pause.
    Sorry for my English !!

    0_1490000505400_MagicMirror PIR v2.jpg



  • @Andromede88

    Sorry for my lack of understanding but how did you connect the relay to the switch? Also what sort of switch is it?

    (http://www.electronicshub.org/switches/)

    Keep up the good work,
    Steve



  • I connect directly to the output legs of the switch.

    0_1490004769823_MM2.jpg



  • Great idea!

    Mine has a power button that you lightly touch and the monitor turns on or off (see pic https://goo.gl/photos/2rnRtovAJpCvTZXp7 ) This means that the button doesn’t have an on or off position. Would this mean that I’d need to get the Pi to send a short pulse to turn the monitor on or off or would it be continuous power to turn it on and no power to put into standby?

    Did you manage to avoid having a splash screen when it enters or leaves standby? (See video https://goo.gl/photos/QnGRPccautfSnBCt8 ). This is really important to me!

    One idea I thought of is to find an internal wire that provides power to the screen and install a relay there as well. Then run the script as follows;

    1. When movement detected activate power relay 1
    2. Wait 5s for splash screen to finish
    3. Activate power relay 2 which allows power to the screen

    Good work on the mirror by the way,
    Steve![0_1491074010177_20170401_205947.jpg](Uploading 100%)


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.