Post
Topic
Board Mining (Altcoins)
Re: [Awesome Miner] - Powerful Windows GUI to manage and monitor up to 200000 miners
by
patrike
on 30/03/2023, 13:43:35 UTC
Aye... Thanks.

Errr... I don't think the variable change thing really solves the original problem. The problem was it would constantly trigger if conditions were met, not only once when they're first met.

So I have two different variables, and a rule that triggers turning miners off if one variable is true. Then I have another rule when both variables are false that turns things back on. However, if it's setup normally the miners will keep resetting (turning off) as long as one of the variables is true and with the 'detect change' wont be able to know the correct state that both need to be in to turn things back on.
Thanks for the feedback.

If I understand correctly, your rules looks something like this today.
Rule#1: If Var1=true or Var2=true -> Stop miners
Rule#2: If Var1=false and Var2=false -> Start miners

Do you think this concept could work?
Rule#1: If Var1=true or Var2=true -> Set Var3=true
Rule#2: If Var1=false and Var2=false -> Set Var3=false
Rule#3: If Var3=true and Var3 has changed -> Stop miners
Rule#4: If Var3=false and Var3 has changed -> Start miners

This way the actions for Rule#3 and #4 should only run once.