My app for my kitchen lights is not always tuning off, am I doing something wrong, it was noticed this morning when my daughter came down about 3 am and the kitchen lights were still on after we went to bed about 11pm.
You probably need to also look at the Events for the Kitchen switch device. Open the Device page on HE, locate the Kitchen switch device and open it up. At the top of the page displayed click the Events button. Look at the timing of the on / off events compared to what you expect. Posting a screenshot may help, if you are still stuck....
What about Events for the Kitchen Sensor? Based on your rule that will be driving updates to the switch. Unless there are other automations the kitchen switch is involved in....?
The kitchen switch is only used in the one rule, could see nothing in the kitchen sensor events as it did not go that far back, but below is a copy of the log for that time, but not sure what it means.
You are probably best to look at the Events, accessing from the device page for the Kitchen Sensor. You will only see an entry in the log screen you showed if the device or associated app is configured to log something, which is not always the case.
I have had this happen on some of my other lighting rules, but it is a very rare event, the nightly reboot sounds a good starting solution, can this be set up to run auto
This is more likely to be an issue with your zigbee/z-wave mesh. And a reboot will not fix that. Events are missed when a battery powered sensor can't communicate with the coordinator/controller. It will attempt retransmits a few times and then give up.
My suggestion would only be valid of the issue was a one off or rare occurrence.... If it is happening more regularly, then @aaiyar is more likely on the right track.
When I had this happening on my hallway lighting rule it used to happen about 2 to 3 times a month, it was quite dangerous as the lights would not come on in a 3 storey house, and it only happened with one person. It has not happened since I put another motion sensor next to the original in the same rule. Perhaps I should try this on this rule as well. I do have a couple of spare sensors.
Separate to your issue... the labels / descriptions on the preferences section of the Device page don't fill me with confidence.... without having used the device myself....
The preferences were set as default, I have not tried changing them as yet but I will try some changes on a test rule setup I have so as not to muddle my present lights
I did try a couple of other drivers including the Marcus driver but found the sonoff generic zigbe driver the most reliable, will try putting a spare motion sensor alongside original one and include in rule to start with