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

    gandalf20000

    @gandalf20000

    0
    Reputation
    96
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    gandalf20000 Unfollow Follow

    Latest posts made by gandalf20000

    • RE: PIR sensor problem

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

      posted in Troubleshooting
      G
      gandalf20000