Ok. Will you be sure, that REAL all Sensors read the right value in
your script (Maybe check this then you write in an logfile the values
for an while and check them.
I suggest that there is an timing-problem by reading the values and
then you get them wrong.
Best regards,
Roland
From: Michael Kalist
Sent: Sunday, March 29, 2015 4:53 PM
To: 'OWFS (One-wire file system) discussion and help'
Subject: Re: [Owfs-developers] Temp Logging
Hi parasite power
Takes about 1:23 seconds to complete
From: Roland Franke [mailto:[email protected]]
Sent: Sunday, March 29, 2015 8:52 AM
To: [email protected]
Subject: Re: [Owfs-developers] Temp Logging
Hello,
> #!/bin/bash
> # Read temperature from sensor
> temp1=`cat /mnt/owfs/uncached/Garage_In/temperature`
> temp2=`cat /mnt/owfs/uncached/Garage_Return/temperature`
> temp3=`cat /mnt/owfs/uncached/Bedroom_In/temperature`
> temp4=`cat /mnt/owfs/uncached/Bedroom_Return/temperature`
> temp5=`cat /mnt/owfs/uncached/Floor_In/temperature`
> temp6=`cat /mnt/owfs/uncached/Floor_Return/temperature`
> temp7=`cat /mnt/owfs/uncached/Water_Tank_In/temperature`
> temp8=`cat /mnt/owfs/uncached/Water_Tank_Return/temperature`
> temp9=`cat /mnt/owfs/uncached/Loop_In/temperature`
> temp10=`cat /mnt/owfs/uncached/Loop_Return/temperature`
> temp11=`cat /mnt/owfs/uncached/Header_Out/temperature`
> temp12=`cat /mnt/owfs/uncached/Header_Return/temperature`
> temp13=`cat /mnt/owfs/uncached/Basement_In/temperature`
> temp14=`cat /mnt/owfs/uncached/Basement_Return/temperature`
> temp15=`cat /mnt/owfs/uncached/Mechanical/temperature`
How are the sensors electrical connected?
Parasite-power or with an power-supply?
I suggest that (While you read the values directly from the uncached directory)
the reading from the values will take a too long time.
Best regards,
Roland
--------------------------------------------------------------------------------
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
--------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers