Simple Garage Door Open/Close Help


#1

1) Give a description of the problem
I’m brand new at this and trying to create a simple piston that opens the garage door when my wife arrives (using her iPhone as the trigger), or closes when she leaves the house using the same iPhone trigger. I’ve written the first half using someone else’s example, but it doesn’t seem to be working.

2) What is the expected behaviour?
Door opens when presence arrives, closes when presence departs

3) What is happening/not happening?
The Garage door is nit opening upon arrival.

**4) Post a Green Snapshot of the piston

5) Attach logs after turning logging level to Full


#2

XOR is not the same as OR

I would try changing it back to OR.

pic


For troubleshooting (especially with a presence sensor), I also recommend turning Log Level to Full for a week or so. (with Trace turned on)


Pro Tip:

I understand why you tried to use XOR, but generally speaking, two triggers cannot be true at the same instant. This means that if Traci has two presence sensors, this piston will run twice when she arrives, and twice when she leaves. (with the former events processing the THEN block, and the latter events processing the ELSE block, if there is one)


#3

Thank you! I’ll test this in just a bit… Now to try and figure out the close roun=tine…


#4

Hi Scott
Since you mentioned you are new to webcore, I have to warn you.
You have to be very careful with any automation that security and/or safety related.
If you don’t mind the garage door left open after someone leaves, than it’s fine. But no matter what, you will see that time to time it will be left open (Due to signal issues etc between SThub, webcore etc)

SThome tech is still very primitive.


#5

Thanks Ike - I figured there would be some ups and downs, and will definitely keep this in mind. Excellent advice!

Thanks again!