Front Door Mat Sensor


#1

I have a pressure sensor under my front door mat connected to a contact sensor which reads as “closed” when someone stands on my mat. As well, I have a contact sensor on my front door when it opens and closes.

Right now I have a webcore piston setup that will send a push notification to my phone when the mat sensor changes from “open” to “close” saying “Some is at your front door”. Problem is this piston triggers when someone walks out from my home as well.

I would like to setup where if the front door opens first the the piston won’t trigger and only work when the mat triggers first indicating some is coming to my home verses someone leaving my home. Hope I explained this well enough


#2

You should be able to do what you want by simply adding one more condition:

IF Doormat sensor contact changes to closed
AND
Front door sensor contact has not changed in the last 30 seconds

THEN
send message


#3

Here’s a quick example - I haven’t used the WAS condition much so if it doesn’t work, post up here what happened and we’ll get it fixed!


#4

I think that will do it with the status condition on the front door sensor. Will test later today and update. Appreciate it!