-->
Page 1 of 1

Incorrect temperature reading on ESP

PostPosted: Sun Feb 03, 2019 7:42 am
by MarkBrodbeck
Complete noob here but I can follow directions pretty well... :P I recently connected my NodeMCU ESP8266 to my SmartThings hub and created the device in the iOS app. The temperature is reporting -196.6 degrees, and I'm not frozen solid LOL so something's off... does anyone know how I can adjust the sketch with the IDE so it's reading accurately?

Thanks in advance for your help -
Mark

Re: Incorrect temperature reading on ESP

PostPosted: Mon Feb 04, 2019 5:15 am
by schufti
As we all exactly know which board and sensor you use and clearly can see the sketch you loaded, we offcourse know where your problem is located: 80cm infront of your screen.

Re: Incorrect temperature reading on ESP

PostPosted: Mon Feb 04, 2019 7:49 am
by Bonzo
I have three Nodemcu's running at the moment and have never had the problem you have. I have used a DT22, BMP280 and a SHT15 sensor without problems.

As schufti says you need to post more information.

Re: Incorrect temperature reading on ESP

PostPosted: Mon Feb 04, 2019 10:40 am
by btidey
Looks this is the same question.

https://community.smartthings.com/t/esp ... ing/152641

So it is a ds18b20, but as they say there, you need to post the sketch / software you are running to get any meaningful help.

In your other post you have the sensor connected to NodeMCU D4. Are you sure you are using the pin that your software is expecting?