PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Leave house versus coming home



eulaersi
24.02.05, 10:59
When leaving the house I would like to shut off all the lights. When coming home (at night), the lights should switch on when I'm entering.

I have the following events connected from my alarm system (not EIB) to a binary actor (Merten):
- entry event: if somebody enters when the alarm is on, I get a warning (eingang A)
- alarm on event: if the alarm is on, I can see that on eingang B
- Door 1 event: if the door opens, I get a warning (eingang C)
- Door 2 event: if the door opens, I get a warning (eingang D)

So to know when somebody leaves the house, I will have to act "if (the alarm is on) AND ((door 1 is open) or (door 2 is open)) AND NOT (entry alarm)". In other words: when somebody leaves the house, he/she will switch on the alarm before opening the door.

When somebody enters the house, I will have to act "if (entry alarm) AND ((door 1 is open) OR (door 2 is open))".

How would I have to program this in ETS?

I also have a "busankoppler" of Merten with logical functions.

Thanks for your help

Ivan