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.

    Universal-PIR - ‘GPIOcommand exited with error'

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 19 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.
    • K Offline
      Klinge
      last edited by

      After completely reinstalling my MMM, the MMM-Universal PIR module no longer works for

      I get the error message

      GPIOcommand exited with error
      

      My configuration is as follows

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

      The cables are connected with the sixth pin and the first and third pins on the other line.

      I tried the solution in the here on the bottom but unfortunately I cannot found a compose.yaml.

      It would be great, if you can help me.

      Thank you in advance.
      Klinge

      karsten13K 1 Reply Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @Klinge
        last edited by

        @Klinge

        from the module README.md:

        Please test the used commands first outside of MagicMirror². If they not work from a terminal it makes no sense to use them inside this module.

        So what is the output if you run gpiomon -r -b gpiochip0 17 on your machine?

        And provide the version with gpiomon -v

        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