First Rule .. Looking for Input

Hoping to get input on my first rule:

Purpose of the rule is to:

  • "Fade" (make brighter) certain bulbs over a period of 90 minutes beginning at Sunrise -45 minutes.

  • Then, at Sunrise +46, have those same bulbs fade to off.

Does this look right? (see image)

I'm not sure how the action of "Start lowering" will end. Will it take the bulbs to off or just lower to minimum level and, over what time frame?


Seems like these are two different actions with two different triggers, I'd do them as two rules.

  1. Sunrise -45min, Fade (up) to 100 over 90min with 600sec interval
  2. Sunrise +46min, Fade to 0 over Xmin with Ysec interval

Ahhhh, thanks for the input. Maybe two rules are best. I'm just making the switch to Hubitat so rule making and this style of conditional language is new for me; I'm still on the steep side of the learning curve. :slight_smile:

1 Like

You don't need to do it as 2 rules as what you did is correct.
You may need to choose a time period that they dim over and then have them turn off as not all bulbs will turn off at 0% brightness.

1 Like

I think you can do it in one rule and just use the 'wait' command. So trigger would be sunrise, actions would be your fade up then wait till sunset and start fade down.

1 Like

True. I definitively don't want the lights on until sunset.

I liked what I was seeing @anon81541053 . Hope you throw it back up. ))

Looks good from this angle. ))

1 Like

My intention was good but after going to bed late, when the alarm went off at 5:25 bueno. :slight_smile:

BUT, when I came downstairs long after the rule had expired, 4 of the 5 lights (all Lightify) were dimmed down to as low as possible...not off; The Hue bulb in the rule was OFF albeit, I don't know if it ever came on with the trigger....I was snoring.

Soooo, it looks like the last action of turning the bulbs off, didn't work.

Also, looking at my Sunriser rules' events, it shows triggered.

Below is an image of Events and my Rule thus far.

I'll try that. Were yours off?

Curious. Is it possible to actually run that action via Rule Machine or, is that just for logging purposes. [see image]

Great. I'll make some adjustments and do some testing. :call_me_hand:

Well crap, I ran the actions and it's not fading up. //

That gives me hope anyway. I'll tinker. Thanks for showing the test results.

Where are you getting the logs that show that from?

::update:: Disregard... I found the logs. duh. ))

1 Like

damn near. lol. Thank you Sir.

1 Like