springfall2008 / predbat_addon

Predbat Home Assistant Add-on
Other
10 stars 9 forks source link

Warning in Supervisor Logs #23

Open gt008 opened 4 days ago

gt008 commented 4 days ago

Hi I am getting the following warnings in the HA supervisor logs. Predbat appears to be working but unsure of the significance of these log warnings.

Logger: homeassistant.components.recorder.db_schema Source: components/recorder/db_schema.py:625 integration: Recorder (documentation, issues) First occurred: 11:33:59 (201 occurrences) Last logged: 13:59:40

State attributes for predbat.pv_energy exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored State attributes for predbat.load_power exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored State attributes for predbat.load_power_best exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored State attributes for predbat.best_load_energy exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored State attributes for predbat.plan_html exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored

This maybe somehow related to PredAI as first started seeing this error when I installed PredAI.

Thx. Giles

gcoan commented 3 days ago

This is covered in the Predbat FAQ's https://springfall2008.github.io/batpred/faq/#predbat-is-causing-warning-messages-about-exceed-maximum-size-in-the-home-assistant-core-log

gt008 commented 3 days ago

Ok. Thx. I only have the forecast hours set to 24 which is less than the default but seems like it is nothing to worry about. Thank you. Giles

gcoan commented 3 days ago

It is indeed nothing to worry about, it's just a warning and you can suppress it as per the FAQ's.