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
Azkikr 1
I have created different scenes in the block scene editor. These are all working except for the one that should do the following:
1. When I arm the alarm, the door sensor is armed.
2. When I open the door it should give me 10 seconds before the alarm goes off.
3. If I disarm the alarm, therefore disarm the door sensor within 10 seconds the alarm should not go off.
This all works fine with a minor detail: if I shut the door within 10 seconds the alarm does not go off, while it should go off unless I have disarmed the alarm.
I have tried the following block scene:
Please login or register to see this image.
/monthly_2019_06/image.png.345f7cde98245097eee195f4a34bab29.png" alt="image.png.345f7cde98245097eee195f4a34bab29.png" />First I tried stating at the device that if it's armed and breached it should trigger and I put a 10 second delay at the end. That did not work.
Then I tried the above method checking if the door is device is triggered while armed and breached AND if after 10 seconds the device is NOT disarmed.
By the way I also tried the statement if after 10 seconds it IS armed. Both with the same result: If I close the door quickly enough, I'm inside and the alarm is not triggered.
Then I thought that maybe it just does not work that well within the block scenes. So I transfered it to LUA (automatic method by Fibaro). The LUA code I get, looks horrendous though. I'm not a developer, but this does not look as very well written code to me.
Please login or register to see this code.
So here I am, with the big question to you out there: is there anyone who has this working and what code do you have?
Link to comment
Share on other sites
4 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.