Read the statement by Michael Teeuw here.
DHT22 with Debian 12 Bookworm
-
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
-
@RonR thanks!
-
@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 -
If you change line 25 in my dht11 script from
except:tofinally:you should see the whole error.But make sure to revert the change after the problem is fixed.
-
@wishmaster270 thanks, I will try this week-end and inform you. Could interest the other users.
-
@wishmaster270 I think the gpio setup changed in bookworm
