-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHT 22 error while updating #15847
Comments
Same problem here |
Good Morning, I have this problem too
my config
|
So I took a look at the source code from adafruit DHT on github. The following code is used to determine the platform: https://github.com/adafruit/Adafruit_Python_DHT/blob/master/Adafruit_DHT/platform_detect.py from there have a look at def pi_version. Using cat /proc/cpuinfo the "Hardware" tab is being searched. Loging in via ssh to my hassIO on hassOS does not output the information this function is searching for. This is my output: This is what it is searching for: |
If someone can tell me how to break out of the hassOS container and modify the file /usr/local/lib/python3.6/site-packages/Adafruit_DHT/common.py maybe we could easily fix it and push the changes to the adafruit github |
Just a quick update, I hope I don't spam too much: Moving my installation to hassbian makes the DHT Sensor work. So it is just a problem with hassIO / hassOS. |
ok, but none of the developers hear the problem or are they trying to fix it? |
@RWGaMeR I created an issue in the hassOS github repository but that got closed by the developer. Maybe it is not hassOS specific but hassIO specific. In the hassIO repository there is still an open issue about the DHT sensors, but they are trying to focus more on the build itself (using the correct pip and gcc versions). Here is the link, there has not been much activity in the last 2 weeks: home-assistant/supervisor#624 So because my issue was closed I guess the issue must be hassIO specific (not hassOS and not home-assistant specific and not Adafruit-DHT specific). So I don't know if they are trying to fix it. |
ok, thanks for info |
Hi, any news regarding this issue? it's been a month and I haven't been able to fix this. If someone could give me a hint to make the DHT22 component work again would be great |
@besgum In the new beta 0.78.0b0 they have updated to 1.3.4 only that from the same problems
|
Got the same issue on v0.80.0 |
Updated to v0.80.1 and got error on update:
|
See adafruit/Adafruit_Python_DHT#104 for 3b+ support |
I have also the same problem in version 0.84.3 on an Raspberry Pi Zero w with a new installation of hassIO. The sensor is a DHT22.
I'm wondering because of the "cannot import name Rapsberry Pi_2_Driver"-> I'm using a Raspberry Pi Zero |
Ahh, it is a bug in Adafruit_Python_DHT The Pi Zero is not supportet yet. https://github.com/adafruit/Adafruit_Python_DHT/issues/79 |
Home Assistant release with the issue:
Version 0.75.1
Operating environment (Hass.io/Docker/Windows/etc.):
Raspberry pi 3b+, Hass.io supervisor 123
Description of problem:
DHT22 sensor is connected to the GPIO 18, 3.3V and ground. Home assistant cant update the sensor.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
I have try with different DHT22 sensor, but the same happen
The text was updated successfully, but these errors were encountered: