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
rowlandm 0
Hi All,
Long time reader first time poster. Having taken the plunge a couple of months ago and started automating my new house with the HC2 and spending hours on this forum and having learnt a lot, I'm looking for some advice on the best way to set up this scene.
My aim for this scene is basically a Arrive Home Scene. I have created a VD Called IFTTT_GEO which has Global Variables that are updated when the buttons Home and Away are pushed for both me and my wife from IFTTT Geo fencing, which works perfectly when either my wife or i leave home it sets us as Away when we arrive near home it sets us as Home.
I've created a BLOCK scene so when it is dark and either of us are near home and the Variables update as home it turns on the front, garage, hallway and kitchen lights then turns off only the front & garage lights after 8 minutes. This scene works perfectly, but the part i am stuck on is how do i set it up so that if i am at home and my wife is out and comes home or vica versa than it only turns on just the front and garage lights rather than all the lights inside.
Is there a way i can use the Global Variable and have it check that if the variable is 'HOME' for either me or my wife than only turn on the front lights but if away than turn on all lights.
I'm open to suggestions, as i'm still on the learning boat of LUA and haven't gotten the full grasp of it yet so have been experimenting with both Block & LUA for different scenes but after getting no where for the last 2 weeks of searching for a solution for this i thought i might as well see if someone has an answer.
Thanks Again.
Edited by rowlandm5 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.