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

How to differentiate between "closed" or "closed now"


Question

Posted

I have been using my HC2 for a few days and there is a basic problem that I cannot solve.
Typical scene: the front door is opened and the hall light comes on and after closing the door the light turns off after 20 seconds.
The problem is that the HC2 does not differentiate if the door is closed or has just been closed, so every time I turn on the hall light from inside the house it turns off after 20 seconds because it does not know whether the door has been opened and closed or just already closed.
How can I solve that?

5 answers to this question

Recommended Posts

  • 0
Posted

If you present the scenes in your post it would be more clear where the problem possibly is and enable to address it. 

  • 0
  • Inquirer
  • Posted

    You're right, sorry.
    To be able to translate it directly, I write it by hand instead of making a copy-paste.
    To light up when the door is opened:
    - Main door = brached
    then
    hall light = On.

    And the shutdown rule is the one I can't do:
    -Main door = save
    then
    hall light = off 10s.
    This way I get the light to turn off by itself when I has crossed the hall. But then each time I manually turn on the light it only stays on for 10 seconds.
    That is why I see the need for the HC2 to be able to know if the door has just been closed or, on the contrary, it was already closed in order to clarify the rules.

    • 0
    Posted

    Actually I use HC3, so I will not use the syntax of the system and explain it with a pseudocode so that you can adjust it to your needs:

     

    I assume that you use Fibaro FGS-2?3 Switch or compatible

    Use a monostable button to control your switch 

    Create global variable, eg. <Flag>

    Create the scene, eg. <Scene>, of the following feature:
        set <Flag> to "0"

    Assign the scene <Scene> to 1-click of the switch

    The scene <Open the door>, apart from what it currently does, should set <Flag> to "1"

    The scene <Shut the door>, apart from the current condition, should AND-check the condition: <Flag> == "1"

    • 0
  • Inquirer
  • Posted

    Thanks so much for the explanation.
    I think I'm still very green on the subject of Fibaro, so the best thing will be to read further and do the tests with the variables that you tell me.

    Thanks again

    • 0
    Posted

    try using block scene for this and tick trigger box for the door, NOT for the light

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