Apologies if this isn’t quite the correct place to post but I’m after some thoughts on the flow of my DP…
I’ve got a few proxy and unbound items working fine:
vPresence ON / OFF - Someone is home or not
vEndOfDay - Essentially a ON / OFF to determine if we are in bed or not
Now vEndofDay can be triggered to ON / OFF by either an Alexa command, (good night or good morning) or by CRON rules at 00:30 and 6:00, (in case we forget to use the Alexa command).
No problems there, I have a rule that triggers on vEndofDay state changing and via an easy ‘if’, ON runs my nighttime routine, (ie cameras on, tv off, lights to nightlight etc) and OFF turns it OFF, again no problems.
However, I only want this routine to trigger when vPresence = ON as I have another routine working when I’m away to make the house act like someone is there and I don’t want both rules to interfere with each other.
So, the DP question…
Should I have the original rules trigger and run based on one sole thing, ie cron or alexa command and then update the DP proxy item, vEndOfDay.
Then the larger rule ‘when Item vEndOfDay changed’ I incorporate an ‘if vPresence = ON’ to make it work…
Should I only make the original rules update based on cron and vPresence state and then the DP Proxy Item will only update once all conditions are met?
My thought is that a proxy item should only really update based on one trigger and then it has far more options to control within the next rule, or should a DP Proxy item reall yonly be updated after all the multi if cases are met?