Hi,
ich bin gerade mit openhab2 zugange, nach langer Fehlersuche aber immernoch ohne Erfolg.
Traceback (most recent call last): File "/etc/openhab2/scripts/weatherstation.py", line 27, in <module> humidity, _ = Adafruit_DHT.read_retry(DHT_SENSOR, DHT_PIN) File "/usr/local/lib/python3.5/dist-packages/Adafruit_DHThttp://-1.4.0-py3.5-linux-armv7l.egg/Adafruit_DHT/common.py", line 94, in read_retry humidity, temperature = read(sensor, pin, platform) File "/usr/local/lib/python3.5/dist-packages/Adafruit_DHThttp://-1.4.0-py3.5-linux-armv7l.egg/Adafruit_DHT/common.py", line 81, in read return platform.read(sensor, pin) File "/usr/local/lib/python3.5/dist-packages/Adafruit_DHThttp://-1.4.0-py3.5-linux-armv7l.egg/Adafruit_DHT/Raspberry_Pi_2.py", line 34, in read raise RuntimeError('Error accessing GPIO.') RuntimeError: Error accessing GPIO.
Diesen Fehler bekomme ich sowohl beim Aufruf des DHT22 und des BM180.
Das originaltutorial ist hier zu finden: https://tutorials-raspberrypi.de/raspberry-pi-w…bauen-openhab2/
DIe Steckverbindungen habe ich mehrfahc überprüft.
Es wäre cool, wenn jemand unterstützen könnte.
Vielen vielen Dank
Tobi