![]() # Capture and log data to the HA database Keep a small rolling set of data (e.g.Purge on a regular bases (the default is daily at 04:12am).You can explicitly include or explicitly exclude what is recorded, or use a combination of both. I have no experience with this, only mention it here for the sake of completeness. There are guys who extract data from the in-memory HA database to an online BigQuery database. Or you can put it in memory (which is volatile and you will loose the contents of the database when you reboot), and then on regular intervals extract only the reduced data set that you really want to a persistent database. move it to a USB drive if you’re still on SD. It is possible to change the default location of the HA database. ![]() This may very well reduce the need to tinker with the database setup. In release 2022.4 database optimizations were implemented to improve performance and to reduce the amount of data written to and stored in the database. Reducing the hassio_audio container logging can be done by using a bit of a dirty workaround to change the Pulse Audio log level inside the container from “debug” to e.g. ![]() It seems log filtering for some HA components like hassio_audio is not yet implemented. ![]() “warning”: # Change hassio_supervisor log level Some HA components do not support the HA Logger settings and must be configured by passing parameters from the command line using the HA CLI.ĭo the following from the command prompt or SSH to change the log level for hassio_supervisor to e.g. Set the default level that will apply to all components (supporting this feature), and override it where needed for specific cases where you want to see more detailed information: logger: In configuration.yaml, appart from other filtering settings, it is possible to set the logging level of HA components and integrations. Home Assistant 1) Logsįirst step and perhaps the easiest is to make sure HA outputs the minimum of logging to the downstream systems. Now with all that out of the way, it’s time to roll up the sleeves and get our hands dirty (and systems clean)… A.
0 Comments
Leave a Reply. |