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

MMM-Pir alternative for bookworm

Scheduled Pinned Locked Moved System
8 Posts 2 Posters 551 Views 2 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.
  • S Offline
    sdetweil @Muffex
    last edited by sdetweil Feb 8, 2025, 4:56 PM Feb 7, 2025, 6:28 PM

    @Muffex a couple other pir modules were added to the 3rd party list

    also see
    https://forum.magicmirror.builders/topic/19362/googleassistant-and-related-modules

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 1
    • M Offline
      Muffex @Muffex
      last edited by Feb 8, 2025, 7:37 PM

      Hello again.

      Thanks @sdetweil :)

      I’m now using MMM-Universal-Pir from here: https://gitlab.com/khassel/MMM-Universal-Pir

      This is my config to turn the screen (connected via HDMI) on/off :

      module: "MMM-Universal-Pir",
                      hiddenOnStartup: true,
                      config: {
                              gpioCommand: "gpiomon -r -b gpiochip0 4",
                              onCommand: "vcgencmd display_power 1",
                              offCommand: "vcgencmd display_power 0",
                              deactivateDelay: 60 * 1000,
                      }
      

      regards
      Muffex

      M 1 Reply Last reply Feb 9, 2025, 8:47 PM Reply Quote 1
      • M Offline
        Muffex @Muffex
        last edited by Feb 9, 2025, 8:47 PM

        After switching to “dtoverlay=vc4-kms-v3d” in /boot/firmware/config.txt the commands did not work anymore.

        This is my current config:

        module: "MMM-Universal-Pir",
                        hiddenOnStartup: true,
                        config: {
                                gpioCommand: "gpiomon -r -b gpiochip0 4",
                                onCommand: "echo on | sudo tee /sys/class/drm/card1-HDMI-A-1/status",
                                offCommand: "echo off | sudo tee /sys/class/drm/card1-HDMI-A-1/status",                        
                                deactivateDelay: 60 * 1000,
                        }
        
        S 2 Replies Last reply Feb 9, 2025, 9:21 PM Reply Quote 0
        • S Offline
          sdetweil @Muffex
          last edited by Feb 9, 2025, 9:21 PM

          @Muffex yes the commands change. don’t know what to.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Muffex
            last edited by Feb 9, 2025, 9:36 PM

            @Muffex do those work,

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Feb 10, 2025, 10:56 AM Reply Quote 0
            • M Offline
              Muffex @sdetweil
              last edited by Feb 10, 2025, 10:56 AM

              @sdetweil said in MMM-Pir alternative for bookworm:

              @Muffex do those work,

              Hey @sdetweil,

              yes, now everything works as inteded. :)

              I was just thinking of others who may read this thread at a later date. Since bookworm is in the title I didn’t want to mislead them with the old vcgencmd which does not work with wayland. (At least in my case it didn’t.)

              regards

              S 1 Reply Last reply Feb 10, 2025, 1:58 PM Reply Quote 0
              • S Offline
                sdetweil @Muffex
                last edited by Feb 10, 2025, 1:58 PM

                @Muffex awesome! your prior post wasn’t clear to me

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  6/8
                  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