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 13631 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,

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Warning: Other potential dangerous situations...

#3 Post by ThomasB » 20 Dec 2019, 19:42

Three years later: I suggest this old discussion be removed from the pinned topics.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Warning: Other potential dangerous situations...

#4 Post by grovkillen » 20 Dec 2019, 19:50

ThomasB wrote: 20 Dec 2019, 19:42 Three years later: I suggest this old discussion be removed from the pinned topics.
Thanks! Done
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests