Looking for assistance with TCP please.
Background:
- My wife does not care about HA, and will never look at an app or tile screen for info; nor would she really understand what she is looking at if she did. As a result, I try to build with that in mind. And 2) ST misses actions or sensors fail to update 100% of the time
We have a piston that will turn off the thermostats if any doors/windows have been open for more than a minute - this works great, especially in spring and fall. However on rare occasion a ST sensor fails to read a close event, thus a contact sensor continues to report open (front door for example). Itâs the middle of winter here, a falsely reporting open front door turns off the heat in the house. Rather than trying to automate any corrective actions, I am trying to push sms.
So I wrote the following piston to check to see if the âdoor/window open trackingâ switch is on (on=open) and it is cold out. If that switch is on for more than 10 minutes then send the SMS.
Here is the problem, I would have thought that the switch returning to off (within 10 minutes) would cancelled the pending SMS. It is not, I am getting the SMS most of the time.
At first, I wrote it with simply the default TCP, which as I understand it is simple and logical - cancel on condition state change. I have updated it to Piston or Condition. I think it is currently default in this piston. You can see I also tried A) âsimply on, and waitâ or B) âswitch stays onâ and (not shown) A+B. In all cases, I am getting the text message. What am I missing?