Page 1 of 1

DHT11 shows integer values instead of float

Posted: 04 Oct 2018, 16:26
by Sasch600xt
Hello all,

i am just wondering my DHT11 shows up the values only as Integer and not as expected as float.

it is always x.0 instead of x.>=0

i use the new image 20181004

Thanks for your help
Sascha

Re: DHT11 shows integer values instead of float

Posted: 04 Oct 2018, 17:00
by grovkillen
What is your settings? Decimal points?

Re: DHT11 shows integer values instead of float

Posted: 04 Oct 2018, 17:07
by Sasch600xt
i used 2 dezimal points

Re: DHT11 shows integer values instead of float

Posted: 04 Oct 2018, 17:08
by grovkillen
Then it might be a bug. Please report it on GitHub.

Re: DHT11 shows integer values instead of float

Posted: 04 Oct 2018, 17:10
by Sasch600xt
Here is a screenshot of my settings

Re: DHT11 shows integer values instead of float

Posted: 04 Oct 2018, 17:11
by Sasch600xt
ok, i will

Thank you

Re: DHT11 shows integer values instead of float

Posted: 07 Oct 2018, 11:34
by Sasch600xt
Just for others with the same problem:

The DHT11 is a hardware 8bit device.
So there is no float value to be expected.

I use a DHT22 now which can be configured to 9,10,11,12 bit resolution.

So my "problem" was just a hardware limitation of the DHT11.
Nothing wrong with ESPEasy here.

Greetz
Sascha