this post was submitted on 26 Jan 2026
2 points (100.0% liked)

Home Assistant

258 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 2 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/denzoka on 2026-01-26 14:15:08+00:00.


Hi everyone,

We have all been there. The dashboard feels sluggish, backups take forever, or a restart hangs for five minutes. You check the processor load, and it looks fine. So what is the problem?

Usually, it is "Maintenance Debt." It is that one sensor spamming your Recorder database until it hits 15GB. It is an integration throwing 50 errors a second into your log file. It is those 50 unavailable entities from devices you unplugged months ago.

I wanted a single "North Star" metric to tell me if my system is actually healthy or just pretending to be. So I built HAGHS (Home Assistant Global Health Score).

https://preview.redd.it/xh4mlwp8cpfg1.jpg?width=650&format=pjpg&auto=webp&s=9252aaa935daeded89543979313011571886f608

It is a standardized Template Sensor (no custom integration required) that gives your instance a score from 0 to 100 based on two pillars:

  1. Hardware (40%): CPU stress tiers, RAM usage (accounting for Supervisor overhead), and Disk pressure.
  2. Application Hygiene (60%): This is the important part. It tracks zombie entities, failed integrations, pending updates, and core version lag.

What is new in v2.0.0?

I just released v2.0, and it is a massive shift from passive monitoring to active hygiene.

  • Database Monitoring: HAGHS now natively monitors your home-assistant_v2.db size. If it grows over 1GB, you get a penalty. If it hits 2.5GB, you get a critical deduction. This immediately tells you if your Recorder settings need tuning.
  • Log File Monitoring: It now watches your log file size. A huge log file usually means silent error loops that destroy SD cards and slow down I/O.
  • Deep Label Support: No more complex regex configuration. If you have a tablet that sleeps or a battery device that goes unavailable, just tag the Device with a "haghs_ignore" label in the UI. HAGHS automatically whitelists all entities belonging to that device.
  • Core Age Penalty: If your Core version lags behind by more than 2 months, the score drops significantly.

Why use this?

It gamifies system maintenance. My goal was to get a perfect 100, which forced me to finally clean up my Recorder excludes and fix those broken integrations I was ignoring. My system is noticeably snappier now.

How to get it

It is just a YAML package you drop into your templates.

You can find the code and the new v2.0 instructions here: https://github.com/D-N91/home-assistant-global-health-score

Let me know what your score is. If you get a 100 on the first try, I honestly do not believe you!

Cheers.


Roadmap / HACS Support I hear you — copying YAML code for every version update is very 2020. I am currently looking into packaging HAGHS for HACS (Home Assistant Community Store). The goal is to let you update to v2.1 or v3.0 with a single click in the future. I will keep this thread updated once that is ready!


AI Disclosure Just to be transparent: While the architectural concept and the logic behind HAGHS are entirely my own, I utilized AI to assist with optimizing the Jinja2 code structure and formatting the documentation. It served as a very capable technical assistant for this project.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here