Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unreliable DS18B20 Readings
#6
Thanks that looks good with the addresses, I don't think the pH was a hardware issue but keep me posted.

Hmm, that's seems odd on the restart, for the heck of it maybe increase how often the sensor is checked to 5 seconds.

By default the Pi can take up to 10 seconds to detect a new sensor and about 60 seconds before it de-registers on the Pi.

Not really clear on the no temp readings when you plugged in the new sensor. In case you are unfamiliar, each sensor has an internal ID, this is the 28-xxxx number you see when you add one to the temp tab. If you already had that 2nd sensor added to temp tab and there was no temp then yeah that's not right. If you unplug a sensor reef-pi will continually report errors until you disable the sensor on the temp tab, at that point it doesn't look for the sensor folder the Pi creates for each ID.

What's different on my program and why I hope it clears up the issue, I changed how quick the Pi sees and de-registers sensors. Instead of taking 60 seconds it only takes a little over a second. The Pi creates a file for each sensor, this is what disappears very quickly now. Every time the sensors are read it firsts scans what the Pi has on the bus and it only reads them, the program doesn't specifically say read sensor 28-029128. Because of this periodically on my dashboard I'll see a sensor disappear and then reappear the next reading meaning it wasn't active for whatever reason during that cycle. There's other checks in place as well.

Well let me know how it goes and if any other errors appear.
Reply to top


Messages In This Thread
Unreliable DS18B20 Readings - by pwest - 06-19-2021, 09:04 AM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 02:34 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-19-2021, 04:25 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 05:28 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-19-2021, 06:56 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-19-2021, 07:26 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-20-2021, 01:56 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-20-2021, 03:07 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-20-2021, 04:17 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-20-2021, 04:39 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 09:22 AM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 02:52 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 04:27 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 04:41 PM
RE: Unreliable DS18B20 Readings - by pwest - 06-26-2021, 05:07 PM
RE: Unreliable DS18B20 Readings - by Rob F - 06-26-2021, 05:50 PM
RE: Unreliable DS18B20 Readings - by pwest - 07-04-2021, 03:33 PM
RE: Unreliable DS18B20 Readings - by Rob F - 07-04-2021, 07:10 PM
RE: Unreliable DS18B20 Readings - by pwest - 07-10-2021, 04:14 PM
RE: Unreliable DS18B20 Readings - by Rob F - 07-10-2021, 05:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved]DS18B20 all temp sensors disappeared kukulin 1 1,479 11-05-2021, 09:21 AM
Last Post: Rob F

Forum Jump:

Current time: 04-29-2024, 05:52 AM