Wemos D1 Mini DS18B20
Posted:
Sun May 27, 2018 12:51 pm
by Jonny190
Im trying to get temperature reading from a DS18B20 and post it to MQTT but it seems to only intermittently work, i have 16+ other mqtt devices working with no issues any help would be much appriciated as i dont understand why it works intermittently
Re: Wemos D1 Mini DS18B20
Posted:
Sun May 27, 2018 2:08 pm
by Bonzo
What part does not work?
Does all the serial data display correctly?
Try putting a delay before: client.disconnect(); I had a problem with a Nodemcu closing before the data was sent.
I also have a problem with my Nodemcu working intermittently but like you I am not sure why. It could be a problem with my Pi going to sleep. I need to trace the problem when I can work up the enthusiasm!