Hello,
How make a rule which test two conditions?
I wish to activate one exit if 2 entrances are in the low state at the same time.
I manage to do it for an entrance. See the code below but not with two
on Capt_haut#val do
if [Capt_haut#val]=0
gpio,16,1
//endif
endon
I tried in if to put two && between both but if one of an entrance is 0 ouput go to 1.
Thank you for your help
Rules ESP Easy
Moderators: grovkillen, Stuntteam, TD-er
Who is online
Users browsing this forum: No registered users and 47 guests