Jump to content

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


  • 0

Away mode scene


WiYantra

Question

Hi Forum,

We would like to create a away scene, the scene should be like if we run the scene manually it should trigger the lights(Ex. Light 1, Light 2 and Light 3) on/off at regular intervals.

And also, we are running a water pump scene in which it triggers the water pump daily for 20min, we do not want to execute this scene when away scene is running.

How can we create such a scene, is it possible to stop executing the scene from other scene.

We tried to create such a scenario, when we run the away scene it is triggering the other scene immediately, in the other scene we have given the timer as at exact time 6.00PM.

Please help us to create this scene

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Hi Forum,

We would like to create a away scene, the scene should be like if we run the scene manually it should trigger the lights(Ex. Light 1, Light 2 and Light 3) on/off at regular intervals.

And also, we are running a water pump scene in which it triggers the water pump daily for 20min, we do not want to execute this scene when away scene is running.

How can we create such a scene, is it possible to stop executing the scene from other scene.

We tried to create such a scenario, when we run the away scene it is triggering the other scene immediately, in the other scene we have given the timer as at exact time 6.00PM.

Please help us to create this scene

Use variables

Link to comment
Share on other sites

  • 0

Not to be rude, but You are asking a lot of questions regarding scenes which require LUA to work. I don't think people are interested in building scenes for you... Unless ofcourse you are willing to pay someone for doing it.

So. If you want to get all what you ask for out of your HC2 I suggest you start learning some LUA code. People are more than willing to help get scenes to work, but to build entire scenes is a different matter and it is quite difficult if you don't sit with the system.

Link to comment
Share on other sites

  • 0
Hi Forum,

We would like to create a away scene, the scene should be like if we run the scene manually it should trigger the lights(Ex. Light 1, Light 2 and Light 3) on/off at regular intervals.

And also, we are running a water pump scene in which it triggers the water pump daily for 20min, we do not want to execute this scene when away scene is running.

How can we create such a scene, is it possible to stop executing the scene from other scene.

We tried to create such a scenario, when we run the away scene it is triggering the other scene immediately, in the other scene we have given the timer as at exact time 6.00PM.

Please help us to create this scene

I will try to get you started, as I done something similar, only I turn on several motion/doorsensors (disarm/arm alarms), lighting and camera's sending pictures when movement is detected.

This is just a sample how to do things, you can adjust it to your needs.

1 - Firtst of all you have to make a global variable where you can store status of home/absense:

0 = at home

1 = home and sleeping

2 = away (work)

3 = on holiday

This way you can use the variable as trigger or condition for scenes. Like in your example, if variable < 1 the lights have to switch off and pump is not allowed to pump.

2 - Create a virtual device with 4 buttons to activate/change home status variable and a 'status' label. The lua code in the button could be something like this:

Please login or register to see this code.

3 - Create your scene's depending on the global variable or use the virtual device in a scene, for example, when users are >500mtr (detected by their mobile phones) away from your home, press button 3 (away).

Remember when creating a scene, when 'Triggering device' or 'Triggering variables' is checked it will act as trigger. When unchecked it will act as condition. This means when a device is checked (trigger) it will run the scene by change of status (for example a switch from on --> off), when unchecked it wil act as condition (for example, a switch has to be on to execute the blocks after the yellow 'then'-block).

I added some Icons as attachment for buttons of home-status.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...