I've been using RM for basic rules and now I'm looking to fully immerse myself into making my automatons more useful. However I've confused myself with the amazing complexity available with RM 3.0 and If-Then-Else.
I have a Schlage lock with multiple door codes that are used by family, cleaning service, landlord, etc..., I utilize presence thru life 360; I live alone. I have most of my lighting defined by ST motion sensors grouped by room, using Lightify Zigbee bulbs, except for my porch light using a GE Z-Wave+ toggle switch and a LED yellow bug light.
Here is an example of what I want to see happen...
- Partner arrives and enters code into the lock to unlock the door
- Presence is Away
- Mode is Away
- HSM is set to armed Away
- Mode changed to Home
- Backdoor locked on delay of 10 min
- HSM is set to disarmed
And when my partner leaves:
- Door code enter to lock the door
- Presence is away
- Mode Change to Away
- All lights turned off IF its before sunset, ELSE only certain lights turned off
- HSM armed away
I'm having trouble determining when to use the IF with ELSE-IF to manage the above while also thinking about changing the fact that my Presence = Home complicates the ELSE.
If you could point me in the right direction as I have been trying to define this for about 2 hours and I keep finding fault to my logic of defining the design and have royally confused myself.