Lights Turned On. Rule False

Can I ask why you are doing a refresh?
Try removing it and see what happens.
You are turning off and refreshing at the same time.
Perhaps the 2 commands running together are causing the issue.

I didnā€™t have it in before and I it seems that the lights donā€™t refresh their status very promptly so I put it in to see if it helps. It seems to help as I have a couple of other pistons that do stuff in the evenings and without the refresh they think the lights are on when they are not and vice-versa.

For some reason it isn't seeing the rule as False at 7:04 AM, even though it should. Yes, it sees the time, but it didn't say "... is now False". I will investigate. Can't do that until tomorrow morning.

OK, thanks!

Unable to get logs I'm afraid as my PC decided to shut down last night.
Light came on again at midnight.
It looks like I'm not going to be able to get you logs so I will just use 2 rules and use the days as restrictions.
There is a bug there but i cannot get you relevant logs I'm afraid.
I may try deleting and doing it again but as its happening on 3 separate rules I'm not sure its worth it.

Also, the lights didn't come on at all today. Looks like the rule recognized the time of 4:50am but didn't do anything.

So I turned them on at about 6:46am and they went off at sunrise -30. Weird!

Do you have any restrictions enabled on that rule? I tried to scan up in this thread to find screenshots but none go down far enough to tell.

I'm wondering if restrictions are preventing the rule from being analyzed, which would prevent the rule truth from flipping, which would prevent the actions from running.

Another thought....do you have anything in this rule or a different one that cancels actions of this rule? I think I just realized looking through some of my own rules, that when you cancel actions of another rule, it's canceling delayed actions as desired but it's also canceling "schedHandler" scheduled time condition checks as well. @bravenel is this behavior by design? Or does there need to be some type of filter added to the type of future events that get canceled?

Hi @pcgirl
The print that you have posted.
Where did you get that.
I cannot seem to find that layout anywhere.
I've obviously missed something somewhere.
Thanks.

Click the settings gear inside the rule, then once inside the settings page, click the "events" button at the top.

Ah ha. Excellent.
Must have missed that.
All is now revealed. :wink:

1 Like

@bravenel
Here is the event log from the rule that shows that the rule became true when it ran the event for the day at 00:00.


Here is the rule again.

By cancel do you mean Stop? There is no "cancel", except for "delay with cancel on truth change". Stop has nothing to do with scheduled events except for Periodic.

That's what I meant, Stop (not cancel). I'll start a different thread for this instead of muddying up this one, I think it's a different issue. Here's a link:

The Restrictions on these two Rules are M,T,W,T,F.

I don't have any cancellations in either of these two rules.

Probably already mentioned , sorry if this is a repeat.

Have you checked the "In Use By" section of the device and walked through everything listed to make sure something else isn't causing the changes?

OK. Who is this to?
This thread of mine seems to have been taken over.
I have a specific fault/bug that I'm looking for advice/fix and this thread is slowly moving away from my issue.
I have stated numerous times what my issue is, posted the rules and events more than once.
We are now over 100 posts with probably about 10 actually about the issue in post 1.
Can we please keep this on topic.
Sorry if this sounds a bit harsh, its not meant to be but this is starting to frustrate me.
TIA. :slight_smile:

1 Like

We are both having the same issue. Lights were turning on at midnight for some strange reason which it was thought was because Rules had a condition of Days of the Week in them. But we broke the Rules down smaller and made the Days of the Week a Restriction which seems to work. So there seems to be a bug for having a Condition for Days of the Week. However, there is also a bug of some sort for Sunrise Conditions.

An outsider looking in:
You posted a problem, PCgirl posted she thought she had the same problem. You tagged Bruce saying two of us have this problem. The thread continued with people working with pcgirl on her issue. Looks like the natural flow of thread not a true thread hijack.