As the title says... Chat on...

User avatar
By GregorZagar
#31346 Hi!

I've set up esp8266 12 with these two temp sensors witch worked well at first. then the power went off when i was away from home. When i came home and rebooted the ESP module it wasn't able to retrive temp. value from sensor.

When I want to read the sensor value i get: "stdin:1: attempt to concatenate global 'temp' (a nil value)"
and when i load the dht22.lua or ds18b20.lua to esp it gives me: ":12: table index is nil"

I use module examples from nodemcu github.

Can some body help?
User avatar
By Oetsch
#31435 Have you changed the comments inside of the module files from nodemcu github?

The original files do not work or causes problems. Of course normaly they do not work at all and not only after power fail.