Basic Rule Issue

I have a basic rule that turns on my front lights at Sunset and another rule that turns them off at Sunrise. Its been working fine for over a year. Recently it turns them on at Sunset and turns them off a few minutes later .
Here is the on rule..


Here is the off rule

Any ideas what might have changed

Rules look okay. I think the first thing I would try is to delete the off rule and re-build it.

Would also pay to double-check the devices involved to see if they are referenced in any other apps... e.g. the lights you are trying to control....

1 Like

Maybe database corruption? @terminal3’s suggestion might be the fastest solution when combined with @sburke781’s.

If you want to spend more time on this, another things that you could try, if you are on the latest platform version, is to do a reboot while checking the rebuild database option, and see if that makes a difference (in case there could be database corruption).

Another good idea would be to enable logging on the rules to see if there is anything unexpected happening.

And if you have a certain voice assistant, make sure SHE is not assuming you want those lights off and acting on HER Hunches.

3 Likes

Let's not jump to too dire a circumstances just yet...

1 Like

In addition to checking the devices involved and any automations, make sure the timezone is set correctly on the Hub Details page, plus check the Sunrise / Sunset Events are happening as expected in the logs.

Then try turning on any logging options in the Basic Rule App for the rule(s) involved.

Thanks all !. I followed everyone's suggestions and then I removed the rule and rebuilt it.
We will see tomorrow morning.

Is it just the Front Lights that is turning off at the wrong time or is Front Patio also turning off? Would you post the device events for the Front Lights?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.