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

    Topics

    • S

      PIR sensor problem

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      6
      0 Votes
      6 Posts
      2k Views
      G
      @sultan-y To get the PIR sensor working with MM on the currently latest Raspberry PI OS Bullseye you can use /usr/bin/vcgencmd display_power 0/1 instead of using the tvservice command (I run it in a script started by crontab at reboot). I also added /usr/bin/xrandr -display :0.0 --auto before the vcgencmd command added user Pi to the gpio group: sudo usermod -a -G gpio pi, and I added XAUTHORITY=/home/pi/.Xauthority here: sudo vi /etc/environment My mirror uses a DVI to HMI output, but using xrandr and XAUTHORITY as above solved the issues I had. Btw, I use /usr/bin/chvt 6 /usr/bin/chvt 7 after the /usr/bin/vcgencmd display_power 1 command, but that was used prior to using Bullseye as well.
    • S

      MMM Google Photos error

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      8
      0 Votes
      8 Posts
      813 Views
      M
      @sultan-y Which position did you put the module into? set the position fullscreen_below.
    • S

      Module resulting black screen "electron"

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      3
      0 Votes
      3 Posts
      681 Views
      S
      @sdetweil excellent! Solved!! In recent mm releases we have removed libraries that are discontinued ( aka deprecated). many mm modules used these but didn’t document it. so they fail to fix this you need to install the library in the module folder if the module does NOT provide a file called package.json, then do npm init -y then regardless do npm install request
    • 1 / 1