temperature average day

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Re: temperature average day

Postby Pik » Sun Jun 01, 2014 1:59 pm

I got it !

for count, I have : "Main.SetglobalVar("Temp_n".str(1+val(Var_temp_n)))"
for sum, I have : "Main.setGlobalVar("Temp_somme", str(val(Var_Temp_somme)+val(Dev_36_value1)))"
for average, I have : "Main.setGlobalVar("Temp_average", str(val(Var_Temp_somme)/val(Var_Temp_n)))"

In fact, I was runnig the action in Action menu (when you open Event menu, you have actions list available).
When I launch the action (right clic on action and Run) this is doing nothing !
I checked with a light, and each time I right clic on Run (action), no switch On/Off.
Now, I check my script running the event.

So, I was checking my script running action but I could wait for long time !

Anyway, I have to thank you very much for your help because you gave me explanations on this vocabulary to use.

Regards.
Pik
Starting Member
Starting Member
 
Posts: 33
Joined: April 2014

Re: temperature average day

Postby Pik » Sun Jun 01, 2014 6:06 pm

Post closed
Pik
Starting Member
Starting Member
 
Posts: 33
Joined: April 2014

Previous

Return to DomotiGa Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron