Page 1 of 1

Rules - command to print a value to the Log?

Posted: 16 Oct 2019, 20:58
by JR01
Is there such a command? Got an illusive problem with a sprinkler system.
------------------
My problem is below, when it gets to Rules#Timer=6 - it does not evaluate the if statement, I want to know what INT#!'s value is....

-----

Code: Select all

On Clock#Time=All,"[Vars1#startHr#D2]:[Vars1#startMin#D2]" do // On Clock#Time=All,%sunrise+15m% Do
  Let,1,0
  if [Vars2#Auto]=1
    Event,LoopDeLoop
  endif
EndOn

On LoopDeLoop Do
  Let,1,[VAR#1#D1.0]+1
  Let,2,[Vars2#durLegRest]+[Vars2#durLegOn]
  event,L[VAR#1#D1.0]
  timerSet,6,[VAR#2]
EndOn

On Rules#Timer=6 Do
  if [INT#1]<5    // or use [VAR#1#D1.0]
    Event,LoopDeLoop
  endif
EndOn

Re: Rules - command to print a value to the Log?

Posted: 16 Oct 2019, 21:17
by grovkillen
LogEntry

Re: Rules - command to print a value to the Log?

Posted: 16 Oct 2019, 21:56
by JR01
Thank you!