Enerwave PIR Setting ZWave Variable

I have a enerwave PIR Sensor. I used to have these setup with a variable that I set that tells the device to stay "detected" for 2 minutes, instead of switching back to off when no motion right away. With Vera (which I am SO glad I gave up since Hubitat is so much better already) I was able to set the Variable and reconfigure the device. Is there a simple way to do this with Hubitat? I may be overlooking a easy way to do this.

I am thinking I need to write my own driver for this instead of using the Generic Motion Driver. There is a ST Driver, I am just lost how to port over. (SmartThingsPublic/enerwave-ceiling-mounted-motion-sensor.groovy at master ยท xcguy/SmartThingsPublic ยท GitHub)

I advise you "ignore" the motion to no-motion event.

Create a Rule for Motion detected and when True, turns on your light. When the motion ends, the False side of the Rule runs and that starts a Cancelable Delay (the Delay will be cancelled if True occurs) and then turns off the light. Let's say it's a bathroom and you set the delay to be 15-20 mins to allow plenty of time for another motion to be sensed.

Motion sensed = Light on
Motion ends = Cancelable Delay then Light off

.
.
.
When you first create the False action(s), Cancel doesn't show.

scap

.
.
.
set a delay, say 5 mins and hit TAB (or click out of the field) and the Cancel switch shows:

scap

2 Likes