- Mon Oct 17, 2016 7:23 am
#56640
Mmiscool, any chance of a list of other SETTINGS variables which can be read() and especially written to using the WRITE() function?
I'll tell you for why... I've had huge frustrations with 'in-script' wifi settings actually changing the SETTINGS page variables such that I lose the wifi AP and am then unable to connect ever again to correct things.
The 'bad' settings can persist through V3 reflash, and the executable V3 Format still does not work, so inevitably I end up needing to do a V2 executable Format, a V2 Flash, then finally a V3 Flash.
And even then the 'bad' settings sometimes persist unless I've remembered to choose the 1Mb reflash option for my 4Mb ESP-12E, so I need to go through it all again using the 1Mb option, then after getting an AP back, redoing it all again with the 4Mb option. One learns to bite the bullet and do everything the long hard way, but just the once.
It's a time-consuming pain, but perhaps it might be avoidable if the script could automatically set a flag at bootup, which could be manually cleared after connection (using a browser page button), else it could be flagged up next time during a non-connected autorun boot to change the SETTINGS page wifi variables back to normal again ready for the next reboot. I hope that made some sense.