I’m new to ST, though I’ve dabbled in HA over the years. One of the things that caught me out a little was the lack of a rules engine - I gather that’s a slightly contentious topic and hopefully something that will be properly addressed in time, but I find myself trying to get my head around what can be achieved and how.
I have what seemed like it should be a fairly basic requirement that I’m struggling with, so hoping to get some advice.
I’ve been using the starting modes, and using these to drive security monitoring states i.e. Setting the system to Armed in the Away state. I’m using presence tracking from my and my wife’s phones to set that mode, and whilst that does work, it doesn’t account for guests - if we have a babysitter over for example, I don’t want the system to switch to Away when we leave.
To manage this, I setup a Guest mode. Although not perfect I have some simple logic to set this - if both myself and my wife leave (when the system would normally switch to Away), but movement is detected within the following 5 minutes, switch to Guest instead, on the assumption that we’ve left someone in the house knowingly. Likewise if in Guest mode and the front door opens and closes, and then the door stays closed and movement isn’t detected for 10 minutes, switch to Away mode. It’s not perfect, but seemed like a fair starting point.
Except that I can’t seem to code this logic using the 1st party functionality. I then tried using SmartRules, but that wouldn’t do it either. Are there other 3rd party rules engines that can achieve this sort of thing, or is this out of reach?
It doesn’t feel overly complex so hoping someone can point me in the right direction as to how to approach it.