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 issues since latest updates

    Scheduled Pinned Locked Moved Solved Troubleshooting
    5 Posts 2 Posters 286 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.
    • E Offline
      eyesallin
      last edited by

      Since installing the latest updates I am receiving the following error

      [2024-09-09 10:02:10.794] [ERROR] [MMM-Pir] [LIB] [PIR] Error: Cannot determine SOC peripheral base address
      [2024-09-09 10:02:10.836] [WARN] [MMM-Pir] [LIB] [PIR] [PYTHON] The exit code was: 0
      [2024-09-09 10:02:10.836] [WARN] [MMM-Pir] [LIB] [PIR] [PYTHON] The exit signal was: null

      The pir meter counts down but is not reset.

      Ive tried rebuilding the Pir program to no avail

      Any help would be appreciated.

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MarcLandis @eyesallin
        last edited by

        @eyesallin This has been quicly fixed in the python-gpiozero package and the workaround is not needed anymore.

        1 Reply Last reply Reply Quote 1
        • M Offline
          MarcLandis @eyesallin
          last edited by

          @eyesallin this is an issue with the latest RPi5 kernel. Until a fix is available a workaround is the following command:

          sudo ln -s /dev/gpiochip0 /dev/gpiochip4
          

          More info about it:

          https://raspberrypi.stackexchange.com/questions/148946/lgpio-can-not-open-gpiochip-lgpio-seems-unable-to-open-gpiochip-devices

          https://github.com/gpiozero/gpiozero/issues/1166

          E 1 Reply Last reply Reply Quote 1
          • E Offline
            eyesallin @MarcLandis
            last edited by

            @MarcLandis

            Many thanks for the response, surprised others have not posted?

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MarcLandis @eyesallin
              last edited by

              @eyesallin This has been quicly fixed in the python-gpiozero package and the workaround is not needed anymore.

              1 Reply Last reply Reply Quote 1
              • E Offline
                eyesallin
                last edited by

                Thankyou just noted, problem solved.

                1 Reply Last reply Reply Quote 0
                • S sdetweil has marked this topic as solved on
                • 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