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

Aeon Labs Panic button


Kage

Question

I have connected my panic button

But how do i make a scene, so if i press it the siren (ID=70) goes on

the siren can i make to work with eg sensors.

but not with the panic button

many thanks

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

This could help...

I needed a push button to activate a wall socket then auto switch off after 10 minutes. But the panic button would always need clicking twice (on then off) when directly associated with the socket, not what I wanted.

Solution:

Don't directly associate the button with the item to be controlled.

Add parameter 250 = 1 to enable scene mode on the panic button.

I used this code to do what I wanted, and you may be able to adapt this to control your item (I've not tried it with a siren).

I believe it may also be able to detect 'Click and hold', and 'Double Click' perhaps, by testing for different values. Not tried that yet as this solved my immediate problem.

Note: ID 44 is the Panic Button, 48 is wall socket.

--[[

%% properties

44 sceneActivation

%% globals

--]]

local startSource = fibaro:getSourceTrigger()

if (

( tonumber(fibaro:getValue(44, "sceneActivation")) == 1)

or

startSource["type"] == "other"

)

then

fibaro:call(48, "turnOn")

fibaro:sleep(600000) -- 10 minutes

fibaro:call(48, "turnOff")

end

Hope it works for you

Colin

Link to comment
Share on other sites

  • 0

Sorry to dredge up an old post. How did you get the panic button to accept the parameter. I am having no luck..

Thanks

 

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