Warning: Other potential dangerous situations...

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Martinus

Warning: Other potential dangerous situations...

#1 Post by Martinus » 11 Sep 2016, 11:49

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 8140 times

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: Warning: Other potential dangerous situations...

#2 Post by danmero » 30 Nov 2017, 13:22

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,

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests