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 enter sirees into alarm panel?


Question

Posted

Hi,

I have an everspring sirens and want to add it as an action into the alarm panel.

Meaning I want the sirene to make noise if a sensor it breached.

I managed to do it with a scene but here only with one sensor breached. If I add other sensors it does not work anymore.

Can someone help and explain to me how I can arm all sensors via the alarm panel and make the sirene sound if one of them is breached?

Best from germany

Fritz

[ Added: 2014-02-17, 07:22 ]

SORRY WRONG FORUM

12 answers to this question

Recommended Posts

  • 0
Guest dsilletti
Posted

Hi, use LUA, this is a scratch from my code:

35,39,43,54 and 56 are device ID of the sensors,

60 is the ID of the siren,

65 is my iphone for push notifications and 2 is my account for the email notifications

only if the sensors are armed and breached the siren and the notifications will start

Please login or register to see this code.

  • 0
Posted

That´s helpful - thanks.

Just one stupid question: Where do I find the ID for my Iphone or push notification?

Please login or register to see this image.

/emoticons/default_icon_rolleyes.gif" alt=":roll:" />

[ Added: 2014-05-22, 15:51 ]

Sorry, I ment the ID for my Iphone and for emails....

  • 0
Guest dsilletti
Posted
That´s helpful - thanks.

Just one stupid question: Where do I find the ID for my Iphone or push notification?

Please login or register to see this image.

/emoticons/default_icon_rolleyes.gif" alt=":roll:" />

[ Added: 2014-05-22, 15:51 ]

Sorry, I ment the ID for my Iphone and for emails....

login to your HC2, then with the browser go to this web page:

http:///api/devices

you will see all devices in json format.

Search for iPhone (or the name that you gave to your iPhone), and you'll find the id.

Then search for your email address and look for your user id.

Then use these IDs in your scene.

Ciao

Domenico

  • 0
Posted

Thanks - that´s great

Please login or register to see this image.

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

  • 0
Posted

dsilletti,

Does this also work in turning the sirens off when the alarm is being deactivated through the alarm panel? If not, what would you recommend?

Thanks!

Thijs

  • 0
Posted

I have no experiences with LUA. Is it difficult to add something in the above scene,

- to make a delay of 30 seconds, before my devices are getting armed (so that I have a chance to leave the floor after activating the scene) and

- a delay of 30 seconds after recognizing any motion before triggering alarm (so that you have a chance to deactivate it) and at least

- to switch a micro switch on when the alarm is activated (so that everyone can see, that the alarm is activated right after entering the floor)?

It would be very kind, if someone can help me with this codes please.....

  • 0
Guest dsilletti
Posted
dsilletti,

Does this also work in turning the sirens off when the alarm is being deactivated through the alarm panel? If not, what would you recommend?

Thanks!

Thijs

I manually switch off the siren from iPhone/web gui, I will see if a better way is possible.

Domenico

[ Added: 2014-06-04, 12:57 ]

I have no experiences with LUA. Is it difficult to add something in the above scene,

- to make a delay of 30 seconds, before my devices are getting armed (so that I have a chance to leave the floor after activating the scene) and

- a delay of 30 seconds after recognizing any motion before triggering alarm (so that you have a chance to deactivate it) and at least

- to switch a micro switch on when the alarm is activated (so that everyone can see, that the alarm is activated right after entering the floor)?

It would be very kind, if someone can help me with this codes please.....

in HC2, if you go in sensor setting you can find a section Delay Arm / Disarm where you can set Arming Delay (I setted this to 30 sec).

I configured this delay for all sensors, so when I activate alarm I can see in fibaro Gui/iPhone/iPad App the sensor with countdown before alarm is fully activated, for the alarm status actually I don't know how to check by LUA the alarm status, I will give you updates

Domenico

Please login or register to see this attachment.

  • 0
Posted

Thanks a lot for this tip so far. One big problem is solved (without using a LUA code - so it´s save for me too

Please login or register to see this image.

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

  • 0
Guest dsilletti
Posted
Thanks a lot for this tip so far. One big problem is solved (without using a LUA code - so it´s save for me too

Please login or register to see this image.

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

Please login or register to see this image.

/emoticons/default_icon_biggrin.gif" alt=":-D" /> Anyway you don't need anymore LUA to activate your siren, for the last versions with new Fibaro Alarm, just create a scene in blocks that switch on the siren, then add the scene in Fibaro Alarm panel, and set to run the scene after x seconds after alarm is triggered.

is a basic configuration but if you need only to activate siren is ok.

With LUA in the same time in one simple LUA scene I have custom push notify, custo email and custom SMS for each sensor and each room (SMS via Clickatell API), and other custom setting

Domenico

  • 0
Posted

Yes, you are right, but I really like to have the more detailed information from your LUA script with the exact position of the motion detected etc. (it´s allways the problem between wishes and own abilities

Please login or register to see this image.

/emoticons/default_icon_sad.gif" alt=":-(" /> - and it seems to be only a short step away)

[ Added: 2014-06-06, 13:11 ]

To include the delay within the LUA script might have the advantage, that it works just by starting the scene, even if the alarm panel is not available (like in the current version for Android Tablets).

I found this command fibaro:sleep(30*1000) but I still don´t know where I have to write it into the above LUA code to have a delay of 30 seconds for my siren to start after the alarm is activated

Please login or register to see this image.

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

Can anyone help me with this problem?

  • 0
Guest dsilletti
Posted

I found this command fibaro:sleep(30*1000) but I still don´t know where I have to write it into the above LUA code to have a delay of 30 seconds for my siren to start after the alarm is activated

Please login or register to see this image.

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

Can anyone help me with this problem?

just before

Please login or register to see this code.

where 60 is the siren

Regards

Domenico

  • 0
Posted

ciao Domenico gentilmente mi daresti una mano per configurare i sensori con lavvio della sirena ho provato come scritto sopra ma non riesco

saluti

hello Domenico kindly would you give me a hand to set up the sensors with lavvio mermaid I tried as written above but I can not

greetings

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