Override RM when physically turn on my switch

Hi there!

I have a zigbee humidity / temp sensor in my garage and I did setup RM in order to control my garage fan speed based on the humidity via a leviton fan switch (zwave). It looks like that :

Trigger :
Humidity of Garage sensor(62.91) reports > 55

IF (Humidity of Garage sensor(62.91) is > 55(T) [TRUE]) THEN :scissors:
Set Fan Speed: Garage fan to low :scissors:
ELSE :scissors:
IF (Humidity of Garage sensor(62.91) is >= 63(F) [FALSE]) THEN :scissors:
Set Fan Speed: Garage fan to medium :scissors:
ELSE :scissors:
IF (Humidity of Garage sensor(62.91) is >= 75(F) [FALSE]) THEN :scissors:
Set Fan Speed: Garage fan to high :scissors:
ELSE :scissors:
IF (Humidity of Garage sensor(62.91) is < 55(F) [FALSE]) THEN :scissors:
Set Fan Speed: Garage fan to off :scissors:
END-IF

What I would like to do now, is that if I decide to override the fan speed for any reason, say I want to set it to medium speed even if my humidity is under 63%, I go and use physically my leviton switch and it would pause the rule (forever or a given duration, this is still TBD).

I'm not sure how to differentiate a physical and a digital command and use it to trigger a rule pause. I'm fairly new to HE and I'm surely missing something.

I can see in the event log of my leviton that the "Type" of the event makes the difference between digital and physical. But that's where I get a little stuck, I haven't been able to query this value and I'm not even sure how to pause a rule.

Any ideas / help suggestions would be greatly appreciated!

Thank you!

Apologies for the screwed up formatting of the RM code. I can't seem to edit my post atm.

I would suggest a second rule and a Virtual switch.

Once the new virtual switch is created then set as a required expression for your existing rule that the new virtual switch is off.

Then create a second rule that allows you to set the virtual switch to on based on a trigger of a physical press of the fan switch. You should be able to specify that as part of the RM trigger. When you go to select the trigger scroll down past switch for the option of physical switch. That will do it.

Once that is done then you just need to decide on a way to turn it off. You can either do a timer to reset it after so many minutes, or create another rule for a different action to turn it off.

It works perfectly, thank you very much!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.