mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
316 lines
8.8 KiB
YAML
316 lines
8.8 KiB
YAML
# Recorder is the primary storage place for states, attributes, etc.
|
|
# Recorder used to save to a MariaDB instance on the NAS.
|
|
# It now saves to the local MariaDB instance
|
|
# If Recorder is disable for a specific entity, the history and logbook become unavailable for that entity
|
|
|
|
# Example Purge
|
|
# action: recorder.purge
|
|
# data:
|
|
# apply_filter: true
|
|
# keep_days: 180
|
|
|
|
recorder:
|
|
purge_keep_days: 7
|
|
auto_purge: true
|
|
db_url: !secret recorder_url
|
|
#db_url: !secret recorder_url_nas
|
|
db_max_retries: 10
|
|
db_retry_wait: 3
|
|
commit_interval: 30
|
|
exclude:
|
|
entities:
|
|
- sensor.date
|
|
- sensor.date_time
|
|
- sensor.date_time_iso
|
|
- sensor.date_time_utc
|
|
- sensor.time
|
|
- sensor.time_date
|
|
- sensor.time_utc
|
|
- sensor.last_boot
|
|
- sensor.imap_gmail_com_mail_updated
|
|
- light.upstairs_public
|
|
- sensor.nws_alerts_last_updated
|
|
- sensor.pixel_7_active_notification_count
|
|
- sensor.pixel_10_pro_active_notification_count
|
|
- sensor.black_bed_weight
|
|
|
|
entity_globs:
|
|
- sensor.*_text
|
|
- sensor.*_last_motion
|
|
- sensor.*version*
|
|
#- sensor.*_battery
|
|
- binary_sensor.cam*
|
|
- sensor.weather_*
|
|
# - sensor.acurite*
|
|
- sensor.*auto_tare
|
|
- sensor.*mac_address
|
|
- sensor.*_last_seen
|
|
- sensor.*_lastactive
|
|
- sensor.*_audio_peak_volume
|
|
- sensor.*_activewindow
|
|
- media_player.zz*
|
|
- binary_sensor.*running
|
|
- switch.frigate*
|
|
#- binary_sensor.*battery*
|
|
- automation.*preset
|
|
- sensor.mail*
|
|
# - sensor.ddns*
|
|
- sensor.synology_srm*
|
|
#- sensor.sun*
|
|
- sensor.network*
|
|
- sensor.count*
|
|
- sensor.*mac_address
|
|
#- sensor.*battery_level
|
|
#- sensor.*battery
|
|
#- sensor.*battery_state
|
|
# sensor.ups_battery_charge
|
|
- sensor.*_portion
|
|
- sensor.gt_*
|
|
- sensor.oregon*
|
|
- sensor.springfield*
|
|
- sensor.opus*
|
|
- sensor.wt*
|
|
- sensor.*cpu_usage
|
|
- sensor.fineoffset_wh1050*
|
|
- sensor.ambietweather*
|
|
- sensor.esic*
|
|
- sensor.fineoffset_whx080*
|
|
# - sensor.nexus_*
|
|
- sensor.gt_*
|
|
- sensor.tfa_*
|
|
- sensor.rubicscon_*
|
|
- sensor.interlogix*
|
|
- sensor.*_timestamp
|
|
- sensor.everything_presence_*target*
|
|
- sensor.everything_presence_*assumed_present_remaining
|
|
- sensor.*_cpu_percent
|
|
- sensor.*_memory_percent
|
|
- sensor.*_heap_free
|
|
- sensor.*_loop_time
|
|
- sensor.*_rssi
|
|
- sensor.*_wifi_signal_strength
|
|
- sensor.homeassistant_veth*x
|
|
- sensor.ytube_music_player*
|
|
- sensor.dreamsurface*
|
|
- binary_sensor.dreamsurface*
|
|
- sensor.dreambox*
|
|
- sensor.*thermal_comfort*
|
|
- sensor.pm_frequency*
|
|
- sensor.pm_grid_*_a
|
|
- sensor.pm_*_chip_temp
|
|
|
|
domains:
|
|
- updater
|
|
- calendar
|
|
- camera
|
|
- input_button
|
|
- group
|
|
- scene
|
|
- button
|
|
- remote
|
|
- automation
|
|
- script
|
|
- media_player
|
|
- device_tracker
|
|
|
|
# include:
|
|
# domains:
|
|
# - sensor
|
|
# - switch
|
|
# - media_player
|
|
# - light
|
|
# - device_tracker
|
|
# - input_boolean
|
|
# - binary_sensor
|
|
# - input_text
|
|
# - input_select
|
|
# - automation
|
|
# - script
|
|
# - input_number
|
|
|
|
# The history integration tracks everything going on in Home Assistant, and allows the user to visually browse through it.
|
|
# It relies on the Recorder integration. If something is blocked by the recorder integration, it won't show up in the history integration.
|
|
# I really need to go through the History section, and see if there is anything useful that is worth keeping around.
|
|
history:
|
|
# include:
|
|
# domains:
|
|
# - binary_sensor
|
|
# - sensor
|
|
# - switch
|
|
# - light
|
|
|
|
# exclude:
|
|
# entities:
|
|
# - binary_sensor.have_custody
|
|
# - sensor.mail_image_url
|
|
# - automation.cycle_back_yard_camera
|
|
# - input_select.camera14_preset
|
|
# - input_select.indoor_camera_cycle
|
|
# domains:
|
|
# - automation
|
|
# - updater
|
|
# - alert
|
|
# - button
|
|
# - camera
|
|
# - weather
|
|
# entity_globs:
|
|
# - binary_sensor.55_tcl*
|
|
# - binary_sensor.roku_streaming_stick*
|
|
# - binary_sensor.dream_nas*
|
|
# - binary_sensor.dream_nas*
|
|
# - sensor.dream_nas*
|
|
# - sensor.*cpu_percent
|
|
# - sensor.*memory_percent
|
|
# - sensor.*weight
|
|
# - switch.frigate*
|
|
# - sensor.*utc
|
|
# - sensor.*bssid
|
|
# - sensor.*version
|
|
# - sensor.mail*
|
|
# - sensor.synology_srm*
|
|
# #- sensor.sun*
|
|
# - sensor.pixel*
|
|
# - sensor.network*
|
|
# - sensor.dream_nas*
|
|
# - sensor.*fps
|
|
# - sensor.ups*
|
|
# - sensor.*pet
|
|
# - sensor.*person
|
|
# - sensor.*animal
|
|
# - sensor.*vehicle
|
|
# - switch.adaptive*
|
|
# - sensor.*mac_address
|
|
# - sensor.ddns*
|
|
# - sensor.count*
|
|
# - sensor.*mac_address
|
|
# #- sensor.*battery_level
|
|
# #- sensor.*battery
|
|
# #- sensor.*battery_state
|
|
# # sensor.ups_battery_charge
|
|
# - sensor.*rssi
|
|
# - sensor.*_portion
|
|
# - sensor.*raw_value
|
|
# - sensor.dreamtablet_audio*
|
|
# - sensor.dreambox_audio*
|
|
# - sensor.dreamtablet_lastactive*
|
|
# - sensor.dreambox_lastactive*
|
|
# - sensor.dreamtablet_active*
|
|
# - sensor.dreambox_active*
|
|
# - sensor.*power_outage_count
|
|
|
|
logbook:
|
|
exclude:
|
|
entities:
|
|
- sensor.date
|
|
- sensor.date_time
|
|
- sensor.date_time_iso
|
|
- sensor.date_time_utc
|
|
- sensor.time
|
|
- sensor.time_date
|
|
- sensor.time_utc
|
|
- sensor.hvac_delta_temperature
|
|
- sensor.master_bed_person_count
|
|
- sensor.lights_on_count
|
|
|
|
entity_globs:
|
|
- sensor.*_text
|
|
- sensor.*_last_motion
|
|
- sensor.weather_*
|
|
- sensor.*battery_level
|
|
- sensor.*battery
|
|
- sensor.*battery_state
|
|
- sensor.network*
|
|
- sensor.openweathermap*
|
|
# sensor.ups_battery_charge
|
|
#- sensor.sun_*
|
|
- sensor.adaptive_lighting_color*
|
|
- switch.adaptive_lighting_adapt*
|
|
- sensor.*_utc
|
|
- sensor.*_portion
|
|
- sensor.pm*
|
|
- sensor.*raw_value
|
|
- sensor.dreamtablet_audio*
|
|
- sensor.dreambox_audio*
|
|
- sensor.dreamtablet_lastactive*
|
|
- sensor.dreambox_lastactive*
|
|
- sensor.dreamtablet_active*
|
|
- sensor.dreambox_active*
|
|
- binary_sensor.*occupancy
|
|
- binary_sensor.*motion_detection
|
|
- binary_sensor.frigate_*_motion
|
|
- sensor.*sensor_status
|
|
- number.*_basic
|
|
- sensor.*cube*
|
|
- sensor.*power_outage_count
|
|
- sensor.*_timestamp
|
|
- sensor.*_cpu_percent
|
|
- sensor.*_memory_percent
|
|
- sensor.*memory_free
|
|
- sensor.*memory_use
|
|
- sensor.load_*m
|
|
- sensor.hourly_energy*
|
|
- sensor.daily_energy*
|
|
- sensor.weekly_energy*
|
|
- sensor.monthly_energy*
|
|
domains:
|
|
- sun
|
|
- device_tracker
|
|
# InfluxDB is used for external storage of data and generating pretty charts and graphs that I really don't use anywhere right now...
|
|
# As of right now, about the only info I would use are the long-term stats that are already managed in the main database, so there really is no current
|
|
# need for influx.
|
|
|
|
# influxdb:
|
|
# # api_version: 2
|
|
# # ssl: false
|
|
# # host: !secret influxDB_host
|
|
# # port: !secret influxDB_port
|
|
# # token: !secret influxDB_write_token
|
|
# # organization: !secret influxDB_organization
|
|
# # bucket: !secret influxDB_bucket
|
|
# # tags:
|
|
# # source: HA
|
|
# # tags_attributes:
|
|
# # - friendly_name
|
|
# # default_measurement: units
|
|
|
|
# host: !secret local_influxDB_host
|
|
# port: !secret local_influxDB_port
|
|
# database: !secret local_influxDB_name
|
|
# username: !secret local_influxDB_user
|
|
# password: !secret local_influxDB_password
|
|
# max_retries: 3
|
|
# default_measurement: state
|
|
|
|
# # sensor:
|
|
# # platform: influxdb
|
|
# # api_version: 2
|
|
# # organization: !secret influxDB_organization
|
|
# # token: !secret influxDB_write_token
|
|
# # queries:
|
|
# # - name: InfluxDB Database Size
|
|
# # unit_of_measurement: MB
|
|
# # value_template: "{{ (value | float(0) / 1024 /1024) | round(1) }}"
|
|
# # group_function: sum
|
|
# # measurement: '"monitor"."shard"'
|
|
# # database: _internal
|
|
# # where: '"database"=''homeassistant'' AND time > now() - 5m'
|
|
# # field: diskBytes
|
|
|
|
# sensor:
|
|
# platform: influxdb
|
|
# host: !secret local_influxDB_host
|
|
# port: !secret local_influxDB_port
|
|
# database: !secret local_influxDB_name
|
|
# username: !secret local_influxDB_user
|
|
# password: !secret local_influxDB_password
|
|
# queries:
|
|
# - name: InfluxDB Database Size
|
|
# unit_of_measurement: MB
|
|
# value_template: "{{ (value | float(0) / 1024 /1024) | round(1) }}"
|
|
# group_function: sum
|
|
# measurement: '"monitor"."shard"'
|
|
# database: _internal
|
|
# where: '"database"=''homeassistant'' AND time > now() - 5m'
|
|
# field: diskBytes
|
|
|