Page 1 of 1

Warning: Other potential dangerous situations...

Posted: 11 Sep 2016, 11:49
by Martinus
In addition to the warning about the OLED framed plugin, there could be other situations where your precious flash chip is also at risk. Although i would not know about any normal situation where this could occur. But if you would happen to use the rules engine like this:

Code: Select all

On Clock#Time do // every minute...
  save
endon
it will also likely kill your ESP flash in a few months time...

(Yes i know, the example does not make much sense, but it is possible to do this!)
Besides the bad example, regular users are likely unaware about the internals of this project and would not know when stuff is written to flash memory.

So it might be wise to run a check on these log entries (set you log level to '2'):

Code: Select all

FLASH: Settings saved
If they appear on a regular base, or each time you push a button or send a command from your Home Automation software, you have to start getting worried a bit...

In case of doubt, please report here so I can have a look at your specific case.

You could also start using R131 from github and check the webgui:
Flashwrites.png
Flashwrites.png (14.33 KiB) Viewed 14639 times

Re: Warning: Other potential dangerous situations...

Posted: 30 Nov 2017, 13:22
by danmero
Martinus wrote: 11 Sep 2016, 11:49 If they appear on a regular base, or each time you push a button or send a command from your Home Automation software, you have to start getting worried a bit...
Sending a command from external should not write to flash , AFAIK.

Regards,

Re: Warning: Other potential dangerous situations...

Posted: 20 Dec 2019, 19:42
by ThomasB
Three years later: I suggest this old discussion be removed from the pinned topics.

Re: Warning: Other potential dangerous situations...

Posted: 20 Dec 2019, 19:50
by grovkillen
ThomasB wrote: 20 Dec 2019, 19:42 Three years later: I suggest this old discussion be removed from the pinned topics.
Thanks! Done