hi guys can i get some help i have all my external light come on 10% at Sunset from a simple rule
then in rule machine
when there is motion i have it capture the go upto 100% then wait for the sensor to be inactive before it restores
but my problem is if i get motion again before it dims back down im sure the capture runs again but now doing so at 100% resulting it runing all but when it comes to doing the restore it then now does so at 100%
i hope this make sense
please ignore the delay time as that should be 2:30
I looked through motion lighting and I don't see a way to do it in there, but if you change your rule to not capture instead and set level, you'll accomplish the same thing. This is a rule that I don't use any more, but shows you the concept of how to reset a rule using the cancel delayed actions making sure the cancelable is ticked on in the delay part. Hope this helps.
I have a handful of lights that I dim to 20 at night and off during the day. I have made a global variable dimOff that I set to 20 at sunset and 0 at sunrise (hubitat reports 0 as off) then for any rule turning these lights off I set it to dim to %dimOff%
I use this rule for my kitchen lights. I think it’s similar to what you are trying to do. At sunset the lights come on to dim setting 1. When there is motion the dimmer setting changes depending on what time of night it is and then goes back to dim setting 1 once motion has stopped. At sunrise the lights turn off.