u/denzoka

Does your home assistant feel snappy?
▲ 70 r/homeautomation+1 crossposts

Does your home assistant feel snappy?

I have spend hours building the perfect dashboard ( did not achieve exactly what i wanted but it was good enough for me :p ), and at the end, the snappiness wasnt there.

So i went down a rabbit hole on how to speed up HA to get the snappiness that i wanted. Turns out it usually comes down to "hidden" health factors like recorder fragmentation, huge DB sizes or entity bloat ( application hygiene ). A high CPU usage doesnt seem to slow it down that much.

I have been codifying this into a project called HAGHS ( Home Assistant Global Health Score ). Its a scoring system that weights hardware metrics against application hygiene. It helped me identify some "zombie entities" that needed to be adressed and to shrink down my DB size. I can feel the difference now, automations trigger faster which i did like the most :)

Im curious of what you guys think of this? Feel free to have a look and leave any feedback for me.

Cheers, D.

https://github.com/D-N91/home-assistant-global-health-score

u/denzoka — 3 days ago
▲ 1 r/homeassistantporn+1 crossposts

Hey guys,

some of you may have heard of HAGHS or are already using it. For those not familiar: it is a fully local Home Assistant integration that gives your instance an objective health score from 0 to 100. It evaluates two areas, Hardware Performance and Application Hygiene.
No cloud. No external API calls. Everything runs locally on your own hardware.

https://preview.redd.it/fgpascd1ppzg1.jpg?width=521&format=pjpg&auto=webp&s=6e8d5f35aa55bd86142ce44ace6ded002176c339

That's HAGHS in a nutshell, you can dive in and find out more in the Github Repo:

https://github.com/D-N91/home-assistant-global-health-score

So the German Home Assistant YouTuber Simon42 just published a video about HAGHS. It is both a hands-on review and an interview with me as the developer behind it. The title translates to "I thought I had everything under control... I was wrong." He ran HAGHS on his own actively maintained setup and the score was a real eye-opener.

The reactions in the comments are genuinely positive, and I'm grateful for every bit of feedback that helps make HAGHS better. If you speak German or just want to see what the interview covers, here is the video:

https://www.youtube.com/watch?v=btd66ndsUuA

HAGHS is available through HACS. If you install it and your score is lower than you expected, that is kind of the point.

Curious what scores people here are sitting at.

Have a nice day, Cheers, D.

____

Transparency / AI Disclosure: While the architectural concept and logic are my own, I utilized AI to assist with code optimization and documentation formatting.

reddit.com
u/denzoka — 7 days ago
▲ 0 r/homeautomation+1 crossposts

So i've built an integration that gives your HA a 0-100 health score, mine came back 72/100, yikes.

After i cleaned up pretty much all the things the built-in advisor showed me (took me an afternoon), i finally reached 100/100 :)

https://preview.redd.it/hp0y5vgr1cyg1.jpg?width=652&format=pjpg&auto=webp&s=64f3fbc568668503f1c416f471a1a690560dda68

I got 10 bonus points for setting up recorder purge, this offsets the remaining 3 zombie entities (−6 pts).

There is no cloud. No external APIs. It's fully local.

In HACS: search HAGHS

GitHub: https://github.com/D-N91/home-assistant-global-health-score

What do you guys think of this? Drop your score below, i'm curious how others compare :)

Cheers, D


AI Disclosure: While the architectural concept and logic are my own, I utilized AI to assist with code optimization and documentation formatting.

reddit.com
u/denzoka — 14 days ago