DS18B20 stuck for a long time

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Vilda
Normal user
Posts: 13
Joined: 16 Jun 2019, 22:12

DS18B20 stuck for a long time

#1 Post by Vilda » 25 Dec 2019, 13:33

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).

User avatar
grovkillen
Core team member
Posts: 3417
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: DS18B20 stuck for a long time

#2 Post by grovkillen » 25 Dec 2019, 13:48

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.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Vilda
Normal user
Posts: 13
Joined: 16 Jun 2019, 22:12

Re: DS18B20 stuck for a long time

#3 Post by Vilda » 25 Dec 2019, 14:21

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.

User avatar
grovkillen
Core team member
Posts: 3417
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: DS18B20 stuck for a long time

#4 Post by grovkillen » 25 Dec 2019, 15:07

Ok, please look through this thread and see if it what happened to your setup: https://github.com/letscontrolit/ESPEasy/issues/2745
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Vilda
Normal user
Posts: 13
Joined: 16 Jun 2019, 22:12

Re: DS18B20 stuck for a long time

#5 Post by Vilda » 25 Dec 2019, 15:18

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.

User avatar
grovkillen
Core team member
Posts: 3417
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: DS18B20 stuck for a long time

#6 Post by grovkillen » 25 Dec 2019, 15:21

Ok, good to know. Thanks
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Vilda
Normal user
Posts: 13
Joined: 16 Jun 2019, 22:12

Re: DS18B20 stuck for a long time

#7 Post by Vilda » 25 Dec 2019, 15:39

Actually running ESP_Easy_mega-20191208_normal_ESP8266_4M1M.bin

Vilda
Normal user
Posts: 13
Joined: 16 Jun 2019, 22:12

Re: DS18B20 stuck for a long time

#8 Post by Vilda » 25 Dec 2019, 17:45

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 961 times

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests