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
Search found 4 matches
- Saturday 18 March 2017 2:19
- Forum: Blockly
- Topic: Event "alarm" triggered in wrong sequence
- Replies: 2
- Views: 988
- Saturday 18 March 2017 2:16
- Forum: LUA
- Topic: Alarm Trigger Event via LUA (solved)
- Replies: 2
- Views: 1967
Re: Alarm Trigger Event via LUA / Can't find the mistake
Thank you very much, Jos!
Just tested it and the alarm-event works now!
I) ALARM TRIGGER EVENT
1) FensterOderTuerOffen' = is a virtual device that is a parent switch of all door and window-sensors
2) 'Alarmmelder' = is a group that controls all sirens/smoke detectors
Code:
commandArray ...
Just tested it and the alarm-event works now!
I) ALARM TRIGGER EVENT
1) FensterOderTuerOffen' = is a virtual device that is a parent switch of all door and window-sensors
2) 'Alarmmelder' = is a group that controls all sirens/smoke detectors
Code:
commandArray ...
- Saturday 18 March 2017 1:29
- Forum: LUA
- Topic: Alarm Trigger Event via LUA (solved)
- Replies: 2
- Views: 1967
Alarm Trigger Event via LUA (solved)
Hi everybody,
My LUA-intruder-alarm-event seems to contain a small mistake.
Protocol says: Error: EventSystem: in Alarmfall Einbruch: [string "commandArray = {} ..."]:4: ')' expected near '='
Here's the event-code:
commandArray = {}
if (devicechanged['FensterOderTuerOffen']) then
if ...
My LUA-intruder-alarm-event seems to contain a small mistake.
Protocol says: Error: EventSystem: in Alarmfall Einbruch: [string "commandArray = {} ..."]:4: ')' expected near '='
Here's the event-code:
commandArray = {}
if (devicechanged['FensterOderTuerOffen']) then
if ...
- Monday 13 March 2017 22:00
- Forum: Blockly
- Topic: Event "alarm" triggered in wrong sequence
- Replies: 2
- Views: 988
Event "alarm" triggered in wrong sequence
blockly.jpg
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 ...
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 ...