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

Disarm active alarm with a keyfob


Question

Posted

It's a long time i'm trying to obtain this behaviour but i've not found any working solution.

 

What i want is to disarm the alarm and turnoff the siren by a button press on the keyfob.

Everything is working fine if the alarm system is just armed (but not triggered).

But, if the alarm is triggered because one of the sensors is breached, the same disarm scene seems to not work at all. I've checked the "do not allow alarm to stop scene" flag but it has no effects.

 

Am i missing something?

 

Many thanks

Simone

12 answers to this question

Recommended Posts

  • 0
Posted

try adding code to your button presses instead of the startScene command, thats the way i have done it and it works for me ( to be honest i actually forgot about the startScene command)

  • 0
Posted

how have you programmed the keyfob buttons?

i have a similar setup.

i have RFID keypads with a disarm scene and i also have another scene setup with a keyfob.

both of these scenes have the 'do not allow alarm to stop scene' checked and they work fine.

  • 0
  • Inquirer
  • Posted

    how have you programmed the keyfob buttons?

    i have a similar setup.

    i have RFID keypads with a disarm scene and i also have another scene setup with a keyfob.

    both of these scenes have the 'do not allow alarm to stop scene' checked and they work fine.

     

    I have a couple of scenes, one scene is triggered by the keyfob that launch other scenes based on button code, the code is below (100 is the keyfob)

     

    --[[

    %% properties

    100 sceneActivation

    %% globals

    --]]

     

    local ButtonPressed = fibaro:getValue(100, "sceneActivation");

    if ( tonumber(ButtonPressed) == 1 ) then

        fibaro:debug("Keyfob button 1 pressed");

        fibaro:startScene(9); --arm all

    elseif ( tonumber(ButtonPressed) == 2 ) then

        fibaro:debug("Keyfob button 2 pressed");

        fibaro:startScene(10); --disarm all

    else

        fibaro:debug("No response");

    end

     

     

    Then there is the disarm all scene that should do the job of disarm all sensors and turn off the siren:

     

    --[[

    %% properties

    %% events

    %% globals

    --]]

     

    fibaro:call(5, "setArmed", "0", "1234");

    fibaro:call(9, "setArmed", "0", "1234");

    ...

    fibaro:call(29, "turnOff"); --turn off sound

     

    Both scenes have the "do not allow alarm to stop...." checked, and are working as expected as long as the alarm is not triggered by breached sensor..

    If the alarm is triggered, i cannot turn it off by keyfob, but just from PC or smartphone after manually disarm it (it ask me for the pincode, maybe that's the issue?)

    Do you see anything wrong?

     

    Any help is really appreciated! (HC2 fw version 4.70)

    Thanks

    Simone

    • 0
  • Inquirer
  • Posted

    try adding code to your button presses instead of the startScene command, thats the way i have done it and it works for me ( to be honest i actually forgot about the startScene command)

     

    I tried it and it worked as a charme! Thank you very much!

     

    I also tried another approach using global variable set by the keyfob and used as trigger for the other scenes, that worked as well and allow me to keep things separated.

     

    Thanks again!

    • 0
    Posted

    I have a couple of scenes, one scene is triggered by the keyfob that launch other scenes based on button code, the code is below (100 is the keyfob)

     

    --[[

    %% properties

    100 sceneActivation

    %% globals

    --]]

     

    local ButtonPressed = fibaro:getValue(100, "sceneActivation");

    if ( tonumber(ButtonPressed) == 1 ) then

        fibaro:debug("Keyfob button 1 pressed");

        fibaro:startScene(9); --arm all

    elseif ( tonumber(ButtonPressed) == 2 ) then

        fibaro:debug("Keyfob button 2 pressed");

        fibaro:startScene(10); --disarm all

    else

        fibaro:debug("No response");

    end

     

     

    Then there is the disarm all scene that should do the job of disarm all sensors and turn off the siren:

     

    --[[

    %% properties

    %% events

    %% globals

    --]]

     

    fibaro:call(5, "setArmed", "0", "1234");

    fibaro:call(9, "setArmed", "0", "1234");

    ...

    fibaro:call(29, "turnOff"); --turn off sound

     

    Both scenes have the "do not allow alarm to stop...." checked, and are working as expected as long as the alarm is not triggered by breached sensor..

    If the alarm is triggered, i cannot turn it off by keyfob, but just from PC or smartphone after manually disarm it (it ask me for the pincode, maybe that's the issue?)

    Do you see anything wrong?

     

    Any help is really appreciated! (HC2 fw version 4.70)

    Thanks

    Simone

     

     

    I seem to have the same problem - can not disarm it via the scene... Is '1234' used for PIN to disarm the alarm??

     

    I have got a Disarm ALL scene with a simple code (below) which doesn't deactivate running alarm. It's only possible via mobile/PC after entering the PIN number.

    Please login or register to see this code.

    • 0
    Posted

    i have the code individually listed under each button press and even when the alarm has been triggered i can still disarm using my keyfob and keypad.

    i havent entered the 'PIN' as some people have listed above.

     

    Please login or register to see this code.

    • 0
    Posted

    Sorry I have hijacked your thread as I do not have a keyfob/keypad - just trying to turn off active alarm with a scene, which doesn't seem to work for some reason.

    • 0
    Posted

    Sorry I have hijacked your thread as I do not have a keyfob/keypad - just trying to turn off active alarm with a scene, which doesn't seem to work for some reason.

     

    i noticed that when i initially started using the HC2 as an alarm. once i triggered a scene with keyfob/keypad it all worked!

    even when an alarm has been triggered.

    Just another note i have created a normal scene for disarming the alarm and the trigger is my android wear watch. that worked for me aswell.

    i used Tasker, AutoWear and Imperihome

    see pic

    Please login or register to see this attachment.

    • 0
    Posted

    Hmm this is odd. I have just triggered an alarm and tried to run a disarming scene but I am getting a forbidden error...

     

    Do you have to enter a PIN to disarm your alarm?

     

    Please login or register to see this image.

    • 0
    Posted

    i think from the browser or the app you actually have to go into the alarm panel itself to disarm alarm and enter a PIN.

    BUT from another device it works.. 

    to be honest cant remember a lot as i set mine up back in August..

    • 0
    Posted

    cool, thanks. I'll keep looking but it's beginning to annoy me so may have to drop a line to tech support.

    • 0
  • Inquirer
  • Posted

    Hi, i rearranged the scenes architecture. Now the keyfob scene just set a global variable "alarmStatus" that can have different values, like: fullyEnabled, windowsOnly, fullyDisabled. This variable is used as trigger for a second scene that effectively activate/deactivate the alarm (based on the variable value).

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