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 trigger a Scene when arming/disarming devices in HCL?


Question

Posted

Hi,

is there any way of triggering a scene when arming or disarming devices in HCL (no LUA!!)??

I can only trigger for "breached, safe,...".

I want to send a push notification if somebody armed or disarmed the system!

Best regards

Tan

8 answers to this question

Recommended Posts

  • 0
Posted

Tan, there si no way to monitor only the armed/disarmed state in block diagrams.

  • 0
  • Inquirer
  • Posted

    Will that be possible in V4?

    How can I else get an feedback after arming/disarming the HCL ??

    • 0
    Posted

    You can do this by making two scenes, on for if the sensor is safe and disarmed. and a scene for safe and armed. This will both trigger on a change from the armed status.

    If you also want this for breached and armed or breached and disarmed you will have to make 4 scenes

    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" />

    But using this method we have made a connection to an existing alarm system with a universal sensor. (you need about 8 scenes but it works well, both alarms are full in sync).

    • 0
  • Inquirer
  • Posted

    Yes, that's exactly what I tried, BUT:

    The state SAFE AND DISARMED triggers everytime the PIR sensor detects motion and falls back to SAFE after some seconds of inactivity...

    Please login or register to see this image.

    /emoticons/default_icon_sad.gif" alt=":-(" />

    • 0
    Posted

    could you tell me what you are trying to achieve?

    • 0
  • Inquirer
  • Posted

    What I only wan't to achieve is getting a feedback after arming or disarming my house

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    But when I set a trigger on "Safe and Disarmed" everytime I leave a room (while the system is disarmed) I get a notification because the motion sensor changed his state from "breached and disarmed" back to "safe and disarmed"...

    • 0
    Posted

    oke, so you have to add one global variable. which can be a predefined one. AlarmState: Armed, disarmed.

    Then in your scene "safe and armed" do as follow:

    if sensor == "safe and armed" AND AlarmState == disarmed THEN

    SendNotification AND

    AlarmState = armed

    then for your scene "safe and disarmed:

    if sensor == "safe and disarmed" AND AlarmState == Armed then

    sendNotification and

    AlarmState = Disarmed.

    Should work

    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" />

    You could also add a few extra states: Arm, Arming and Disarm

    This will help you with other scenes. To Disarm from one scene and doing this in another...

    Same for arming.

    And if you set it to Arm, if that scene is triggered it will set the variable to arming. Whenever your sensor has an arm delay, you variable will be set to armed when it is trully armed.

    In the mean time when arming, you can do something else: send a notification or blink a light a few times.

    Enjoy

    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

    Very good Idea !

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

    I will try that later, thank you very very much!!!

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

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