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

Everspring SE812 Siren to go off with alarm?


Question

Posted

Hello!

I am trying to get this to work:

One door sensor and two motion sensors are making a very simple burglary alarm when they are armed. I can get the breaching of the sensors to set off the alarm with some panic actions, blinking lights, sending pictures and so but when I try to get the SE812 siren to sound at the same time things are getting quite tricky. To make it sound I made a scene to start the siren when any of the armed sensors where breached but then it wont turn off when I stop the alarm.

Does anyone have a nice solution to accomplish this?

//Mike

5 answers to this question

Recommended Posts

  • 0
Posted

Maybe you could do a check in the main loop of the Everspring siren. A check to see if the alarm is active or not, and if not then turn of the siren?

  • 0
  • Inquirer
  • Posted

    Yes could sound like a plan but do you have the LUA to do it?

    Please login or register to see this image.

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

    • 0
    Posted

    --[[

    %% properties

    34 value

    34 armed

    %% globals

    --]]

    local startSource = fibaro:getSourceTrigger();

    if (

    (tonumber(fibaro:getValue(34, "value")) >= 0 and tonumber(fibaro:getValue(34, "armed")) == 0)

    )

    then

    fibaro:call(61, "turnOff");

    end

    ID34=sensor

    ID61=siren

    [ Added: 2014-02-12, 17:14 ]

    Works for me

    • 0
  • Inquirer
  • Posted
    --[[

    %% properties

    34 value

    34 armed

    %% globals

    --]]

    local startSource = fibaro:getSourceTrigger();

    if (

    (tonumber(fibaro:getValue(34, "value")) >= 0 and tonumber(fibaro:getValue(34, "armed")) == 0)

    )

    then

    fibaro:call(61, "turnOff");

    end

    ID34=sensor

    ID61=siren

    [ Added: 2014-02-12, 17:14 ]

    Works for me

    Thanks a lot Kage!

    Simple but powerful, now it all works the way I want it.

    Please login or register to see this image.

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

    • 0
    Posted

    Hi Mike and "Kage".

    Thanks for the LUA code...

    I have two door sensors and SE812 Siren.

    I managed to use the LUA code for my front door (ID:60). Unfortunately I can not code myselt

    Please login or register to see this image.

    /emoticons/default_icon_cry.gif" alt=":cry:" />

    I can not add my second door (ID:33) to this LUA code ... how to add other sensor right to the code ?

    - Jan

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