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
Guest puma
Hi
I am a bit of a novice when it comes to LUA I have read a heap of stuff but just can't get my head around it. I have created a few scenes using block scenes however as you are all probably aware they have their limitations as I am finding.
All that I am trying to do is create two different types of scenes.
1. A run on timer when we have a shower I would like the fan to stay on for X amount of time after the lights have been turned off. This does work however if for example someone goes into the bathroom and turns the light on as soon as it is tuned off the timer starts. Then within X time if someone else was to go in and turn the light on and fan on it doesn't reset the countdown timer so the fan could turn off half way through a shower. Not really ideal.
Please login or register to see this image.
/monthly_2020_03/1554133156_ScreenShot2020-03-26at6_59_02pm.png.aa518ac67c2162ca9ca75c2eb93e117a.png" />2. I would like a 20min timer for most of my lights. Now this works ok for normal switches as I can set the max instances to 10 and they wouldn't; usually get pressed 10 times in 20 mins however the max running instances even being at 10 for the dimmers just doesn't work. If my kids go into their room and plays with the dimmer every time it gets changed it counts as an instance.
Basically I somehow need it to reset every time the switch is pressed and restart the countdown again.
Is this possible?
Thanks in advance.
12 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.