You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Hey guys,
I've recently changed from using a pi 3b+ to a pi 4b.
I previously had a DHT22 temp sensor working with the enclosure plugin on the 3B+. Its now connected the same (to GPIO 4) on the 4B but I cannot get it to work.
I have SSH'ed and installed the adafruit-circuitpython-dht and libgpiod2 as described in the enclosure plugin readme.
I have tried disabling "use SUDO" in enclosure plugin advanced settings (as I had to do that to get it working on the 3B+, but it made no difference on the 4B).
I have tried the adafruit sample code, and get the following: pi@octopi:~ $ python3 dht_simpletest.py Traceback (most recent call last): File "dht_simpletest.py", line 5, in <module> import board File "/home/pi/.local/lib/python3.7/site-packages/board.py", line 44, in <module> from adafruit_blinka.board.raspberrypi.raspi_4b import * File "/home/pi/.local/lib/python3.7/site-packages/adafruit_blinka/board/raspberrypi/raspi_4b.py", line 6, in <module> from adafruit_blinka.microcontroller.bcm2711 import pin File "/home/pi/.local/lib/python3.7/site-packages/adafruit_blinka/microcontroller/bcm2711/pin.py", line 5, in <module> from RPi import GPIO ModuleNotFoundError: No module named 'RPi'
Hey guys,
I've recently changed from using a pi 3b+ to a pi 4b.
I previously had a DHT22 temp sensor working with the enclosure plugin on the 3B+. Its now connected the same (to GPIO 4) on the 4B but I cannot get it to work.
pi@octopi:~ $ python3 dht_simpletest.py Traceback (most recent call last): File "dht_simpletest.py", line 5, in <module> import board File "/home/pi/.local/lib/python3.7/site-packages/board.py", line 44, in <module> from adafruit_blinka.board.raspberrypi.raspi_4b import * File "/home/pi/.local/lib/python3.7/site-packages/adafruit_blinka/board/raspberrypi/raspi_4b.py", line 6, in <module> from adafruit_blinka.microcontroller.bcm2711 import pin File "/home/pi/.local/lib/python3.7/site-packages/adafruit_blinka/microcontroller/bcm2711/pin.py", line 5, in <module> from RPi import GPIO ModuleNotFoundError: No module named 'RPi'