Actions not trigerred at sunset

Hi,
I have a simple routine turning some lights on at sunset. I used to work well. It suddently stopped working for no apparent reason. Mode activates sunset properly and I can see the actions going in the logs, but the lights are not actually turning on. If I go in the configuration of the rule and click "run actions", the actually tun on.

Can you please help?

Thanks,

Benoit

You should post a screenshot of your rule. I would suggest that you open the rule and hit Done. That will re-establish its scheduling, in case something got messed up with that.

I am not allowed to post images for whatever reason. Maybe because I'm new here? I did clicked "Done" in the rule and it did not solve the problem. I'll do it again.

I copied and pasted the logs here. You can see that commands to turn lights on were sent at 8:33PM, but nothing effectively happened. I then went in the rule at 8:49PM and clicked "Run actions" manually and it worked.

Thanks for your reply!

Benoit

2025-07-19 20:49:46.793 Prise lumière du salon was set to 20% [digital]

2025-07-19 20:49:46.791 Prise lumière du salon was turned on [digital]

2025-07-19 20:49:32.926 Lumière ambiance cuisine was turned on [physical]

2025-07-19 20:49:32.817 Lumière porte de garage is on [physical]

2025-07-19 20:49:32.412 Prise lumière chambre a coucher was turned on [digital]

2025-07-19 20:49:32.229 Lumière facade was turned on [digital]

2025-07-19 20:49:32.128 Lumière porte entrée was turned on [digital]

[2025-07-19 20:49:31.949 Lumière porte de garage was turned on [digital]

2025-07-19 20:49:31.345 Action: Dim: Lumière ambiance cuisine: 35 --> fade: 15

2025-07-19 20:49:31.334 Action: Dim: Prise lumière du salon: 20 --> fade: 15

2025-07-19 20:49:31.300 Action: On: Lumière porte de garage, Lumière porte entrée, Lumière facade, Prise lumière chambre a coucher

2025-07-19 20:33:00.246 Action: Dim: Lumière ambiance cuisine: 35 --> fade: 15

2025-07-19 20:33:00.194 Action: Dim: Prise lumière du salon: 20 --> fade: 15

2025-07-19 20:33:00.145 Action: On: Lumière porte de garage, Lumière porte entrée, Lumière facade, Prise lumière chambre a coucher

2025-07-19 20:33:00.116 Triggered: Chez Melissa et Benoit mode Evening

2025-07-19 20:33:00.115 Event: Chez Melissa et Benoit mode Evening

2025-07-19 20:33:00.041 Mode set to Evening from Day by Time: Sunset

Please join the Hubitat Owners Group. Afterwards, you should be able to post pictures. We really need to see your Rule to understand what is going on.

1 Like

Thank you very much!

Here's my rule:

Actually your rule does not turn on any lights at sunset. As it is written, it should turn on the lights when the mode changes to evening. When that happens could be anytime. :rofl:

To test the rule itself, manually change the mode to evening, and see if the lights turn on, which I expect they will.

After confirming your rule is working, then investigate if the mode is really changing to evening at sunset. What rule or app are you using to achieve this mode change?

1 Like

I don’t see an obvious problem with your rule. From the copy/paste of your log data, it does look like the Mode does change, and then the rule is triggered. So it is odd that the lights don’t react properly.

One thing you could try is to remove that specific rule and then recreate it. Make sure you enable all logging in the rule and then keep an eye on things to see if they work or not. If not, please screen capture the pertinent log data and paste it here, along with the new rule, to allow the community to help debug the issue.

1 Like