Is there a buried rule machine command that will trigger "Return from Away" similar to the "set mode" command for other modes?
Or is the expected usage to trigger a virtual push button setup in mode manager?
Is there a buried rule machine command that will trigger "Return from Away" similar to the "set mode" command for other modes?
Or is the expected usage to trigger a virtual push button setup in mode manager?
I think I may need to be more specific.
My understanding of the mode manager app is that it can be controlled by timed events and triggers ( push buttons, switches, presence devices).
Until recently, I've been using timed events and virtual push buttons to manually trigger the mode I wish to be in.
As part of my code clean up, I have been replacing all of the virtual push buttons for the specific modes with rule machine calls (e.g. "mode: Away") since these are easier to read and don't require notes to know what button number equates to what mode.
I'm wondering if there is a specific rule machine call, buried in one of the lists that I am unaware of, that can be used to replace the virtual push button I am currently using to trigger "return from away"?
I assume you are talking about Mode Manager with the "Use time settings for Return from Away?" enabled and the "Select button devices for Return from Away mode" option? If so, no, there is nothing you can directly call from Rule Machine (or any app) to activate the "return from away" thing--except one of the button devices you specify.
But you can do this from RM by doing exactly that. If your device supports it and this "feature" doesn't do anything else on your device (most do, and most of the time it doesn't), then you can use the "Push a button" action in RM to simlulate a virtual/digital press of that button and wake/trigger the same apps a real press would. Or you could create a virtual button device and use it for this exact purpose--say, button 1 pushed on your virtual button device, or whatever you want.
I use a virtual switch called “Home Presence.” When we all leave (and mode becomes Away automatically), the switch turns off. When one of us enters the geofence then opens the garage door or unlocks the front door, that triggers a “Welcome Home” rule. That rule then turns on the “Home Presence” virtual switch.
I have mode manager to trigger “return from away” with “Home Presence” switch turning on (controlled in mode manager).
The virtual switch toggling is how I use Rule Machine to control modes (specifically return from away).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.