Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
rbhun 0
Hi
sorry for the stupid title, I dont have any better right now
tl/dr: do a trigger keep rerunning/starting a new instance of a scene?
long version:
I want to create a scene where my bathroom fan turns on if humidity sensor is over 70%, then turn off.
If I do this:
if
( tonumber(fibaro:getValue(298, "value")) > 70 )
then
fibaro:call(413, "turnOn");
fibaro:debug('WC humidity over 70. Turning fan on.');
fibaro:sleep(120000);
fibaro:call(413, "turnOff");
fibaro:debug('WC humidity under 70. Turning fan off.');
end
will the HC2 check for the humidity every second or so? and if yes, will it start a new instance of the same scene, or somehow lenghten this?
or shall I do this?
if
( tonumber(fibaro:getValue(298, "value")) > 70 )
then
fibaro:call(413, "turnOn");
fibaro:debug('WC humidity over 70. Turning fan on.');
else
fibaro:call(413, "turnOff");
fibaro:debug('WC humidity under 70. Turning fan off.');
end
but in this case, will the fan turn off is the humidity falls under 70?
I cannot find a good description of triggers, and it seems so important...
thanks in advance
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.