Page 1 of 1

DS18B20 stuck for a long time

Posted: 25 Dec 2019, 13:33
by Vilda
I have an IoT Beehive and I have the problems with all 3 DS18B20 temperature sensores in it. All were working well but started to get stucked for a long time after some firmware upgrade (unfortunately I do not remember the last version when it was working).

Temperatures should be updated each 5 to 12 seconds - time to time is it working well but then sudenly the last value frozens for some time - sometimes a few minutes, sometimes several hours. Any idea what to do/check to fix it?

You can check the behaviour here http://itrubec.cz/monitor/iotbeehive-ibm-roof-en.php (Temp.swarm and both Heat pads temperatures are from DS18B20s).

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 13:48
by grovkillen
After that update, did you make sure that the settings worked? What I mean is that you could need to go into the settings and look and see if the address + resolution is the same as it was before the update. If not save the settings once again.

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 14:21
by Vilda
Sensors' addresses are unchanged. I played with the resolution as well as the read frequency but with no impact. It works for a while, then it stops working (without any to me visible/known reason or patern) and then in some time starts to work again. Seems like completely stochastically.

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 15:07
by grovkillen
Ok, please look through this thread and see if it what happened to your setup: https://github.com/letscontrolit/ESPEasy/issues/2745

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 15:18
by Vilda
I looks like my case (unfortunately I am not nearby the device now, so I can not check logs). Just - I have also one DHT22 aplied there- and it seems to be working fine.

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 15:21
by grovkillen
Ok, good to know. Thanks

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 15:39
by Vilda
Actually running ESP_Easy_mega-20191208_normal_ESP8266_4M1M.bin

Re: DS18B20 stuck for a long time

Posted: 25 Dec 2019, 17:45
by Vilda
Look at this strange beviour:

1) it should send data each minute - there are different gaps (green marker)
2) One DS (Temp.swarm) did not read any value (0) since restart at about noon to 16:21, then read 22,8°C an got stucked with that value (yellow marker)
3) Heating pad 1 has been stucked with 33,5°C till the very same time the Temp. swarm value changed - and then started to work (value is changing - pink marker)
4) While Heating pad 2 is still stucked with 23,5°C (orange marker)
ds.png
ds.png (219.03 KiB) Viewed 9833 times