little rule fan bathroom timerset ?
Posted: 06 Apr 2024, 10:01
hello,
i want wait 30mn after humidity <65 when the gpio 12 is on
but no work
my rules
i want wait 30mn after humidity <65 when the gpio 12 is on
but no work
my rules
Code: Select all
Let,1,0
on sonde#Humidity<65 do
if [var#1]=1
Timerset,1,1800 // wait 30mn before gpio 12,0
Let,1,0
endif
gpio,12,0
endon
on sonde#Humidity>75 do
gpio,12,1
Let,1,1
endon