alfkoehn / CO2_monitor

An open-source CO2 monitor helping to ensure a healthy environment in a class room and slowing down the spread of the corona SARS-CoV-2 virus.
https://github.com/alfkoehn/CO2_monitor
43 stars 8 forks source link

Protect flash from wear out by Wifi.begin() #8

Open benjaminSchilling33 opened 3 years ago

benjaminSchilling33 commented 3 years ago

Hi @alfkoehn,

I just saw your CCCS talk from rc3 and noticed that you are using an ESP8266.

A common problem that may occur when using Wifi.begin is that it can wear out the flash if called every once in a while (e.g. when the device is reset regularly).

Therefore it is useful to disable the persistent storage of the Wifi credentials.

For more details see: https://github.com/esp8266/Arduino/issues/1054