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
rsjabbens 1
Hi all,
I have a script to send a message when my garage door is opend / closed. Because the door is doing a close/open/close when closed i needed something to prevent sending multiple messages.
This is working, however the counter i have is not reset, so i changed a bit, but now i guess i need to have some loop to validate if it is closed for more than 60 seconds to reset some counters and prevent the counters for only adding 1 when opening/closing the door.
How can the scene be triggered by a open/close, such as it already works now, and in addition a time validation/loop when the door is closed for more then 60 seconds to reset the counters?
Ideally i want to add when the door is open for more than x minutes to receive some reminder, but this can be added later.
Any help is appriciated.
The script i created is added below.
Kind regards,
Roland
Please login or register to see this code.
1 answer 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.