Page 1 of 1

Event "alarm" triggered in wrong sequence

Posted: Monday 13 March 2017 22:00
by roy1982hd
blockly.jpg
blockly.jpg (66.59 KiB) Viewed 829 times
Hi everybody,
the attached event does not work as expected.

The event was intended to activate the sirens (= group Alarmmelder) as soon as any door is opened while the Security Panel is set to "Armed Home" or "Armed Away". (The device "FensterOderTuerOffen" is a virtual device which I set as a parent device of all door and window sensors.)

Unfortunately, the sirens only switch "on" when I open a door or window and THEN set the Security panel to "Armed Home" or "Armed Away".
I already changed the sequence of the "Else if" requirements but the result is the same.

Thanks in advance for any ideas or suggestions!

Re: Event "alarm" triggered in wrong sequence

Posted: Saturday 18 March 2017 2:19
by roy1982hd
Thanks anyway. I solved the problem by using LUA for my event.

Here's the corresponding thread: https://www.domoticz.com/forum/viewtopi ... 61&t=16673

Re: Event "alarm" triggered in wrong sequence

Posted: Sunday 26 March 2017 12:26
by Spitfire
Yes, dont use blocky for "else if" handling, it's broken. You can do work arounds but it's not worth it.