From 868cc3a56943dc1c9777db4ff38fe2fb14e14890 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 May 2016 12:29:13 +0200 Subject: [PATCH] Add initial docs for recorder --- source/_components/recorder.markdown | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/_components/recorder.markdown diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown new file mode 100644 index 00000000000..cd39c7e4180 --- /dev/null +++ b/source/_components/recorder.markdown @@ -0,0 +1,29 @@ +--- +layout: page +title: "Recorder" +description: "Instructions how to configure the data recorder for Home Assistant." +date: 2016-05-21 09:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: home-assistant.png +ha_category: "History" +featured: true +ha_release: "0.20" +--- + +The `recorder` component is storing details in the local database which then are handled by the [`history` component](/component/history/). + +To setup the `recorder` component in your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +recorder: + purge_days: DAYS +``` + +Configuration variables: + +- **purge_days** (*Optional*): Delete events and states older than x days. +