Advanced Rule Manager?

Hi,

I am just migrating from ST to Hubitat and today finally I managed to migrate all devices in a single room.
Then I needed to add a rule for these devices and used the rule manager.
Basically a motion triggered action. But I could not find any trigger event like (changed 1 minute ago)
There are only "activated/changed/inactive" events.
I need some advanced events like "changed in last 2 minutes" etc.

Is there an advanced rule manager like Core for ST ?

Thanks.

I'm not sure exactly what you're trying to achieve, but to execute actions one minute after a change in a motion sensor, you could changed/inactive/active as your trigger and then have a delay statement as the first line of your actions.

it is not the same thing.
what you say is ;
trigger at time X and then run the action at X+Y (Y: delay)

what I want is :
trigger at X if event fired and did not change for Y duration.

from a certain persğective they might mean the same thing but I want to make sure event (for example motion) is not reversed for some duration.

That's why I need triggers like "changed to on 1 min ago"

there is no advanced rule manager that I could check ?

1 Like

This is still easy to do with RM if I am understanding you correctly.

Trigger:
Motion active

Actions:
Delay 1 minute
IF (motion is active) THEN
....
END-IF

I am not used to Web core
I was still using Core on ST.
Can I install Web core to Hubitat as an app ?

weird that people do not understand the need.

Easiest way is through HPM, but you can do it manually also. The pistons run local without the need for another device.

2 Likes

how do you put that second "if" in the action ?

I don't want to run anything external for a rule manager.
I'll check if I can install Core.

https://docs.hubitat.com/index.php?title=Rule-4.0#IF-THEN-ELSE

RM is also local.

Check out Basic Rules. It has triggers based on things changing and then staying for number of minutes.

5 Likes

You can already do this a number of different ways in RM.

@ilkeraktuna what exactly do you want to achieve? That's the most important question to ask. Often people asked to do things in a way because that's what they did on the "other" platform.
But often it's easier to do it's just worded differently.

simple:

I want to turn the light if there is no motion for 2 minutes.
But I don't want to use the delay parameter of the motion device for this.

which rule ?
I can't see...

You need to update your hub to 2.2.6. Then it is built-in app called Basic Rules.

1 Like
Trigger:  light on
Actions:
   Wait for elapsed time 30 minutes
   Light off
4 Likes

On or off?

Either way what is sounds like you want is a simple turn on with motion then turn off after the detector is in-active for X time. For that basic rules or motion lighting app will do that.

2 Likes

ah so it's very new.
just when I need :slight_smile:

great !
thanks