Loxone Support Community

Find answers, ask questions and become part of the Loxone Community.

2 years ago
PIR conundrum

Hi All,

I have simplified my set up in the attached file.

Basically I have a PIR on my gate. If someone comes through the gate I would like it to invert the kitchen light for a flash.

So if the light is on it will turn off for 5 sec and if off it will come on for 5 sec.

If several people come through the gate at once the PIR could fire multiple times so I have added the delayed pulse function, with no delay but a 5 sec pulse.

Thats the theory!! In reality if the ight is off it works fine. BUT if it is already on the delayed pulse will not invert the signal so the light stays on for the five seconds and then turns off leaving the room in darkness!

Any thoughts?

Jim

Attachments
1 Answers
2 years ago

I would put the "flash controller" between the Lighting Controller and the lighting circuit.
See attached as an example.

Attachments
2 years ago

HI,
Thank you for taking the time to think about this. Can I clarify for my own pea brain!
1) What is the purpose of the first (11sec) switch off delay? Given the ETW relay can do a fixed no. of cycles?
2) I think the second switch off delay is so that there is a continuous ‘on’ signal while the wall switch is on because linking directly from the 1st ‘and’ block to the 2nd ‘and’ block would only give a pulse and thus the lights would not stay on (if they were on before someone triggers the PIR).
3) I think I can do away with the first (11sec) delay and make the second switch off delay 1 sec. Doing this removes the need for the edge detection.
Whaddayathink?

2 years ago

The 11s switch off delay is so that the ETW only gets one pulse. Otherwise each time there is motion there is a pulse and the ETW is re-triggered. That means that instead of a pulse, the light will remain on (if it was previously off) or off (if it was previously on) until the motion stops repeating. It really depends if you think someone (or something) is going to go back and forwards across the PIR.

You can actually reduce the ETW to 5s on and 0s off, then reduce the 10s switch-off delay to 5s. The 11s delay can then be reduced to 6s. The now 5s delay needs to be 5s if you want the light to go off for 5s. If you reduce it to 1s, the light will flash on for 5s, but flash off for 1s.

If you remove the edge detection reset of the 5s switch off delay, then if there is motion in the 5s after the light is manually turned off, then the light will come on 5s after it was turned off, but only stay on until 5s after the motion started. So if there is motion 1s after the light is turned off, the light will come on after 4s and remain on for 1s.

Cheers,
Ewan

2 years ago

Hi Ewan, Thanks for your help and explanations. The switch off delay is useful as multiple people walking through the gate would have the house flashing for ages when I only need to know someone is coming not how many! I have changed the ETW relay to 0.5 sec on and 0.5 sec off and cycle of 3. That way people aren’t left in the dark for 5 secs when the gate is opened! It also removes the need for the edge detection as everything happens more quickly!
Jim