I have some events that are several months old and will not get removed. I have noticed these for several weeks. Mostly same dates for different devices. I have very low max (25) on events and state histories and these seem to get included in the total so I am not seeing all the history I was expecting.
I have run several cleanup URL commands after lowering max limits to 10 but the older log entries are still there.
Anyway to resolve this without removing the device?
Is this in logs tab, or in the device setting page, events button where you are seeing these?
And from what I am aware, the 25 events max is per event type. So if you have a combo motion/temp/humidity sensor, you would have 75 events (plus any battery and other things) total.
Well that is one way to do it, just nuke it from orbit. But pretty extreme, and might not fix the situation. It could be a bug, or a broken device, or dead batteries, or a dozen other things that wiping it out won't fix.
So how about giving us the device name/model, and maybe a screenshot of what you are seeing and maybe someone will have a suggestion what to try. It might also be helpful to know your hub model (C7?) and which hub firmware you are on.
Basically says that events for those attributes are very low. Other than being visually annoying is there something that it is hurting? Easy way to get rid of would be to set the max events to 1 temporarily, manually create an event for the attribute (quick app can do it if there isnโt action that you can trigger otherwise), run the database cleanup URL, and the restore the max events to 25.
I have done what you mentioned with a low value of 10 and run cleanup and still have the older events in the device log. So I was thinking how a lower number of trying 1 would mater since I was checking and seeing more than 10 events for each type.
Well, you made me do it and OMG, with just a 1 setting I could now see the older items are of a different type that has not been updated in a while. My example is have many for type "power" but only 1 for "powerH" and "powerL". With more entries I was not seeing them as different.
Well, I must apologize to you, even though you don't know for why. When I first read your reply I jumped angry at thinking you didn't read I already did what you suggested! I was typing back such in my reply when I said hell with it. I will change it to a setting of 1, run cleanup and show you how wrong just changing to 1 made a difference. Well, who's the jackass, me, me, and me.