It says we left, but refuses to do anything


#1

Can someone please explain why this Piston refuses to do its job? Right now I’m far from home, webCoRE knows I’m gone, but the Piston doesn’t fire up. It’s based on when my wife and I leave home and the doors get locked (etc) just in case we forgot, regardless if one of the kids are home.

Here’s piston that shows our status when something changes, so webCoRE does see that we’ve left.

Here’s the Piston I’m talking about. Is the logic wrong? Is there an issue with the presence part of the webCoRE presence sensor?


#2

The snippet you’ve posted looks fine. So that’s puzzling. Did this only happen once, or does it happen all the time? WC and ST are cloud based, so if the Internet was down that could cause issues.

Can you post the entire Green snapshot piston? Can you post some full logs?


#3

It also happened yesterday morning too, so I assumed it was me using WC PS to check if we are at the “HOME” place, so I changed it last night to PRESENCE instead, but got the same result.


#4

For the logs I’d have to go though this tomorrow morning so logging can do it’s job.


#5

Yeah, so does it fail to happen every time, or did it just fail once?


#6

That top IF statement requires all presence sensors to change at exactly the same time… I’m surprised it ever evaluates true.

If you change it from “changes to not present” to “is/are not present” it’ll evaluate true and do its job.


#7

Well… so far two days in a row, but I forgot if it happened the day before that. It seems that it’s been fine in the past, so I’m trying to figure what is different. I’ve been updating many of many of my pistons to include my so-called subroutines to clean up the logic of my pistons.


#8

I can give that a try tomorrow.


#9

Just one question.

If I used presence are not present as compared to currentPlace are not "Home" , would one have a benefit over the other?


#10

You’re using the webCoRE presence sensor? If yes, I would use the “if currentPlace are not Home”… only because I’m not sure if presence changes to present if you are at another ‘place’ webCoRE knows.

If presence only changes to present when you’re at home, then the two conditions are one in the same.