Create Webcore piston/ Rule which includes physical & virtual triggers for the same device

Hi,
I tried to search everywhere but could not find an answer for this so wanted to see if anyone has any idea/way forward.
I have a Zwave lights switch (GE) for external pathway lights and Fibaro motion sensor. I set a rule in when motion is detected, to turn on the lights and turn it off when motion stop - this works well.
Now I'm looking for a way to have these lights on when I choose (disabling the motion sensor for a period).
I was thinking that there would be a way to have 2 methods of control for the same device - physical and virtual - that way I can set pistons to complete what I'm looking for:

  • Virtual - switch turned on/off based on the sensor reads
  • Physical - I control the switch on/off and this override the sensor reads until the next time the switch is turned off

any idea if/how this can be set? I do not find any separation between virtual/physical interactions in Webcore nor Hubitate rules.
Any idea would be very helpful

Depending on the switch, it may or may not be capable of indicating if it was activated/deactivated due to physical action. Many of my early switches cannot, so I use a virtual switch as I describe below:

I use webCoRE and I have a number of 'pistons' that can temporarily suspend the piston's automation by turning on a virtual switch that I call an override switch.

In this example, the Den Night piston can be suspended by one of two override switches:

The override switch(es) can be activated or deactivated via dashboards, within the Hubitat app, or Alexa.

If your particular switch can indicate a physical action, you can still use this kind of logic to activate your override switch(es). In webCoRE, the use of the 'switch physically changes to" IF statement, would look something like this:

Thank you for the idea, I'll try this and report back

1 Like

You're welcome. Please let me know.

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