I've read so many issues similar to mine, but haven't found any clear answers, hopefully someone will know.
I have a DS18b20 installed on pin 4 with a 4.7k resistor, all settings appear to be correct and it has wrote to the database many times(View here). The issue is everything will be working fine, then it stops reading the data from the probe. When this occurs the usual files in /sys/bus/w1/devices/ that read "28-" are missing and replaced with 1-3 dynamic files(meaning they constantly change) labeled as "00-0". Below is a list of current files in the directory, which will change very shortly automatically or if I attempt to read one:
00-028000000000 00-fc8000000000 w1_bus_master1
I was able to correct this problem by disconnecting the wiring and rebooting the pi however this fix is only temporary, the longest read time being 3 days so far..
Does anyone know what could be causing this issue? I have tried all troubleshooting I could find via google search and stackexchange, still no dice.
A potential fix could be a hard reset for the 5v out that simulates disconnecting the wire, as far as I know this can only be done by actually removing the wire.. It's possible it could be the breadboard I'm using, but I have tested and checked it 50 times; it doesn't get handled or bumped, so it's weird that nothing physically changes when this occurs. I also use this remotely to monitor the system so would like to explore the software side further in case there's something I can do while away.