when flashing the default FW: nodemcu_integer_0.9.5_20150318 I'm able to connect to my router, but the dht module is not recognized. ( dht.read11() fails).
when I was trying other FW versions - I tried custom builds and dev builds - the dht module worked, but I couldn't connect to the router. ( getting Incorrect Password error).
these are the FW binaries I was trying to flash:
nodemcu_integer_0.9.6-dev_20150704
nodemcu-master-9-modules-2015-09-07-19-50-36-integer
in both cases I was using the same init.lua + dht11.lua files.