Need some help with some fairly simple logic, that Smartthings or IFTTT don’t have internally.
If X, Then Y, if Z
X= Presence via Phone (home or away)
Y= Garage Door Trigger (only can send a “go” command, which will be either up or down depending on the current state of the door, like the little switch on your wall in your garage)
Z= Tilt Sensor on Garage Door (closed or open)
If I leave the house, send go command to the door, if the door is open.
If I leave the house, do not send go command to the door, if the door is already closed.
If I arrive, send go command to the door, if the door is closed.
If I arrive, do not send go command to the door, if the door is already open.
Smartthings doesn’t allow conditional expressions, and I can’t figure out how via IFTTT or Virtual Switches to fake it out to allow me to do this. I also don’t know how to use SmartApps or how to code them, so I’m pretty useless.