Good evening,
I hope you can help. We have spotlights on the driveway. We want these to be on every night from 6:00 PM to 1:00 AM (and then go out). If the contact alarm on the driveway goes off between 01:00 and 07:00, we want the spotlights to turn on and then turn off after 5 minutes.
We now have the following flows
If
The time is 6:00 PM
Then
Turn on spotlights
If
The time is 01:00
Then
Turn off spotlights
If
The contact alarm goes on
And
The time is between 01.00 AM and 07.00 AM
Then
Turn on spotlights
If
The contact alarm goes on
And
The time is between 01.00 AM and 07.00 AM
Then
Turn off spots after 300 sec
But apparently something is wrong. The spots switch on at 6:00 PM, but if the contact alarm goes off between 6:00 PM and 1:00 AM, the spots go out (and don’t turn on any more). However, this is not visible in the log of the flow and it even says that the spots are still on…
What goes wrong here? It seems that the contact alarm is causing a malfunction, but apart from the flows mentioned above, the contact alarm does not return in any other flow.
What kind of flows could I possibly use to make it run better?
Many thanks!