Daily flash write rate exceeded! (powercycle to reset this)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Patou
Normal user
Posts: 106
Joined: 21 May 2018, 10:33

Daily flash write rate exceeded! (powercycle to reset this)

#1 Post by Patou » 02 May 2021, 17:29

Hello
I am using the latest version : ESP_Easy_mega_20210223_normal_ESP8266_4M1M.
I got this message and, even after a power cycle, the message appears again when I want to save some modification.
Please see below the storage data ( I do not understand all the lines !!)
Storage
Flash Chip ID: Vendor: 0xD8 Device: 0x4016
Flash Chip Real Size: 4096 kB
Flash IDE Size: 4096 kB
Flash IDE Speed: 40 MHz
Flash IDE Mode: DOUT
Flash Writes: 101 daily / 135 boot
Sketch Size: 914 kB (2156 kB free)
Max. OTA Sketch Size: 1019 kB (1044464 bytes)
OTA possible: true
OTA 2-step Needed: false
SPIFFS Size: 934 kB (839 kB free)
Page size: 256
Block size: 8192
Number of blocks: 116
Maximum open files: 5
Maximum path length: 32

Is there any change in this latest version regarding this topic ?
Have a good day
Patou

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Daily flash write rate exceeded! (powercycle to reset this)

#2 Post by TD-er » 02 May 2021, 17:44

See:
https://espeasy.readthedocs.io/en/lates ... l-commands
The command ResetFlashWriteCounter
will reset the flash write counter
You can also power cycle the ESP (remove power and power again) to clear this counter.

What have you done to cause > 100 writes today?

Patou
Normal user
Posts: 106
Joined: 21 May 2018, 10:33

Re: Daily flash write rate exceeded! (powercycle to reset this)

#3 Post by Patou » 02 May 2021, 18:12

Hello
Thanks for quick reaction.
The command ResetFlashWriteCounter works but the power cycle did not work.

For info: I had the load of the cpu quiet high (a long time up to 100%) and rule processing quiet long.

Description #calls call/sec duty (%) min (ms) Avg (ms) max (ms)
rulesProcessing() 30174 2.35 80.56 262.806 342.463 2037.693


Because I read 8 analog inputs quiet often ( every 2 sec) I had to reduce to every 4 sec. So I tried a lot of combinations and change de rules very often !!
By the way, the plugin for the analog input ADS 1115 cannot read the 4 values in 1 task so I need 8 tasks ! This is also time consuming
Have a good end of after-noon
Patou

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Daily flash write rate exceeded! (powercycle to reset this)

#4 Post by TD-er » 02 May 2021, 20:31

Ah lots of testing, yep that does explain the number of writes.

And a power cycle, not not just a reboot, but actually removing the power to the ESP, should clear the counter.

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests