Home Assistant Green - eMMC Lifetime Used

I recently received my HA Green and just plugged it in. Under Settings → System → Storage, I noticed that the “eMMC Lifetime Used” is already at 10%. Is this normal? Could there be something wrong with the eMMC module?

1 Like

It might be incrementing fast in steps rounded to 10th :thinking: - and eMMC’s are not to mistaken for (good) SSD’s. They often not (much) better than sd cards and don’t have any cache (e.g. SLC) to successful mitigate write amplification. :man_shrugging:

Long story short: I used to run HaOS on a little intel stick PC on the internal eMMC which is now dead :put_litter_in_its_place:

It looks like it was a very poor choice for the home assistant green to don’t have a replaceable or even upgradable(?) storage. Any one knows if the green can be booted from USB - the sd card is already limited to recovery only… :scream:

1 Like

For what it’s worth, I just setup my HA Yellow on a CM4 w/ eMMC and also see 10% lifetime used (after less than a day). Hopefully it’s rounding up to the nearest increment as orange-assistant suggested :sweat_smile:

2 Likes

Same here on a new HA Yellow… I’m really hoping it’s a round up thing…

Mine was on 10% for a long time, but it now seems like the 2024.03 update destroyed the memory cause it’s no longer booting, and just saying that the drive has been corrupted on boot :cry:

Also 10% on my new HA Green (Under Settings → System → Storage).

To double check, I installed the Terminal & SSH addon-on ( Settings > Add-ons > Add-on Store).

Running the command: cat /sys/class/mmc_host/mmc0/mmc0:0001/life_time
I get: 0x01 0x01

  • The first value is for SLC (cache) and the second for MLC.

  • The JEDEC eMMC Standard JESD84-B51 gives a reference table to interpret (increments of 10%):

Value Description
0x00 Not defined
0x01 0% - 10% device lifetime used
0x02 10% - 20% device lifetime used
0x03 20% - 30% device lifetime used
0x04 30% - 40% device lifetime used
0x05 40% - 50% device lifetime used
0x06 50% - 60% device lifetime used
0x07 60% - 70% device lifetime used
0x08 70% - 80% device lifetime used
0x09 80% - 90% device lifetime used
0x0A 90% - 100% device lifetime used
0x0B Exceeded its maximum estimated device lifetime
Others Reserved

So it seems that “10%” just means anywhere between 0% and 10% of eMMC lifetime is used, and is normal for a new device.

4 Likes

Mine’s already showing 60%, despite trying to use network storage wherever possible. It’s not even a year old. Disappointing.

I created a command line sensor so I can get notified on change:

in configuration.yaml:

command_line: !include command_line.yaml

in command_line.yaml:

- sensor:
    # see https://community.home-assistant.io/t/home-assistant-green-emmc-lifetime-used/621016/6
    name: Used eMMC life-time
    unique_id: used_emmc_life_time
    command: 'echo $(($(cat /sys/class/mmc_host/mmc0/mmc0:0001/life_time | cut -f1 -d " ")*10))'
    unit_of_measurement: '%'
    scan_interval: 3600
    state_class: measurement
3 Likes

I bought a USB SSD (this with 128GB) for around 20€. It fits directly in the USB port of the Home Assistant Green (I removed the little covers from it, it is made of metal which seems beneficial for heat transfer). Then in the storage menu of the Green you can move the data directory.

Hope this one has a long lifetime then…