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
    10 Posts 4 Posters 101 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.
    • R Offline
      RonR
      last edited by

      There are at least four modules on the list dealing with the DHT-22. J0n4e
      MMM-DHT22, ckoutavas MMM-DHT, cslev MMM-loldht22. Just do a search for dht and they will pop up.

      Good luck

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

        @RonR thanks!

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

                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