I’m just digging in to webCore to try and do something a bit more complicated than simple if-this-then scenarios.
I want to have my garage door open when I arrive and then, only for the next 10 minutes, have the garage door close if I turn off my garage light.
I hacked a way to maintain a global variable indicating that I’m “recently home” and it seemed to work in my tests (with lights instead of actual presence and garage door.) but now doesn’t seem to be working.
My hope is that I just made it too complicated and there is a more reasonable way to do something only within a time window of another event…
Here is the piston I came up with: