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 configure HC2 as alarm system?


Question

Posted

Hi all,

Unfortunately I do not really know how to configure the HC2 with door and window sensors and a Vision siren to act as an alarm system - I got different approaches from different people and do not know which is the right one. Is anybody here using it already in this way and could tell how to configure?

Suggestions:

1. configure associations to the siren for the door and window sensor

2. configure a scene to activate the siren

3. switch the type of the siren from switch to lamp and activate it in the alarm panel by using the panic function

What is your suggestion?

Thanks and kind regards,

alkorsi

7 answers to this question

Recommended Posts

  • 0
Posted

+1

I have the same questions. Any recommendations??

  • 0
Posted

There are many possibilities, the most flexible way is to use a combination of the Fibaro alarm panel and some scenes to manage switching on, off and the state of your alarm.

There is a link to a tutorial in my signature:

  • 0
Posted

I've built one scene to control my alarm function. It has different modes and can be set up to include or exclude different sensors (using an external script) the scene decides whether it is an alarm case or not; i.e. A smoke detector in alarm is always an alarm case and will trigger the alarm, while motion is only an alarm case in certain rooms when set to "away mode", same goes for the window/door sensors once I get around to onstalling them.

This scene will then trigger the siren. I can share what I have, but it probably wouldn't work for you as I'm running an external script, I have my own custom alarm siren which activates in all speakers in the house and on my room tablets in each room... But the principle should be the same for a vision siren.

  • 0
Posted

There is a link to a tutorial in my signature:

Steven, I read your tutorial with interest. Im having trouble though setting it up. Is the alarm check scene missing from your tutorial? Also how do you do your rooms group?

Thanks!

  • 0
Posted
I've built one scene to control my alarm function. It has different modes and can be set up to include or exclude different sensors (using an external script) the scene decides whether it is an alarm case or not; i.e. A smoke detector in alarm is always an alarm case and will trigger the alarm, while motion is only an alarm case in certain rooms when set to "away mode", same goes for the window/door sensors once I get around to onstalling them.

This scene will then trigger the siren. I can share what I have, but it probably wouldn't work for you as I'm running an external script, I have my own custom alarm siren which activates in all speakers in the house and on my room tablets in each room... But the principle should be the same for a vision siren.

Hi Dalle1985

Interested in this - how did you get android tablets to play sound without click events? That is the limitation I seem to have with mainly JavaScript backend ?

And why we're chatting and I'm hijacking this thread -sorry

Please login or register to see this image.

/emoticons/default_icon_rolleyes.gif" alt=":roll:" /> I have a minor issue with the file version of the json hc2 output on tablet interface. The issue is when light off on tablet - often image changes back to on for a few seconds to previous setting before write of the hc2 status catches up with the recent device change. Doesn't change the light itself obviously but image goes from on to off to on again. (This is on my simple version) Hopefully this makes sense to you.

Cheers

Glenn

  • 0
Posted

The issue with sound is something completely idiotic from the developers of android and iOS. For some reason, they have disabled autoplay for sound and video (apparantly to avoid datausage without the user authorizing it). So you can't really solve the click event. The way I've worked around it, is that you only have to trigger the audio element once after load with a click event before it will allow autoplay. So I have an empty mp3 file with a length of 100 ms and then when the page loads, an invisible div is put on top of the page. This means that the first time you touch the screen after loading a page, the silent sound will play and you can now autoplay other sound bites. It's not entirely fool proof but it works fine for me.

As to the cycling buttons. Well, for me it is a feature and a job thing. I work in oil production and the rational there is that the visual indication (i.e. A light) should change state to show that the desired function has been executed, not because i pushed a button. So whenit initially changes to On, it is to confirm that you've pushed the button, then it changes back to Off as that is still what HC2 is reporting and then back to On once HC2 actually reports that the plug, light or whatever is actually On. Does it make sense? In that case, the indicator button will actually still indicate off if the device didn't respond. If the button changes just because you push it, then you'll not know if it actually executed the function.

If you want it to change state immediately no matter the actual state, you need to disrupt the script that checks the actual hc2 state for a period after the button is pressed and then reinitiate the timeout function after i.e. 10 seconds. But that will disable the button for the 10 seconds. But that way, you can be sure that the HC2 has updated the status before it autoupdates the picture again.

  • 0
Posted

Thanks

Understand - leaving it up to the script process to change the button probably the best option I agree

Glenn

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