I’m trying to see if it’s possible to do conditional programming within a scene or sequence. It seems like you can only do this via a button press, time lock event, or sensor event.
What I’m trying to do is coordinate geofencing (through Lutron connect app) for two different people, so that a scene is run only when they are both arriving around the same time. The Lutron connect app allows you to set a scene to run when arriving, so I set up two scenes (user 1 and user 2) that sets corresponding ‘arriving’ variables for the user. In a sequence that sets the variable to ‘arriving’ and then automatically cycles to ‘home’ a few minutes later. What I wanted to do was then conditionally check and run the arriving scene only if the variables for both users are in the ‘arriving’ state.
Setting the variables for state is easy enough, but it doesn’t seem possible to run any conditional logic as part of the scene or sequence. I can only directly set light levels, variables, other scenes or sequences, etc, but none of that can be conditionally triggered.
Is there something I’m missing? Any ideas on how to achieve what I’m looking for?
Conditional logic can be done on a button press, but I don’t see a way to have a scene virtually press a button. As a last resort, I could have the scene send a command to a 3rd party device and just use integration protocol to do what I need, which would definitely work, but more complex to set up. Could also do something silly like set a time clock event to run every 30 seconds, and have the conditional logic check for the ‘arriving’ on both variables there.
There must be something I’m missing? Could something using a manual sequence with tracking based on the variables (to jump certain steps) somehow work for this ? Or is it possible to send an integration command the same processor to virtually trigger a button press (which has the conditional logic)?