Hej,
Följande problem.
Jag vill visualisera Verkningsgrad på min FTX i automagically.
t1 = Utsug Toa
t2 = Inluft Sovrum
t3 = utetemp
Jag vill nu visualisera tx som är = ( t2 - t3 ) / ( t1 - t3 )
t1 och t2 är redan GV i AM och kommer från mina givare
t3 är också en GV men kommer från temperatur.nu
Kan jag definiera GV'n med utgångspunkt från redan existerande GV'n på ett enkelt sätt ?
Definiera en GV baserad på andra GV'n
Re: Definiera en GV baserad på andra GV'n
Hi,
I would've done this as a EVAL in a signal transform. Assuming that t1, t2 and t3 are Global variables defined as float in Automagically.
At some trigger (you never mentioned when) in a Signal transform I would send out this:
And then capture this into a new variable by capturing this signal: "efficiency_ftx:%f"
If you add this to a remote you can visualize on the remote as a graph by adding the variable.
Or, you can always feed to Xively
http://www.telldus.com/forum/viewtopic.php?f=25&t=4220
/Marcus
I would've done this as a EVAL in a signal transform. Assuming that t1, t2 and t3 are Global variables defined as float in Automagically.
At some trigger (you never mentioned when) in a Signal transform I would send out this:
Code: Select all
$EVAL:"efficiency_ftx:" + str(( $t2$ - $t3$ ) / ( $t1$ - $t3$ ))
If you add this to a remote you can visualize on the remote as a graph by adding the variable.
Or, you can always feed to Xively
http://www.telldus.com/forum/viewtopic.php?f=25&t=4220
/Marcus
Re: Definiera en GV baserad på andra GV'n
UPDATE 3:KHolm wrote:Hi,
At some trigger (you never mentioned when) in a Signal transform I would send out this:
Code: Select all
$EVAL:"efficiency_ftx:" + str(( $t2$ - $t3$ ) / ( $t1$ - $t3$ ))
I got it working now, thanks!
"t1" e.t.c. being the name of the GV's