Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I think this comes from a to early reading abort.
"temp:" is printed immidiatly
but the second line, that reads the temperature from the sensor has a delay of 750ms .
any idea how to fix the problem?
[/code]
Last edited by sonium on Sun Dec 25, 2005 4:29 pm, edited 2 times in total.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
#!/bin/sh
# read temperature of single sensor (celsius)
/usr/local/bin/digitemp -q -t $1 -c /usr/local/etc/.digitemprc | awk '/C:/{print $7}'
Next problem was the export of graphs, the user wwwrun couldn't write the graph files to my web folder. I solved this by adding group rights of the corresponding folder.