Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102445

Assistance needed with recorder

$
0
0

@Gregsy wrote:

Hi all.

I’ve been using home assistant for a while and have been expanding it. I now have quite a few devices and entities which are filling up my database.

I have hassio installed on a Raspi 3, the SD card filled with the database after a few months so I moved the DB to my Synology nas with mariaDB. This is now getting constantly written to with Hughes amounts of data.

Below is my recorder section in my config, I’ve tried to exclude loads of items and set a delay for writing but the NAS is constantly writing to disk.

I would like to exclude everything then include items to be recorded later as I see fit.

recorder:
  purge_interval: 1
  purge_keep_days: 3
  commit_interval: 20
  db_url: !secret database
  include:
    domains:
      - switch
  exclude:
    event_types:
      - component_loaded
      - platform_discovered
      - service_registered
      - service_removed
      - service_executed
      - platform_discovered
      - homeassistant_start
      - feedreader
      - service_registered
      - call_service
      - component_loaded
      - logbook_entry
      - system_log_event
    domains:
      - media_player
      - weblink
      - group
      - history_graph
      - weather
      - sun
      - device_tracker
      - updater
      - camera
      - scene
      - script
      - calendar
      - remote
      - sensor
    entities:
      - sensor.time
      - sensor.date
      - sensor.internet_time
      - sensor.load_1m
      - sensor.time_utc

Cheers

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>