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

Switch off the display - how to ?

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 3 Posters 1.3k 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.
  • H Offline
    howi42
    last edited by Jun 7, 2018, 8:45 PM

    As of now I use a pir-sensor to switch the display on and off (hdmi).
    But I cannot suppress the screensaver - does not look good .
    Via my smarthome system ( fhem ) I could use a remote switch to power the display on and off.
    I could do this sending a (URL)-command to the system.
    How can I achieve that ?

    I 1 Reply Last reply Jun 9, 2018, 12:37 PM Reply Quote 0
    • I Offline
      idoodler Module Developer @howi42
      last edited by Jun 9, 2018, 12:37 PM

      @howi42 What module do you use for your PIR sensor? Some modules are able to directly control a Relais for the monitors power supply.

      1 Reply Last reply Reply Quote 0
      • G Offline
        grantc66
        last edited by grantc66 Jun 21, 2018, 4:47 PM Jun 21, 2018, 3:17 PM

        Not sure if I understand the issue.

        You want to inhibit the screensaver?

        I have a script in the startup:

        #!/bin/sh
        xset -dpms # disable DPMS (Energy Star) features.
        xset s off # disable screen saver
        xset s noblank # don’t blank the video device
        unclutter & # loose the cursor

        This works for me on a Pi0 which doesn’t have a desktop, might be different if you have a console loaded at boot.
        Others have mentioned installing the screensaver app and using that to inhibit the display blanking.

        If you want to switch the display from a phone, try RasPiCheck (available from Google Play) & set up a couple of console commands:

        vcgencmd display_power 1 # for on
        vcgencmd display_power 0 # for off

        you’ll need SSH switched on in the Pi config & know the Pi ip-address.

        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