Bad temperature readings with DS18B20 Topic is solved

Moderators: fantom, leecollings

Post Reply
machal88
Posts: 3
Joined: Tuesday 15 September 2015 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Bad temperature readings with DS18B20

Post by machal88 »

I have a problem with reading temperatures if outside is below 0 degrees in Celcius via DS18B20.

If the temperature outside is under "0" everything is OK, in Domoticz values are OK also, but now at night on the normal thermometer is -2 degrees, but on Domoticz is "0" and gives in LOG Error: 1-Wire system : error reading value from /sys/bus/w1/devices/

If I check the status via command in SSH " /sys/bus/w1/devices/28-0115623756ff $ cat w1_slave" it shows correct values (ie. -1222), so I think there is a problem in Domoticz...

Could you please give me some advise on this case? I will be very grateful ;)

EDIT: after update to newest beta version of Domoticz it's working OK, but next problem occurs - this time with scripts - switches over gpio/433mhz... they doesn't work...

EDIT #2: working after adding "///" (3 slashes) before script :D
Jastrzi
Posts: 5
Joined: Wednesday 18 December 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bad temperature readings with DS18B20

Post by Jastrzi »

machal88 have a same problem. Just noticed the readings below 0 degrees starts failing and Domoticz does not show values below 0.

Domoticz Team, are you planing to release the stable version soon or I need upgrade to BETA?
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Bad temperature readings with DS18B20

Post by gizmocuz »

a stable will be published when it is ready (and not now... waiting for some changes first)

To answer your question, update to the stable indeed!
Quality outlives Quantity!
makuta77
Posts: 11
Joined: Monday 12 October 2015 10:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Contact:

Re: Bad temperature readings with DS18B20

Post by makuta77 »

Hi,
I have exactly the same error in version 2.2563.
Need a workaround for this problem please...

Best Regards
machal88
Posts: 3
Joined: Tuesday 15 September 2015 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bad temperature readings with DS18B20

Post by machal88 »

Hi @makuta77

You just need to update your Domoticz to the latest beta (i.e. V2.3295), this will solve the problem :)

To update Domoticz from your version or below type via SSH or at the terminal on Raspbian:

Code: Select all

1. cd domoticz
2. wget http://domoticz.sourceforge.net/beta/domoticz_linux_armv7l.tgz
3. tar xvfz domoticz_linux_armv7l.tgz
4. rm domoticz_linux_armv7l.tgz
5. sudo service domoticz.sh restart
Please let us know if this solution will work for you :)
popunonkok
Posts: 6
Joined: Friday 01 November 2013 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bad temperature readings with DS18B20

Post by popunonkok »

I have the same problem aswell...
In Domoticz it flatlines at Zero degrees. But if i look at my RDDtools graph it shows below zero.
Its feels especially bad because where I live the temperature is just starting to drop below zero in the nights witch is kind of interesting to Log.

@machal88 : The problem with your solution is that i guess it could bring along other kind of problem since it is the Beta version. Im not interested in the Beta because I want my system to be as stable as possible.

Really looking forward to the next stable version.
makuta77
Posts: 11
Joined: Monday 12 October 2015 10:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Contact:

Re: Bad temperature readings with DS18B20

Post by makuta77 »

Hi,
I agree with @popunonkok that install beta version is not a solution. I thing we need a patch or something for stable version to display temperature correctly.

For that moment i don't want to install beta version.
eriksson25
Posts: 10
Joined: Sunday 25 January 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bad temperature readings with DS18B20

Post by eriksson25 »

Hi, just wanted to say that I had the same problem, did the upgrade to beta version and it works now. Its my small system so its ok if its not 100% stable.
makuta77
Posts: 11
Joined: Monday 12 October 2015 10:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Contact:

Re: Bad temperature readings with DS18B20

Post by makuta77 »

Hello,
In my system upgrade to beta version resolved the problem and it is quite stable :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests