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.

    DHT22 with Debian 12 Bookworm

    Scheduled Pinned Locked Moved Unsolved Requests
    11 Posts 4 Posters 138 Views 4 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.
    • wishmaster270W Offline
      wishmaster270 Module Developer @com1cedric
      last edited by

      @com1cedric
      Hi. No problem. If I have time it try to help.

      It looks like there will installed two additional python libs in the venv in the tutorial you shared.
      Maybe one of the libs is missing in the virtual environment my script creates.

      You can add them to the venv with:

      cd ~/MagicMirror/modules/MMM-Temperature/scripts
      ./venvWrapper.py --venv-name py-venv --install-libs lgpio RPi.GPIO
      
      wishmaster270W 1 Reply Last reply Reply Quote 0
      • wishmaster270W Offline
        wishmaster270 Module Developer @wishmaster270
        last edited by

        If you change line 25 in my dht11 script from except: to finally: you should see the whole error.

        But make sure to revert the change after the problem is fixed.

        C S 2 Replies Last reply Reply Quote 0
        • C Offline
          com1cedric @wishmaster270
          last edited by

          @wishmaster270 thanks, I will try this week-end and inform you. Could interest the other users.

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @wishmaster270
            last edited by

            @wishmaster270 I think the gpio setup changed in bookworm

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              com1cedric @sdetweil
              last edited by

              @sdetweil and @wishmaster270 : Thank you for your inputs.

              I finally tried this one https://github.com/ryck/MMM-DHT-Sensor, not listed on https://modules.magicmirror.builders/, but it works.

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • 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