Simple automation rule works every other day

Hi,

New user here. I have a very simple setup, 12 lights, 4 thermostats, 1 motion sensor.
The lights are all turn on/off by time using Simple automation rules. Most work. I have seen many failures though.
I tried support, but they are all backed up and haven't gotten back to me in 2 weeks.

Here is one of my recurring issues. One of my lights is set to go on 15 min before sunset, and off at 10:55 PM. It looks like it turns on every other day.

Here is the log for the last few days:
dev:7 2021-04-10 10:55:03.446 pm infoLiving room was turned off [digital]

dev:7 2021-04-09 10:55:03.327 pm infoLiving room was set to 9% [digital]
dev:7 2021-04-09 07:14:03.334 pm infoLiving room was set to 99% [digital]
dev:7 2021-04-09 07:14:03.331 pm infoLiving room was turned on [digital]

dev:7 2021-04-08 10:55:03.467 pm infoLiving room was turned off [digital]

dev:7 2021-04-07 10:55:03.403 pm infoLiving room was set to 9% [digital]
dev:7 2021-04-07 07:12:03.275 pm infoLiving room was set to 99% [digital]
dev:7 2021-04-07 07:12:03.272 pm infoLiving room was turned on [digital]

dev:7 2021-04-06 10:55:03.482 pm infoLiving room was turned off [digital]

dev:7 2021-04-05 10:55:03.407 pm infoLiving room was set to 13% [digital]
dev:7 2021-04-05 07:10:03.372 pm infoLiving room was set to 99% [digital]
dev:7 2021-04-05 07:10:03.369 pm infoLiving room was turned on [digital]

dev:7 2021-04-04 10:55:03.422 pm infoLiving room was turned off [digital]

dev:7 2021-04-03 10:55:03.464 pm infoLiving room was set to 8% [digital]
dev:7 2021-04-03 07:08:03.330 pm infoLiving room was set to 99% [digital]
dev:7 2021-04-03 07:08:03.327 pm infoLiving room was turned on [digital]

dev:7 2021-04-02 10:55:03.474 pm infoLiving room was turned off [digital]

dev:7 2021-04-01 10:55:03.517 pm infoLiving room was set to 30% [digital]
dev:7 2021-04-01 07:06:03.313 pm infoLiving room was turned on [digital]

dev:7 2021-03-31 10:55:03.475 pm infoLiving room was turned off [digital]
dev:7 2021-03-31 07:05:03.267 pm infoLiving room was set to 99% [digital]
dev:7 2021-03-31 07:05:03.265 pm infoLiving room was turned on [digital]

dev:7 2021-03-30 10:55:03.637 pm infoLiving room was turned off [digital]

dev:7 2021-03-29 10:55:03.464 pm infoLiving room was set to 2% [digital]
dev:7 2021-03-29 07:03:03.652 pm infoLiving room was turned on [digital]

Any ideas?

Thanks,

~~Andy

Hi Andy, welcome to our community. I will look at this for you, but please do me a favor and post a screenshot of your logs instead of copy/paste. Also, turn on logging in Simple Automation so we can see what it is doing. This way we can separate app from device for where it isn't working as expected.

I assume you want me to turn on logging in the each instance of Simple Automation, which I have done. If that isn't the case, let me know.

Here is the screenshot:

The idea is to catch the failure in the logs, where you can point to the specific lineup of events.

Also, please show one instance of the app setup that you think fails.

Here is the snip of the rule that is failing:

Thanks for the help!

~~Andy

I have an idea of what might be causing the light to not turn on.

Here is the log of the light:

and the log of the rule to turn the light on:

and the log of the rule that turns the light off:

Looking at the first log, on 4/5, 4/7, 4/9, 4/11, and 4/13, the light was not turned off, but was set to a dim value. That values changes every time. On the next day, when the command is issued to turn the light on, the light isn't fully off. I'm assuming that must confuse the logic somehow.

When the light is off on the even numbered nights, it turns on the next day.

Any idea what would cause this, and how to fix it?

Thanks,

~~Andy

I had a failure today on a different light. The sitting room did not turn on today. The rule controlling it is this:

The log for the app is:

The log for the light is:

Here is a part of the that log for when the light worked:

I see that when it works, it says sitting room power is 0.000 W, followed by Sitting room switch is off. When it fails, I see the power = 0.000 W, but no indication the the switch is off. Could it be similar to the previous problem that the light never went fully off?

Thanks,

~~Andy