This is with both the Lua module and the compiled in version. it seems to work (most of the time) when the esp is doing nothing else. but when you are doing any other functionality like writing to GPIOs it seems to fail very regularly. Currently I am flashing an LED and reading the t/humidity using a timer(5 Secs). The read DHT call fails every second time.
I guess I can program round it But !!!
The LUA module version looks very time dependant but I haven't managed to unpick the compiled version.
Any thoughts?