I recently migrated to the new app and have a problem with one of my automations. Before I have it set that if it was in away mode for more than 12 hours it would switch to vacation mode (lights would randomize, thermostat would turn down, etc). With the new app the highest delay I can seem to specify is 60 minutes. Am I missing something on how to do this? I currently have is set to be;
If away, home, night and specific person is gone for more than 60 minutes then run scene i’m on vacation.
It used to be if mode was away for more than 12 hours run i’m on vacation, but I can’t figure out how to do that now.
I am sure it’s far more simple than i’m making out to be but I just can’t figure it out. Any help is greatly appreciated.
@Vinlo I know it is a clunky workaround but have a virtual switch be delayed 60 minutes, which triggers an automations that turns on another virtual switch after 60 minutes, and so on. After the needed time is reached, just have the last virtual switch trigger the final action
There’s a Wiki and a booming community. IMHO, webCoRE is the answer for most of what I see posted here. It’s just a freaking awesome Rule Engine. Very easy to used once you understand the basic concept.
Hello @Vinlo,
The Rules API is another option, in the time properties such as sleep you can use bigger units like Hour or Day.
The example below describes this workflow:
IF the location mode changes to Away
THEN wait for 1 hour and check IF the location mode is still Away.
This rule needs the location mode IDs, to get those values, take a look at this post.
In the API documentation, you can find more information about the Rules’ syntax. Refer to this post for the instructions to install a rule.
If one of the previous posts answered your question, would you please mark it as solved? If you still have doubts or issues, let me know what’s going on and I can dig in further.
I was able to get it working through webcore, although in doing that I somehow screwed something up and am now no longer to see the dashboard “there was a problem loading the dashboard data…” error. I just can’t win today. lol.
I’ve been trying to fix that problem now for a while, to no avail.
edit: I get the error in live logging
“physicalgraph.api.StatusCodeException: Invalid http status code returned: 401 @line 950 (api_get_base_result)”
Thanks forthe reply and feedback, for now I am approaching the logic in a different way, however it would be great to have this functionality restored.