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-Universal-PIR - ‘GPIOcommand exited with error!'

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 1 Posters 13 Views 1 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
      smegbadger
      last edited by

      Hi

      With no warning (I haven’t carried out any updates) MMM-Universal-Pir is now failing. It shows under the ‘PIR SENSOR’ heading on the MM screen ‘gpioCommand exited with error!’

      Config is:

                          module: "MMM-Universal-Pir",
                              position: "bottom_right",
                              config: {
                                  gpioCommand: "gpiomon -r -b gpiochip0 23",
                                  onCommand: "wlr-randr --output HDMI-A-1 --on --transform 90",
                                  offCommand: "wlr-randr --output HDMI-A-1 --off",
                                  deactivateDelay: 120 * 1000,
                                  }
      

      and in a terminal gpiomon -r -b gpiochip0 23 shows events when the PIR is triggered and

      wlr-randr --output HDMI-A-1 --on --transform 90 and wlr-randr --output HDMI-A-1 --off still control the screen.

      gpiomon is v1.6.3

      What can have changed?

      Steve

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        smegbadger @smegbadger
        last edited by

        Snag_1ee4e5ea.png

        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