So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Jonny190
#76111 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
You do not have the required permissions to view the files attached to this post.
User avatar
By Bonzo
#76112 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!