Somehow i can't get it working 100% with the Let command.
When soil humidity is higher than 900 it should set varia#2 to 2. And if this var#2 is 2 it should trigger a relay and increment a second variable (The incrementation of the second variable works). But somehow it doesn't enter the "if [var#2]=2 do".
Code: Select all
on Soil#Analog do
if [soil#Analog]>900 do
On Rules#Timer=1 do
if [var#2]=2 do
On Rules#Timer=2 do
if [var#1]=3 do
I am also not really sure how it all works with the Let command.
What exactly does the number 1 stand for: Let,1
And my Dummy devices don't change it's value. So with the Let command i can have a variable without connected to a Dummy device?
So the Let command has nothing to do with TaskValueSet ?
Sorry for my maybe stupid questions.