Door open when alarm activated, send sms message


#1

1) Give a description of the problem
I would like an sms message sent if a house door opens and the alarm switch is turned on

3) What is happening/not happening?
nothing is happening

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Hi @lauzca
You have no triggers…
These are two CONDITIONS.

(I don’t use ONLY WHEN)
try this:

IF Contact sensor 5 contact CHANGES TO open (Trigger)
AND
IF Swith 5 switch is ON (Condition)
then
Send SMS “a door has opened” phone number

and take a look at this article, this will help you a lot understanding conditions vs triggers.