MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Serimner
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: PIR-sensor and 7 inch touch LCD display for Raspberry-Pi

      Thanks for the posts with help and ideas!
      I have tried further and am currently testing with “xset” to turn off/on the screen and it seems to work well.

      I have “stolen” code and ides from these articles:
      Cheap PIR Sensors and the Raspberry Pi - Part 1
      Exit screensaver on Raspberry Pi with motion sensor
      So I will not publish any code… :-)

      //Serimner

      posted in Troubleshooting
      SerimnerS
      Serimner
    • RE: PIR-sensor and 7 inch touch LCD display for Raspberry-Pi

      @qu1que - Thanks for your reply - really smart to use USB on the screen to see screen activity!
      But unfortunately vcgencmd does not work in my configuration/hardware.
      It sets the value, but it does not turn off the 7 inch touch LCD…

      posted in Troubleshooting
      SerimnerS
      Serimner
    • RE: PIR-sensor and 7 inch touch LCD display for Raspberry-Pi

      @sdetweil - Thank you for your feedback.
      It was one of the ideas I tested. The problem is that when MM updates its view (or the weather updates), bl_power is reset and the screen lights up again…

      /S

      posted in Troubleshooting
      SerimnerS
      Serimner
    • RE: PIR-sensor and 7 inch touch LCD display for Raspberry-Pi

      @sdetweil
      Hi Sam,
      I have installed this on my PI:
      Raspbian Buster 4.19
      MagicMirror v2.8.0
      Node v10.16.3
      pm2 v3.5.1
      I have installed this using the installationguide the provide (I’m real noob at this).

      The module I have tested most is MMM-PIR-Sensor (https://github.com/paviro/MMM-PIR-Sensor)
      My configuration:

      module: "MMM-PIR-Sensor",
      position: "fullscreen_below",
      config: {
      	sensorPin: 22,
      	powerSaving: true,
      	powerSavingDelay: 1,
      }
      

      But I can see in the code that MMM-PIR-Sensor uses vcgencmd!
      When i test “vcgencmd display_power = 0/1” from terminal it do not work om my hardware.

      If I try “echo 0/1 > /sys/class/backlight/rpi_backlight/bl_power” it works fine but…
      Every time MM updates its view, MM resets bl_power and light up the screen.
      (BTW, I have testet my PIR-sensor in Python and it works as expected…)

      //S

      posted in Troubleshooting
      SerimnerS
      Serimner
    • PIR-sensor and 7 inch touch LCD display for Raspberry-Pi

      Hello,
      Maybe this question has been put to the wrong forum, but I chance.

      I’m trying to use the Raspberry-Pi 7 "touch LCD with a PIR sensor.
      My goal is to have a photo frame with MM information. When no activity is detected, I want the screen to turn black (powersave) but when the PIR sensor detects activity, the screen should light up.
      I have tried all the modules that have to do with PIR sensors, but none of these work for me. At the start of MM I get a black screen with a mouse pointer, nothing more …

      My question is - is there anyone in this forum that has built something similar?
      If so, do you have any tips ?!

      //B

      posted in Troubleshooting
      SerimnerS
      Serimner
    • 1 / 1