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

Help with a scene


Question

Posted

Hi all, i'm trying to build a scene where a schuko is activated only if all of this 2 conditions are confirmed

 

1) door sensor is closed

2) time is between 8AM and 4PM

 

If door is opened or time is out of this range schuko must be switched off.

 

Is there any way to do it?

 

tks

13 answers to this question

Recommended Posts

  • 0
Posted

Something like this.

Please login or register to see this code.

I don't know if you want to let the door open/close trigger the scene, but it will look different then.

 

Did not test it

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

  • 0
  • Inquirer
  • Posted

    Tks, i'll try immediately

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    • 0
  • Inquirer
  • Posted

    Ok, a question: should door sensor be armed or not? or it is not important? Tsk

    • 0
  • Inquirer
  • Posted

    It does not work as expected: i'd like to turn on/off every single time door (it's a window) is opened/closed

     

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

     

    Tks

    • 0
    Posted

    You have to change the XX in the top to the id of your sensor.

     

    So the door sensor is now the trigger and the schuko will only turn on between the times given.

    Please login or register to see this code.

    • 0
  • Inquirer
  • Posted

    Ehm ... i did it obiouvlsy

    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
    Posted

    is it working now with the new scene?

    • 0
  • Inquirer
  • Posted

    Mmm, not as expected:

     

    windows closed, i hit on run and power is on

     

    i open window, nothing happen ...

     

    mmmmm

    • 0
    Posted

    Can you paste your scene (with the IDs)?

    • 0
    Posted

    I think it is the max running instances... can you put it to 10?

     

    This is what I just tried and it is working, after i changed the value from 1 to 10.

    Please login or register to see this code.

    • 0
  • Inquirer
  • Posted

    Sorry, what value change from 1 to 10?

    Please login or register to see this image.

    /emoticons/default_tongue.png" alt=":P" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    • 0
    Posted

    If you go to the general tab of the scene (with name, room, etc), you will have a dropdown for the "Max running instances" (if you are running the latest beta version), this should be changed from 1 to 10.

    • 0
  • Inquirer
  • Posted

    It works! Tks!

    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...