Just a quick update: After all my preparation, I updated to 2022.4.7 today. As of right now, everything looks good. My ZHA network came right back and the database update only took a few seconds. CPU and memory utilization look about the same as before. I’ll keep monitoring, but so far so good…
Except for one little self-inflicted issue I won’t pollute this thread with. But if you want a chuckle, check it out here.
After I updated to 2022.4.7 from 2022.4.5 my Node-RED stopped working (kept getting 502 bad gateway error) anyone else have this happen? I reverted back to 2022.4.5 but got same issue, switched “require_ssl” to false and now it’s working again
Prior to 2022.4, {{ expand('group.all_lights') | list | count }} would return 18, 1 for each entity in the “all_lights” group.
After 2022.4, {{ expand('group.all_lights') | list | count }} returns 26, 1 for each switch and bulb in the “all_lights” group. It seems to be expanding each group within the group and summing the total.
Is there any workaround or way to get the old functionality back? On my dashboard, I want to see “2 lights on” not “6 lights on” when only my kitchen sink and kitchen table light fixtures are on (each of which contains 3 bulbs).
I’d rather not have to change that group (and several others) to instead be a list of all light switches and 1 bulb from each light group to get the desired functionality back… Suggestions?
Good evening to everyone, i use some automations to manage requests via telegram via menu with buttons (inline keyboards) which trigger the event telegram_callback.
Then I get the trigger data via trigger.event.data.user_id which I use to identify the target to send the answer message. below is an example of an automation:
from version 2022.4.xx, however, I no longer receive the answers from the automation because the data from the event that triggered the automation are no longer collected.
Anyone know how to fix? thanks
Long-term statistics are created from the recorded history of numeric entities. If you exclude an entity from recorder then you won’t get any long-term statistics for it either. Which has always been the case.
Is that the answer you’re looking for? Or are you asking if there’s some way specifically to turn off the long-term statistics feature entirely? If it’s the latter then the answer is no. You’re welcome to make a feature request but you’d definitely have to explain your use case for wanting to do this.
Not quite.
I want to prevent statistics tables and data from being written to the database.
But I do want to log the sensors raw data, so I cannot exclude the sensors all together.
So the second one I said basically. There’s no way to do that right now, you’ll have to submit a feature request. But as I said, you’ll definitely need to explain what your use case and what issues having the statistics data causes.
Now that I’ve upgraded to 2022.4 I just want to say the improvements are all brilliant.
I did however have to set up a bunch of stuff again that didn’t get migrated properly, and fixing broken scripts/automations/helpers etc. Definitely wasn’t a smooth transition and was finding broken things to fix for a few days
Use case: purge disabled and raw data collected with cleanly defined include/exclude filters.
=> lots and lots of useless weite cycles and database entries
Feature request: hopeless on such a topic. It will just get smacked down because “the normal user… too much data…”. Feature requests seem quite hopeless in general.
Otherwise I would also request that in table events, the event stated_changed be removed because this is completely redundant. What’s the point in recording that the state was changed if in table states the actual change is tracked.
=> double the data with no additional information
That’s the problem. Did this a while back (and think I posted the question), but if you disable the event type, then you also lose the actual sensor data in state table as it has the same envent type.
So disabling that event type means you collect no more data.
I think @AleXSR7001 has a legitimate issue here. There’s an awful lot of data stored in the statistics and related tables, which are useless for anyone who doesn’t use that data. HA ran fine before that was added, and it seems letting the user choose whether or not to use that feature would be appropriate.
I don’t really have a horse in this race. I know how to manage my database and will continue to do so, with or without this enhancement. But I still want HA to be friendly to new users, who may not know they’re going down an unsustainable path until their SD card on their Raspberry Pi is either filled or crashes due to excessive I/O.