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
Osec 0
Well I thought it would be time to share some programming of the Satel Integra alarm system, together with the HC2.
As you know, LUA is not always understandable, so I created a programming, which should be understandable with blocks.
The first programming is about to use the motion sensors from the Integra alarm system, to turn the lights on when there is motion detected, and where there is no motion, the lights will be turned off. So in this case we have a Timer function. And only when there is Sunset, because at sunrise we don't want to have the lights on!
The example is about 1 motion sensor, but can be done with more of course.
1st step: Program in the Integra, at the Outputs tab, some virtual outputs. (Image 1)
One we call "Sunset", which will be a Bi switch and will be functioning as Sunset/Sunrise state. For the motion sensor we program it as Mono switch and define the zone ( motion sensor), which will trigger this output. Also you can define the cutt-off time, this is the time, when there is no motion anymore, that the output will go off.
Program a scene in the HC2 that the "Sunset" state output must be turned on at Sunset. (Image 2)
Than you program another scene where you define if the "Sunset" state output is on, and there is motion detected, to turn on the lights. (Image 3). If the Sunrise state output is Off, the lights will not be turned on.
Also the lights must be turned off when there is no motion anymore, so create another scene, and define to turn off the lights when the motion output is Off. (Image 4)
At last you have to create the last scene to switch off the "Sunset" state output at sunrise (Image 5).
So when it is sunset, every time when there is motion within the cut-off time, the lights will stay on.
Please login or register to see this image.
/emoticons/default_icon_smile.gif" alt=":-)" />And at sunrise, the Bi switch will be turned of, so the lights will stay off.
Have fun!
Br Taco
Please login or register to see this attachment.
Please login or register to see this attachment.
Please login or register to see this attachment.
Please login or register to see this attachment.
Please login or register to see this attachment.
Link to comment
Share on other sites
9 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.