I could use some help with a rather simple rule that I can’t get to work.
I have a wireless door contact (ID contact1) and I want pimatic-prowl to send one message when the door is opened AND (via pimatic-ping) two devices are absent.
My first try was:
contact1 is opened and iphone-1 is absent and iphone-2 is absent
but this sends a message every X seconds when contact1 is opened and the two devices are absent.
What do I need to change to send only one message as soon as contact1 is open?
I think I have to introduce a new variable (NotificationSent) that is set to true and to false once the contact is closed again.
Thanks for your help,