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

Possible to LUA code to turn on Fibaro Alarm via FGS211 S1?


Question

Posted

Very basic.

Is it possible to use LUA code to turn ON and OFF the Fibaro alarm based on if the FGS211 S1 input is ON/OFF?

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

Thanks!

7 answers to this question

Recommended Posts

  • 0
Posted

MWDK,

It's not possible to activate Fibaro alarm in scene or virtual device.

Regards

  • 0
  • Inquirer
  • Posted
    MWDK,

    It's not possible to activate Fibaro alarm in scene or virtual device.

    Regards

    Is it something that will be available in the near future?

    • 0
    Posted

    MWDK,

    We don't plan adding it, at least not in the next update. The main purpose of Fibaro alarm is to detect external triggers. However, UBS can be used that way, device connected to UBS is recognized as simple motion sensor, so you can arm it.

    Regards

    • 0
  • Inquirer
  • Posted
    MWDK,

    We don't plan adding it, at least not in the next update. The main purpose of Fibaro alarm is to detect external triggers. However, UBS can be used that way, device connected to UBS is recognized as simple motion sensor, so you can arm it.

    Regards

    Thanks for clearing that up.

    Are there any documentation on how to connect the FGS211 to an existing alarm system in more detail?

    I can only see that 2x FGS211 is needed and what inputs in the manual. Nothing about how it Works in HC2

    Please login or register to see this image.

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

    • 0
    Posted

    If you want a proper alarm setup, build it in a virtual device! I've built a scene which will trigger an alarm if certain conditions are fulfilled. This way, you can not only have an alarm system, but you can actually have different alarm modes. That way, you can have as many different scenarios as you please. So for instance, one scenario which only triggers an alarm if a perimeter is broken (windows or doors open) for the evening, another one which will trigger an alarm if any sensor is breached except for the bedroom and adjacent bathroom for night purposes and finally one for all sensors when the home is empty. Mine is based on an external server (and i have 7 different scenarios already), but it can be done in a virtual device if you want to.

    • 0
  • Inquirer
  • Posted
    If you want a proper alarm setup, build it in a virtual device! I've built a scene which will trigger an alarm if certain conditions are fulfilled. This way, you can not only have an alarm system, but you can actually have different alarm modes. That way, you can have as many different scenarios as you please. So for instance, one scenario which only triggers an alarm if a perimeter is broken (windows or doors open) for the evening, another one which will trigger an alarm if any sensor is breached except for the bedroom and adjacent bathroom for night purposes and finally one for all sensors when the home is empty. Mine is based on an external server (and i have 7 different scenarios already), but it can be done in a virtual device if you want to.

    What kind of external server setup have you used for this?

    It is exactly what im looking for

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

    I just have a keypad with RFID that enables or disables the alarm. Or - atleast that was the plan

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

    Care to share some of your scenes?

    • 0
    Posted

    I used to have a Raspberry Pi set up as my server, and that worked flawlessly (up until the point where it corrupted my SD card bricking the entire thing), so now I'm using a NUC with a 2,4 GHz processor and 500 Gb of ram. It is far more powerful than what is necessary but still cheap (cost me less than 1400 kr to put together). It has a webserver running my own custom php-based script.

    I can share some of the scenes I'm currently using, but I'm rebuilding my server to be a much more comprehensive home automation package, more than just a fibaro extension, so I'm no longer running a script reliant on the Home center.

    I'll upload the scenes when I've got a bit of spare time. But basically, the way I've set it up is:

    - A trigger scene which will change a global var in case one of a number of trigger devices are breached (including smoke and heat) and the alarm is armed (also a global var). Another global is set to the id of the trigger device for external use.

    - An alarm scene - so if a trigger is fired, the alarm scene will flash some lights and then turn on all lamps and turn off all electrical appliances.

    - An external alarm handler on my server which activates a siren (just a loud speaker hidden away out of plain sight) and triggers the external alarm handler script.

    - Tablets running my own custom front end (an old version of the script is available in this forum, but as mentioned, I'm rebuilding everything) which will react to the external alarm script, sound a siren and also prompt you with a display telling where, and what type of, alarm was raised. The tablets also have a pin pad screen which can be used to arm or disarm the individual modes in the alarm.

    The new script I'm building will have the entire alarm system nested on the external server which is protected behind a UPS (and will of cause fire off the alarm in case there is a power cut). It already has all the data from the fibaro (along with other non-zwave components) and the only interaction with the HC will be an alarm trigger, triggering a scene on the fibaro. The entire script with alarm and much more will be shared once it is working sort of flawlessly

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

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