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

Fibaro Alarm HC3 how to check open window and exclude from trigerr alarm list


arczon

Question

Hi, I have a Fibaro HC3 controller and 20 door sensors. The built-in alarm scene triggers the alarm immediately after arming if any window was open prior to arming. I'd like to find a way to bypass this, for instance, when I want to arm the alarm during summer but still have a window slightly open in the house.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

With the api and some Lua programming you could add and remove devices to a partition temporarily 

Please login or register to see this attachment.

 

It would be nice to be able to disable alarmPartitions so they don't take part in the house arming. Then one could solve a case like this by disabling the standard partition and enable a "summer partition" with the window excluded.... or just have the window in a separate alarm partition that is disabled during the summer.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Okay, I've solved the issue with open windows. I added a variable for each window that can take values 0 and 3.

    I've written a scene triggered when the alarm is disarmed and any window is open. Then it runs an 'if' statement checking all window statuses. If a window is open, the auxiliary variable receives a value of 3.

     

    Please login or register to see this code.


    The second scene triggers when the built-in Fibaro alarm scene is armed, any window is open, and the auxiliary variable for that window is not equal to 3.

    This way, windows flagged with 3 are excluded from monitoring, allowing them to be opened and closed while the alarm is armed :)

     

    Please login or register to see this code.

     

    Every 5 minutes, there's also a cron job based on the first scene. This scene does exactly the same thing, but it checks if the window flagged with 3 has been closed and changed its flag to 0.

    Edited by arczon
    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...