-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 error #71
Comments
I had a typo on pin of the sensor try to use the pin D0 that I had already used but I use D2 however I have the same output in the log ,. I used AUTO_DETECT and detects a DHT22 this is correct and now I try specifying the DHT22 model and I get the same result on the log |
If anyone can help me please, i tried another DHT sensor a DHT11 and a DHT22 and i get the same
|
i did somtheing and now my logs show:
|
That's a problem that i'm also having, but i think it's something related to the sensor or the board. |
I just spend the last hour testing, i changed every thing except the board, and when i turn on the light the DHT11 gives me the checksum error. The intriguing part is that if i disconnect the light cable and leave the relay on, i get no errors.... @mefizto what board are you using and why are you using input? The "Falling edge for bit -1 failed!" errors it's when do not have anything connected. |
This feels like a hardware issue rather than a software issue. Perhaps this is not the correct forum to continue this discussion. However that is up to the package maintainer. :) If the maintainer feels that continuing the discussion here is productive, more details on the hardware setup are necessary. Board model, DHT sensor model, circuit diagram/picture, etc. |
works fine for me with that code and AM2302 sensor:
- platform: dht
pin: GPIO1
temperature:
name: "Living room temperature"
humidity:
name: "Living room humidity"
model: AM2302
update_interval: 15s``` |
possibly your problem is here sensor:
- platform: dht
pin:
number: D7
mode: INPUT |
@carlosmgr im just trying to get it to work, sometimes it does and then not anymore, i guees i will try a diferent board, i use AUTO_DETECT and it recognise DHT11 or DHT22 according to the case, but still get the "Falling edge for bit -1 failed!" errors also when i specified the model |
So I don't really know how to help with your problem @mefizto unfortunately, from what I see it kind of looks like a hardware issue to me. Maybe you can share your wiring? A bit of clarification:
pin:
number: D7
mode: INPUT The pin shouldn't be declared as an input, just a simple |
I made a post about this and the DHT22. I had to hook my ground from the sensor to another pin like D0 and add that pin as a switch. My DHT22's work everytime now. |
Closing this issue as I think the DHT integration has gotten better now. At least I've not seen these errors pop up in a while on github. |
Hi again
I get the following error every time with the dht.
My yaml loos like:
I tested the sensor with an "arduino nano" and it works correctly.
The text was updated successfully, but these errors were encountered: