Native UI heads up if disc space runs low or some componets eat unusually big parts of it

Hi Folks,

due to a recent hick up and my own stupidity, I lost my HA server. All of it. My VM (based on the stock VirtualBox .vdi file with 32GB) did almost run out of space, unfortunatly, my host did just a bunch of MBs before the VM… I happend to have the VirtualBox version where the hdresize command moves Blocks and thereby screws up the partition table. As bad luck would have it.

How ever, what I discovered the hard way was, that HA does not care about the available discspace and starts an update with backup regaldless of space, in my case I made it past 98’% full, 31.something of 32gb when I started the update with an other backup. And I used stock DB and already now with the new system up just a bunch of days, and just 28 Tasmotas in it, Im past a 1 GB database.

So what I would like the UI to do is this:

  • before update, check available disc space, and make sure its more than enough, if not, do not continue with update/upgrade and give the operator a warning.
  • if DB is more than say 25% of total disc space give the operator a heads up
  • if backups are more than 25% of total disc space give the operator a heads up
  • if disc is more than 80% full, give heads up to operator.

The numbers should be adjustable to accommodate individual needs and system layouts

And the heads-up should pop up in the heads-up section of the UI.

Nice would be if there would be a function to query implementations like the OMV plug in to have this native HA function pop a heads-up on information from such plugins too.

Yes I know there is a lovelace sensor about disc space, but my wife don’t want to see the technical stuff in the font end, she entirely does not care about the server, it just needs to work, or I get kicked… we all know the very famous WAF.

So go give me a vote up pls, if you think this would be a nice function. :slight_smile:

This enough to prevent issues for me:

- id: 7511bebc-6488-4526-ae81-db5c1de58b80
  alias: 'Disk Use Alert'
  trigger:
    platform: numeric_state
    entity_id: sensor.disk_use_percent
    above: 75
    for:
      minutes: 5
  action:
    service: notify.telegram_system
    data:
      title: '⚠️ *High Disk use*'
      message: "Warning: 75% of system disk used."

your basically right, but new folks dont know that, wont monitor the disc, from experience would never guess the stock db will grow like cancer, and above all, HA claims to be the most user freindly system, and this feature is clearly missing.

Nobody would expect a car to come with no fuel gauge. How ever, HA does come with no basic system monitoring that trips before some bad stuff happens to the user.

What are you talking about? HA comes with extensive system monitoring.

Im not talking about a sensor that would need to be placed into the lovelace dashboard and setup by an inexperienced user to monitor and warn about stuff.

I am talking about a NATIVE headsup in the notification section like this:

image

Or like this:

image

I know all you experienced users, you cant miss such basic stuff, you would never lose your system due to such a basic thing, right, you where all born knowing everything about HA.

But hey, not all of us are that way.

You know, there is a saying: old folks should remember how it was being young, because for young folks its impossibel to remember being old. But I do realize, being old myself, that old folks want to forget all that rather embarrassing stuff from being young…

so go back to your beginning days and think about what you where struggeling with, and then think about what new HA users would may help along.

I think such a notification would be a nice thing to have, and since its already there as a disc space sensor, well, implementing this notification or question before update sounds like a simple thing.

I take your point, but it is simply wrong to say ha has no basic system monitoring.

I concur, and it was never my intention to give the impression that there was no monitoring ability in HA. There is quite substantial monitoring ability available in HA.

Hence my title abut “native UI heads up…”

Because; as you say, there is no native integration into the UI, if you want it monitored, you need to build something and have it in lovelace or as notification to a companion app or something along those lines. Something a new user would never dream of doing while struggling with his first 25 sensors and why they wont do what the wife wants. probably setting stuff like tasmotas to report every 10 seconds via MQTT and not realizing, just like my self, that 30 tasmotas, sending 25 values every 10 seconds adds up to a pretty big text-file-style-db real fast. Add to this the backups on every update, and a 32gb disc is full in a bunch of weeks, growing faster than cancer.

I dont know of a way to make this information popup in the notification section of the UI, so I suggested it here as an improvement the the user experience.