You are not logged in.

1

Sunday, March 19th 2006, 5:35pm

[Superkaramba] temperature sensors

i'm trying to add temperature display in an actuel text theme.
Here's my line

text x=110 y=20 sensor=grep temp2 |cut -d ' ' -f 8 color=232,237,255 fontsize=9 font="Cure" interval=500

hum.... I have to admit that i have no knowledge at all in coding

2

Monday, March 20th 2006, 8:16am

RE: [Superkaramba] temperature sensors

Looking to the examples on this page, I think the line will look like

Source code

1
text x=110 y=20 sensor=program program="grep temp2 |cut -d ' ' -f 8" color=232,237,255 fontsize=9 font="Cure" interval=500
But I think that the command will not work, because "grep temp2" will not do anything without input. So I think you need to specify a command to supply input. In this case, I think you mean something like this:

Source code

1
text x=110 y=20 sensor=program program="sensors | grep temp2 |cut -d ' ' -f 8" color=232,237,255 fontsize=9 font="Cure" interval=500


Note that I never worked with superkaramba (so things can be incorrect).

3

Tuesday, March 21st 2006, 9:52pm

well thank you for your help. I'll try it when I come home tonight and i'll give u some news later.