Greetings all,
I'm trying to do something pretty simple.
I have 2 modules: A door sensor, and a siren.
I setup a virtual device called SIREN ARMED which can be ON of OFF.
I have a manual event that runs the SIREN for 5 seconds, on the condition that IF the SIREN ARMED is ON.
I have an event that runs the previous event when the door sensor is opened.
Now, no matter if the SIREN ARMED is ON or OFF, it always goes off.
What's the trick for this scenario ?
I'm trying to do something pretty simple.
I have 2 modules: A door sensor, and a siren.
I setup a virtual device called SIREN ARMED which can be ON of OFF.
I have a manual event that runs the SIREN for 5 seconds, on the condition that IF the SIREN ARMED is ON.
I have an event that runs the previous event when the door sensor is opened.
Now, no matter if the SIREN ARMED is ON or OFF, it always goes off.
What's the trick for this scenario ?
Comment