# \[HowTo\]\[Modding\] Investigating Homey’s eMMC wear estimation

**URL:** <https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149>\
**Category:** Questions & Help\
**Tags:** homey-pro-2023, modding, howto\
**Created:** [December 30, 2023, 9:26am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149 "2023-12-30T09:26:58Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 8, 2024, 11:51am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/21 "2024-02-08T11:51:12Z")

</div>

It was fixed 😅

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8ceed7cd0ee449bea75f54442dcf9500abc4ac13.png)

New stats:

```auto
 11:49:47 up 57 min, 1 user, load average: 0.24, 0.20, 0.13
mmcblk0 425.528 M

```

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [February 8, 2024, 11:58am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/22 "2024-02-08T11:58:34Z")

</div>

…yep, still writes are higher than expected but in my case it has been also reduced significantly. Would be still great to see even more improvements

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [February 8, 2024, 1:28pm UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/23 "2024-02-08T13:28:30Z")

</div>

The question is how they did it.

---

<div class="post-metadata">

**Author:** ![flaviuvlaicu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flaviuvlaicu/32/97113_2.png) [@flaviuvlaicu](https://community.homey.app/u/flaviuvlaicu)\
**Post date:** [February 12, 2024, 9:34am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/24 "2024-02-12T09:34:49Z")

</div>

Any downsides to this experimental update? I am on stable currently and trying to figure out if I should stay on stable version or switch to experimental.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 12, 2024, 10:06am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/25 "2024-02-12T10:06:31Z")

</div>

Why would you want to switch to experimental?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [February 12, 2024, 10:08am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/26 "2024-02-12T10:08:38Z")

</div>

It depends. It’s experimental, but - eg. for me it works fine. But there are always risks.  
In case you have bigger smart house, eg. more then 40 apps, I would recommend switching it asap with prior backup naturally.

---

<div class="post-metadata">

**Author:** ![flaviuvlaicu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flaviuvlaicu/32/97113_2.png) [@flaviuvlaicu](https://community.homey.app/u/flaviuvlaicu)\
**Post date:** [February 12, 2024, 11:44am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/27 "2024-02-12T11:44:47Z")

</div>

I don’t but also I want to minimize the writes on the nand. Don’t want ending up with a brick if the nand goes bad 🙂 If they will push at least this issue to the next stable soon then maybe it’s worth waiting

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 16, 2024, 3:27pm UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/28 "2024-02-16T15:27:54Z")

</div>

> [@robertklep](#):
>
> Where can we place bets on when the first HP2023’s will start failing with flash errors?
> 
> My prediction: somewhere around April.

[I didn’t win](https://community.homey.app/t/red-ring-after-update-february-24/103525/8).

---

<div class="post-metadata">

**Author:** ![flaviuvlaicu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flaviuvlaicu/32/97113_2.png) [@flaviuvlaicu](https://community.homey.app/u/flaviuvlaicu)\
**Post date:** [February 16, 2024, 3:46pm UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/29 "2024-02-16T15:46:46Z")

</div>

kodos for the team for pushing it so fast

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 17, 2024, 7:03am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/30 "2024-02-17T07:03:16Z")

</div>

Only took about a year and investigation from community members 😉

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [February 17, 2024, 7:31am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/31 "2024-02-17T07:31:19Z")

</div>

Mostly a @Sharkys

---

<div class="post-metadata">

**Author:** ![To\_Lou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/to_lou/32/79159_2.png) [@To\_Lou](https://community.homey.app/u/To_Lou)\
**Post date:** [February 17, 2024, 12:09pm UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/32 "2024-02-17T12:09:16Z")

</div>

Question: Do Free Storage move up anddown when having lots of writes?

Because my Free Storage insight isn’t moving much at all, so is that a sign of low amount of writes?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 17, 2024, 12:11pm UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/33 "2024-02-17T12:11:02Z")

</div>

> [@To\_Lou](#):
>
> Do Free Storage move up anddown when having lots of writes?

No, most writes are done to update existing data.

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [February 18, 2024, 3:43am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/34 "2024-02-18T03:43:33Z")

</div>

Interesting, with the latest stable release; the cpu spikes every 1-2 hours are also gone. Maybe that there is a connection between de reduction of data that is written every hour and the strange cpu load in the previous firmware versions. Anyway, the lifetime of the eMMC is now about 8x115 days (it it is a new eMMC of course)? Hopefully with a CM4108032 it is even longer due to load balancing. Already replaced it twice 🙈

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [February 18, 2024, 6:28am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/35 "2024-02-18T06:28:25Z")

</div>

Ranney, I wonder, how bich is your smart house, eg. devices, flows etc? I consider mime as the bigger one while I’m on 30% remaining lifespan (estimated)

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [February 18, 2024, 11:09am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/36 "2024-02-18T11:09:57Z")

</div>

Haha, not very big I think

Let’s see;  
Around 325 devices at the moment  
Spread over zigbee, z-wave, LAN, Cloud and BLE (trying to get matter over thread working without succes)  
Most intense app: Philips hue with 4 bridges

Around 350 flows. But some are quite big. (My biggest advanced flows do not fit in one but are a combination of multiple flows to make them ‘working’ 🙈)

Around 85 apps

O, and ~7500 log entries every day (Syslog)

So, not really extreme but more a standard Domotica user that is building for some years?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [February 18, 2024, 10:55pm UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/37 "2024-02-18T22:55:38Z")

</div>

> [@Ranney](#):
>
> not really extreme

But from devices point view and apps point of view, bigger then me - 285 devices / 66 apps, also I guess experiment “Power User” enabled. As, if the life expectation interpretation from mmc-util is right, I’m on ~75% passed, no wonder that in your case it already died ;-(

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [February 19, 2024, 4:23am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/38 "2024-02-19T04:23:56Z")

</div>

Hmm. Ok. Wel, maybe that I’m using my homey more intensive than I see it myself. I really like the product and what it can bring (supporting lots of different brands, powerful for me and ‘easy to use’ for the rest of the family.

I’m on my 3rd CM4 module. I must say, it is not a problem to have a hobby that cost some money. It is also not a big problem to need some spare devices. But now I have 2 CM4 modules and a complete homey pro (incl Ethernet module) on spare. And the issue, writing too much info. Hopefully they can reduce the amount of written data more and… hopefully there are not a big group of users in the near future with failing CM4/Homey.

Just checked some other stats. Homey is running here around 20 flows every second. Also big and compex flows. But the cpu load is low. So in fact it is not a big issue (as far as I can see). Possibly that running flows also mean that data is written to the eMMC?

Would be great if the eMMC wear level is also visible in the developer screen. Maybe that they are collecting this info on the background now?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 19, 2024, 5:37am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/39 "2024-02-19T05:37:04Z")

</div>

> [@Ranney](#):
>
> Would be great if the eMMC wear level is also visible in the developer screen

Only if you want your customer service to be flooded by questions about this 😂

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [February 19, 2024, 6:03am UTC](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149/40 "2024-02-19T06:03:46Z")

</div>

> [@Ranney](#):
>
> Hopefully they can reduce the amount of written data more

I has been already reduced quite significantly…

> [@Ranney](#):
>
> 20 flows every secon

Well, that a little too much, but Homey can handle that - I would never run so many flows so often :-))

> [@Ranney](#):
>
> running flows also mean that data is written to the eMMC?

No really - the issue was primarily the amount of RRD data (insights/graph), for Power users and saving them to storage immediately without any Caching. More apps more writes, almost growing exponentially … There are still some optimisations they can do, but that will not bring such a significant saving anymore.

> [@Ranney](#):
>
> Maybe that they are collecting this info on the background now?

Yes, they do

[Previous page](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149.md?page=1)

[Next page](https://community.homey.app/t/howto-modding-investigating-homey-s-emmc-wear-estimation/101149.md?page=3)
