Closed DarkDabula closed 2 years ago
Look #448, the adafruit library has changed
Hi, Thanks for the hint. I read #448 but I think its a little bit misleading. There "Adafruit_DHT" is declared as the new API and "adafruit_dht" as the old one. More confusing is that you also can use "Adafruit_DHT" with Python 3.
Whatever ... After installing the "adafruit_dht" with the instructions from Link I got the original version of "getDHTTemp.py" working.
Thanks
You are absolutely right, I corrected my post to create less confusion 😅
Describe the bug Connected and working DHT22 reports no values inside OctoPrint. It worked before since some months ago.
To Reproduce
Expected behavior
Additional context Using OctoPrint 1.7.2 on a Rpi with Python 3.7. Getting errors in logfile
After debugging a little bit, I made some slight changes to the file "getDHTTemp.py" at two locations
With this fix al works fine again. Don't know what the problem is, maybe something with the Adafruit_DHT library.
Regards.