You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
282 lines
11 KiB
282 lines
11 KiB
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# Recorder Configuration - database retention and exclusions
|
|
# Stores HA history while purging noise and controlling DB size.
|
|
# Video: https://youtu.be/aceV7ObKJVA
|
|
# Blog: https://www.vcloudinfo.com/2026/07/using-codex-clean-up-home-assistant-entities.html
|
|
# -------------------------------------------------------------------
|
|
# Notes: Keeps 180 days (1/2 year); excludes vcloudinfo pings, noisy connectivity telemetry, countdown-style alarm helpers, low-value script/button/scene history, MariaDB snapshot helpers, raw Docker/Proxmox/Glances host telemetry including dynamic Docker veth sensors, PoE live power, and other high-churn entities; MariaDB via recorder_db_url.
|
|
# Notes: L10s status/room telemetry is live-only; keep curated VACUUM logbook entries plus error/run context instead.
|
|
# Notes: Tesla Fleet Spaceship telemetry is live-only in HA; TeslaMate is the historical car database.
|
|
# Notes: Life360 trackers are explicitly included for map/history queries despite the broad device_tracker exclusion.
|
|
# Notes: Raw Portainer container/stack status telemetry is live-only; keep Docker aggregate outage sensors, Repairs, and curated logbook events instead.
|
|
# Notes: Mobile app phone telemetry is live-only except daily pedometer metrics for Carlo and Stacey, retained for fitness history; Life360 keeps location history and notify services remain available.
|
|
# Notes: Rolling maintenance days-since sensors are live-only; durable interval/count/total sensors carry the history.
|
|
# Notes: TP-Link lamp voltage diagnostics are live-only; useful energy/power sensors stay recorded.
|
|
# Notes: WHOIS days-until-expiration countdowns are live-only; actual expiry timestamps and alert-state changes remain durable.
|
|
# Notes: Dashboard aggregate issue counts are live-only; the underlying degraded-state sensors carry useful history.
|
|
# Notes: The SQL-backed sleep-score average is live-only; direct nightly scores keep the durable history.
|
|
# Notes: Kiosk point-in-time URLs, timestamps, active/detail views, timers, CPU load, and RAM telemetry are live-only; keep illuminance and CPU temperature for lighting calibration and thermal trends.
|
|
# Notes: UniFi AP CPU, memory, and per-AP/aggregate client counts are live-only; zero-client Repairs and curated WIRELESS logbook events retain actionable incidents.
|
|
######################################################################
|
|
db_url: !secret recorder_db_url
|
|
purge_keep_days: 180
|
|
auto_purge: true
|
|
commit_interval: 30
|
|
include:
|
|
entities:
|
|
- device_tracker.life360_adriano_costanzo
|
|
- device_tracker.life360_amanda_desantis
|
|
- device_tracker.life360_carlo_costanzo
|
|
- device_tracker.life360_gabriella_desantis
|
|
- device_tracker.life360_jessica_desantis
|
|
- device_tracker.life360_joseph_desantis
|
|
- device_tracker.life360_joyce_ruskin
|
|
- device_tracker.life360_justin_costanzo
|
|
- device_tracker.life360_paige_costanzo
|
|
- device_tracker.life360_stacey_costanzo
|
|
- device_tracker.life360_yolanda_costanzo
|
|
- sensor.carlo_maxpro_average_active_pace
|
|
- sensor.carlo_maxpro_distance
|
|
- sensor.carlo_maxpro_floors_ascended
|
|
- sensor.carlo_maxpro_floors_descended
|
|
- sensor.carlo_maxpro_steps
|
|
- sensor.stacey_iphone11_average_active_pace
|
|
- sensor.stacey_iphone11_distance
|
|
- sensor.stacey_iphone11_floors_ascended
|
|
- sensor.stacey_iphone11_floors_descended
|
|
- sensor.stacey_iphone11_steps
|
|
exclude:
|
|
domains:
|
|
- button
|
|
- camera
|
|
- device_tracker
|
|
- event
|
|
- feedreader
|
|
- image
|
|
- media_player
|
|
- persistent_notification
|
|
- scene
|
|
- script
|
|
- sun
|
|
- update
|
|
- zone
|
|
entity_globs:
|
|
- binary_sensor.*_motion
|
|
- binary_sensor.*_motion_*
|
|
- binary_sensor.*is_present
|
|
- light.sleepnumber_*
|
|
- number.sleepnumber_*
|
|
- number.*_effect_speed
|
|
- media_player.*echo*
|
|
- binary_sensor.carlo_maxpro_*
|
|
- binary_sensor.stacey_iphone11_*
|
|
- switch.*_container
|
|
- switch.*_container_*
|
|
- sensor.*_stack_type
|
|
- sensor.*_stack_containers_count
|
|
- binary_sensor.*_stack_status
|
|
- binary_sensor.spaceship_*
|
|
- button.spaceship_*
|
|
- climate.spaceship_*
|
|
- cover.spaceship_*
|
|
- device_tracker.spaceship_*
|
|
- lock.spaceship_*
|
|
- media_player.spaceship_*
|
|
- number.spaceship_*
|
|
- select.spaceship_*
|
|
- sensor.spaceship_*
|
|
- switch.spaceship_*
|
|
- update.spaceship_*
|
|
- select.sleepnumber_*
|
|
- select.l10s_vacuum_*
|
|
- select.*_wiring
|
|
- sensor.*_activity
|
|
- sensor.*_battery
|
|
- sensor.*_battery_state
|
|
- sensor.*_bssid
|
|
- sensor.*_first_connection*
|
|
- sensor.*_last_connection*
|
|
- sensor.*_last_update*
|
|
- sensor.*_last_boot
|
|
- sensor.*_since
|
|
- sensor.*uptime*
|
|
- sensor.sun_next_*
|
|
- sensor.*_linkquality
|
|
- sensor.*_link_quality
|
|
- sensor.*_lqi
|
|
- sensor.*_rssi
|
|
- sensor.*_signal
|
|
- sensor.*_signal_strength
|
|
- sensor.*_wi_fi_signal
|
|
- sensor.*_wifi_signal
|
|
- sensor.*_wifi_signal_strength
|
|
- sensor.unifi_ap_*_clients
|
|
- sensor.unifi_ap_*_cpu_utilization
|
|
- sensor.unifi_ap_*_memory_utilization
|
|
- sensor.carlo_maxpro_*
|
|
- sensor.stacey_iphone11_*
|
|
- sensor.*_wake_alarm_minutes
|
|
- sensor.*_cpu_usage_total*
|
|
- sensor.*_memory_usage*
|
|
- sensor.*_temperature_state
|
|
- sensor.*_humidity_state
|
|
- sensor.*_last_seen*
|
|
- sensor.docker14_*
|
|
- sensor.docker17_*
|
|
- sensor.docker69_*
|
|
- sensor.alarm_panel_*_free_memory
|
|
- sensor.alarm_panel_*_internal_storage_free_space
|
|
- sensor.joanna_minutes_since_*
|
|
- sensor.node_proxmox*_containers_running
|
|
- sensor.node_proxmox*_cpu_used
|
|
- sensor.node_proxmox*_disk_used_percentage
|
|
- sensor.node_proxmox*_memory_free
|
|
- sensor.node_proxmox*_memory_used
|
|
- sensor.node_proxmox*_memory_used_percentage
|
|
- sensor.node_proxmox*_total_updates
|
|
- sensor.node_proxmox*_virtual_machines_running
|
|
- sensor.poe_*_poe_power
|
|
- sensor.proxmox1_cpu_load
|
|
- sensor.proxmox1_cpu_usage
|
|
- sensor.proxmox1_disk_free
|
|
- sensor.proxmox1_disk_usage
|
|
- sensor.proxmox1_disk_used
|
|
- sensor.proxmox1_*_disk_read
|
|
- sensor.proxmox1_*_disk_write
|
|
- sensor.proxmox1_*_rx
|
|
- sensor.proxmox1_*_tx
|
|
- sensor.proxmox1_memory_free
|
|
- sensor.proxmox1_memory_usage
|
|
- sensor.proxmox1_memory_use
|
|
- sensor.proxmox1_processor_fan_*
|
|
- sensor.proxmox1_running
|
|
- sensor.proxmox1_sleeping
|
|
- sensor.proxmox1_swap_*
|
|
- sensor.proxmox1_threads
|
|
- sensor.proxmox1_total
|
|
- sensor.proxmox2_cpu_load
|
|
- sensor.proxmox2_cpu_usage
|
|
- sensor.proxmox2_disk_free
|
|
- sensor.proxmox2_disk_usage
|
|
- sensor.proxmox2_disk_used
|
|
- sensor.proxmox2_*_disk_read
|
|
- sensor.proxmox2_*_disk_write
|
|
- sensor.proxmox2_*_rx
|
|
- sensor.proxmox2_*_tx
|
|
- sensor.proxmox2_memory_free
|
|
- sensor.proxmox2_memory_usage
|
|
- sensor.proxmox2_memory_use
|
|
- sensor.proxmox2_processor_fan_*
|
|
- sensor.proxmox2_running
|
|
- sensor.proxmox2_sleeping
|
|
- sensor.proxmox2_swap_*
|
|
- sensor.proxmox2_threads
|
|
- sensor.proxmox2_total
|
|
- sensor.qemu_*_cpu_used
|
|
- sensor.qemu_*_disk_used_percentage
|
|
- sensor.qemu_*_memory_free
|
|
- sensor.qemu_*_memory_used
|
|
- sensor.qemu_*_memory_used_percentage
|
|
- sensor.storage_proxmox*_*_disk_used_percentage
|
|
- switch.*_do_not_disturb_*
|
|
- switch.*_repeat_switch
|
|
- input_text.l10s_vacuum_*
|
|
- input_datetime.l10s_vacuum_*
|
|
- input_boolean.l10s_vacuum_*
|
|
|
|
entities:
|
|
- automation.update_garage_get_status
|
|
- automation.docker_telemetry_template_refresh
|
|
- sensor.infra_dashboard_active_issue_count
|
|
- sensor.total_wifi_clients
|
|
- sensor.hvac_condenser_lines_days_since_cleaned
|
|
- sensor.front_office_lamp_voltage
|
|
- sensor.water_softener_salt_days_since_last_add
|
|
- sensor.fordst_com_days_until_expiration
|
|
- sensor.ipmer_com_days_until_expiration
|
|
- sensor.kingcrafthomes_com_days_until_expiration
|
|
- sensor.vcloudinfo_com_days_until_expiration
|
|
# Kiosk Satellite operational state is useful now, not as history.
|
|
- sensor.kitchen_show_active_camera_view_2
|
|
- sensor.kitchen_show_cpu_usage_2
|
|
- sensor.kitchen_show_current_page_2
|
|
- sensor.kitchen_show_last_screenshot_2
|
|
- sensor.kitchen_show_next_alarm_2
|
|
- sensor.kitchen_show_ram_available_2
|
|
- sensor.kitchen_show_ram_total_2
|
|
- sensor.kitchen_show_remote_admin_2
|
|
- input_text.kitchen_kiosk_detail_view
|
|
- binary_sensor.kiosk_garage_camera_active
|
|
- timer.kitchen_kiosk_detail_display
|
|
- timer.kitchen_kiosk_radar_display
|
|
# BEGIN generated Portainer recorder/logbook noise exclusions
|
|
# Current retained Portainer telemetry is live-only; aggregate Docker history remains recorded.
|
|
- binary_sensor.nebula_sync_status_2
|
|
- binary_sensor.pihole_secondary_status_2
|
|
- binary_sensor.portainer_agent_status_2
|
|
- binary_sensor.portainer_status_2
|
|
- sensor.nebula_sync_state_2
|
|
- sensor.portainer_agent_cpu_usage_total_2
|
|
- sensor.portainer_agent_memory_usage_percentage_2
|
|
- sensor.portainer_cpu_usage_total_2
|
|
- sensor.portainer_memory_usage_percentage_2
|
|
- sensor.wordpress_wp_state_2
|
|
# END generated Portainer recorder/logbook noise exclusions
|
|
- binary_sensor.bear_stone
|
|
- binary_sensor.onenote_indexer_job_failed
|
|
- binary_sensor.onenote_indexer_index_healthy
|
|
- binary_sensor.onenote_indexer_last_job_successful
|
|
- binary_sensor.vcloudinfo_com
|
|
- binary_sensor.powerwall_charging
|
|
- sensor.onenote_indexer_last_job_status
|
|
- sensor.onenote_indexer_status_payload
|
|
- sensor.phyn_current_water_pressure
|
|
- sensor.vcloudinfo_com
|
|
- number.alarm_panel_1_screen_brightness
|
|
- script.amp_settings
|
|
- script.speech_processing
|
|
- button.l10s_vacuum_backup_map_1
|
|
- sensor.l10s_vacuum_current_room
|
|
- sensor.l10s_vacuum_relocation_status
|
|
- sensor.l10s_vacuum_status
|
|
- sensor.l10s_vacuum_task_status
|
|
- binary_sensor.vcloudinfo_com
|
|
- sensor.bear_stone
|
|
- sensor.carlo_ap
|
|
- sensor.carlo_fast
|
|
- sensor.clock_am_pm
|
|
- sensor.clock_date
|
|
- sensor.clock_day
|
|
- sensor.clock_stacey_alarm_time
|
|
- sensor.clock_time
|
|
- sensor.clock_time_2
|
|
- sensor.date
|
|
- sensor.external_ip
|
|
- sensor.ha_uptime
|
|
- sensor.large_garage_door_since
|
|
- sensor.small_garage_door_since
|
|
- sensor.sleep_score_14_day_averages
|
|
- sensor.last_alexa
|
|
- sensor.lights_on_count
|
|
- sensor.low_battery
|
|
- sensor.mariadb_admin_snapshot
|
|
- sensor.mariadb_live_snapshot
|
|
- sensor.mariadb_recorder_snapshot
|
|
- sensor.network
|
|
- sensor.network_detail
|
|
- sensor.pi_hole_ads_blocked_today
|
|
- sensor.pi_hole_ads_percentage_blocked_today
|
|
- sensor.pi_hole_dns_queries_today
|
|
- sensor.rachio_watering_time
|
|
- sensor.time
|
|
- sensor.vcloudinfo_com
|
|
- switch.bear_stone
|
|
- switch.alarm_panel_1_screensaver
|
|
|
|
event_types:
|
|
- alexa_smart_home
|