Intermittent readings from DS18B20?

Any idea why I get these random intermittent dropouts on my Dallas ds18b20 temp sensor.

Used to work well, now it’s just touch and go.

Thanks

Did you changed/touch the wiring? Also how does your wiring look like?

People sometimes start to have problems but often they go away after re-wiring. The cause then could have been a slightly loose connection which worked most of the time but not always.

Also your esphome version running on the node isn’t to old? Sometimes recent API improvments/changes might badly influence very old versions running on the node.

Thanks for the reply.

I do doubt it’s a loose connection, as I solder EVERYTHING!.
Yes, ESPhome is on latest version, I always update.

I just wounder how waterproof these things are, its fully submerged.

1 Like

Ups, did you bother to try to get an “original”? They are actually quite hard to come by…

I wouldn’t trust the $1 “waterproof” version to last really long if they are submerged. Maybe yours starts dying?

I am the other way around. I had intermittent values initially but recently seems to have become 100% reliable. Aliexpress sensor and been down a well for two years with 25m wire run!

1 Like

Yea its weird, I actually replaced the sensor with a new one, and same issue.

Its run to the pool, I just wonder if it’s some kind of induction or something, but I doubt it as its intermittent.

Also, all my joins are soldered and shinked etc.

I’m a bit at a loss of what to do next haha.

I used double shielded Cat6 cable. I had to be quite careful as the twist can cause problems particularly if you using some of the data communication protocols. I think the data communication line had a whole paired twist to itself (so no ground just entirely data); specifically to avoid induction. I think it was bit of a fiddling to get it working. In fact everything was a bit trial and error!

Yea well that was my next thought, a shielded cable. Right now I’m using unshielded 6core 0.5 security cable.