Mother-In-Law is about to visit but Iāve written a simple rule turning off an Iris plug connected to a Bidet between Midnight to 06:00 AM. Now, I can simply pause the rule for the duration of her visit (easy way out) or I could write two rules (but I donāt know how.)
Here is my existing rule which simply turns off a plug between a certain time:
Iām going to install the following driver to detect my MiLās phone.
Hereās what I donāt know how to do and was hoping others could please help out: Option A:
Would prefer to modify existing rule (or could be a separate rule) to say:
1a. If a specific phone presence is detected (using above driver), disable this rule for 24 hours.
Option B:
2: This would be an alternate method not using a phone, but a motion sensor instead:
2a. If Motion is detected in room, interrupt existing rule and turn on bidet/smart plug for 15 minutes than turn back off following the original rule again.
Would this presence rule work (using my phone as an example instead of MILās)? I always get confused with the conditionals in RM reading āIF (Charlieās iPhone present FALSE) On: Iris Plug Bidetā. Should it be āTRUEā instead?
I guess it depends on your relationship with your mother-in-law
Seriously, I guess I'm old school but I would pull the Iris and plug the bidet into the wall while she were visiting. There will be no question the seat will be warm for her.
I know the WAF is important and I'll assume the WAF = MLAF.
Careful! Wifi presence is not a reliable as you'd like it to be. Phones turn off wifi when they're not being used. So you would need to make sure that he wifi doesn't sleep, or that bidet will turn itself on while she's home just because the connection to her phone is sleeping. Something to think about.
I just googled WAF and MLAF and it means either āweb application firewallā or āMississippi Language Arts Framework.ā Unfortunately Iām still at a loss on this one.
You can also use one rule to pause/resume another rule. So you could do something like:
Trigger:
MIL presence *changed*
Actions:
IF MIL present THEN
Pause rules: Bidet Timer
ELSE
Resume rules: Bidet Timer
END-IF
Personally, I think I'd either just turn the Bidet Timer rule off, or plug the bidet directly into the wall. As others have pointed out, there's less of a chance of failure.
Poor poor Steve... if only he couldāve figured out a way to automate responses to his wife and his purchases like Iām striving to, he wouldnāt have found himself in this predicament.
WAF = Wife Acceptance Factor, one of the most important constant [*Edit: variable :-)] in the known universe (and beyond).
Accordingly but far more dangerous, the MLAF (Mother in Law Acceptance Factor).
Viewing your needs, my sole opinion would be: when ML is coming, keep the bidet heated, always, 25 hours per day. Don't use any rule, trigger that will leads to problems and you will hear them, again and again, in 20 years...