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
stevenvd 51
Simple scene to detect motion direction detection. First detecting motion and then door opening to turn on a light.
Can ofcourse also be turned the other way...
Please login or register to see this code.
Works like a charm in combination with the Auto lights of Virtual device.
Any suggetions to make it even better? For instance for when the second motion or door sensor is already triggered? Or maybe for when you have 3 detectors, or two different rooms to go into?
Please login or register to see this image.
/emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />Got a nice alternative:
Please login or register to see this code.
In the last one, it actually turns the light on with the first motion detection.
When the second is also detected it will leave the light on. When no motion is detected it will turn the light off. This means that you can use it for a hall way. It will turn the lights on in 3 rooms, the room you go into will stay on, the other rooms will turn off.
Have to build in a check if the light wasn't already on... other wise when someone else is in the room, the light will be turned off
Please login or register to see this image.
/emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />0 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.