Danke @mcu
Es klappt leider nicht.
Verkabelt habe ich wie von dir vorgeschlagen. Wenn ich Pin11/GPIO17 mit dem Oszilloskop beobachte, sehe ich ohne Pull-Up konstant ca. 500 mV, mit ca. 3V. Aber keinerlei Aktivität, also kein Pollen des Sensors.
find /opt/iobroker/node_modules/iobroker.rpi2/node_modules/node-dht-sensor -name "*.node" -print -exec ldd {} ;
Ergebnis:
find: ‘/opt/iobroker/node_modules/iobroker.rpi2/node_modules/node-dht-sensor’: No such file or directory
For gpio to work, you need to install libgpiod in version 2.x, before installing the adapter (see below)!
Diesen Fehler kann ich nicht ausschließen. Aber libgpiod ist installiert:
libgpiod-dev is already the newest version (2.2.1-2+deb13u1)
Und um die korrekte Reihenfolge sicherzustellen, habe ich den Adapter noch mal deinstalliert und neu installiert.
Vielleicht aber auch hier ein Problem?
sudo apt install -y build-essential python
Package python is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
However the following packages replace it:
python-is-python3
Error: Package 'python' has no installation candidate
Die Fehlermeldung im Log hat sich jetzt so verändert:
Failed to read DHTxx/AM23xx: 22/17