You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configure the recorder integration from the UI
#1547
Problem
The recorder is an integration that lots of users need to tune (retention, commit interval, database URL, filters), yet it can only be configured by editing configuration.yaml and restarting. The include/exclude filters in particular are error-prone to write by hand.
Proposal
Follow the approach used for http in home-assistant/core#171177:
Store the configuration in .storage/recorder, validated by the same schema as YAML.
Migrate existing YAML once, then ignore it. A repair issue asks the user to remove the recorder: block.
Add admin-only websocket commands to read and save the config.
Add a form in Settings → System → Storage covering all options: db_url, db_max_retries, db_retry_wait, auto_purge, auto_repack, purge_keep_days, commit_interval, and include/exclude filters.
Changes apply after a restart.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Problem
The recorder is an integration that lots of users need to tune (retention, commit interval, database URL, filters), yet it can only be configured by editing configuration.yaml and restarting. The include/exclude filters in particular are error-prone to write by hand.
Proposal
Follow the approach used for http in home-assistant/core#171177:
Store the configuration in .storage/recorder, validated by the same schema as YAML.
Migrate existing YAML once, then ignore it. A repair issue asks the user to remove the recorder: block.
Add admin-only websocket commands to read and save the config.
Add a form in Settings → System → Storage covering all options: db_url, db_max_retries, db_retry_wait, auto_purge, auto_repack, purge_keep_days, commit_interval, and include/exclude filters.
Changes apply after a restart.
All reactions